--- eagle-usb-1.9.8.orig/driver/Makefile-2.4	Tue May 25 00:11:58 2004
+++ eagle-usb-1.9.8/driver/Makefile-2.4	Sat Jun 19 18:56:24 2004
@@ -29,18 +29,16 @@
 #---------------------------------------------------------------------------
 # Variables used in the makefile:
 #---------------------------------------------------------------------------
-
+ifndef MACHINE
+MACHINE = $(shell uname -m)
+endif
+VERSION=$(shell cat ../VERSION)
 
 # 
 # Directories:
 #
-
 FIRMWARE = ./firmware
 EAGLEUSER = ./user
-MACHINE=$(shell uname -m)
-VERSION=$(shell cat ../VERSION)
-
-
 INSTALLDIR=$(MODULESDIR)/misc
 
 # 
@@ -52,8 +50,12 @@
 	  -fno-strict-aliasing -pipe 
 
 ifneq ($(MACHINE),ppc)
+ifeq ($(MACHINE),alpha)
+CFLAGS += -ffixed-8 -mno-fp-regs
+else
 CFLAGS += -mpreferred-stack-boundary=2
 endif
+endif
 
 # 
 # Enable BULK USB transfers
--- eagle-usb-1.9.8.orig/driver/Makefile-2.6	Tue May 25 00:14:20 2004
+++ eagle-usb-1.9.8/driver/Makefile-2.6	Sat Jun 19 18:29:40 2004
@@ -4,7 +4,11 @@
 MODULE=eagle-usb.ko
 FIRMWARE = ./firmware
 EAGLEUSER = ./user
-MACHINE=$(shell uname -m)
+ifndef MACHINE
+MACHINE = $(shell uname -m)
+endif
+
+
 INSTALLDIR=$(MODULESDIR)/misc
 # kbuild allow us to give it an output dir for generated files
 # using the O= variable. Thus to use this stuff, we just have to
--- eagle-usb-1.9.8.orig/driver/Makefile-module_disabled	Wed Feb 11 20:02:56 2004
+++ eagle-usb-1.9.8/driver/Makefile-module_disabled	Sat Jun 19 18:25:14 2004
@@ -1,11 +1,8 @@
 # $Id: Makefile-module_disabled,v 1.1 2004/02/11 19:02:55 Tux Exp $
 
 PWD := $(shell pwd)
-MODULE=eagle-usb.ko
 FIRMWARE = ./firmware
 EAGLEUSER = ./user
-MACHINE=$(shell uname -m)
-INSTALLDIR=$(MODULESDIR)/misc
 
 all: dsp eagleuser
 
