summaryrefslogtreecommitdiff
path: root/linux/Makefile.linux
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2000-11-08 00:07:17 +0000
committerDavid Dawes <dawes@xfree86.org>2000-11-08 00:07:17 +0000
commit94071289a4c61a1083a3d6b3546b06cafeaeac44 (patch)
treeac34ab78e6e4b842fa14d61d944f26ab1376aa2d /linux/Makefile.linux
parent5745cb7fa70cf312d371aac44de3beae2a8d6e47 (diff)
Diffstat (limited to 'linux/Makefile.linux')
-rw-r--r--linux/Makefile.linux6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/Makefile.linux b/linux/Makefile.linux
index b76cbeaf..adf19005 100644
--- a/linux/Makefile.linux
+++ b/linux/Makefile.linux
@@ -113,15 +113,15 @@ all:; @echo Error: Could not locate kernel tree in $A $B $C
else
SMP := $(shell gcc -E -nostdinc -I$(TREE) picker.c 2>/dev/null \
| grep -s 'SMP = ' | cut -d' ' -f3)
-MODULES := $(shell gcc -E -nostdinc -I $(TREE) picker.c 2>/dev/null \
+MODULES := $(shell gcc -E -nostdinc -I$(TREE) picker.c 2>/dev/null \
| grep -s 'MODULES = ' | cut -d' ' -f3)
-MODVERSIONS := $(shell gcc -E -nostdinc -I $(TREE) picker.c 2>/dev/null \
+MODVERSIONS := $(shell gcc -E -nostdinc -I$(TREE) picker.c 2>/dev/null \
| grep -s 'MODVERSIONS = ' | cut -d' ' -f3)
AGP := $(shell gcc -E -nostdinc -I$(TREE) picker.c 2>/dev/null \
| grep -s 'AGP = ' | cut -d' ' -f3)
SIS := $(shell gcc -E -nostdinc -I$(TREE) picker.c 2>/dev/null \
| grep -s 'SIS = ' | cut -d' ' -f3)
-PARAMS := $(shell if fgrep kill_fasync $(TREE)/linux/fs.h \
+PARAMS := $(shell if fgrep kill_fasync $(TREE)/linux/fs.h 2>/dev/null \
| egrep -q '(band|int, int)'; then echo 3; else echo 2; fi)
MACHINE := $(shell echo `uname -m`)
ifeq ($(AGP),0)