patch-1.3.60 linux/arch/i386/boot/Makefile

Next file: linux/arch/i386/boot/compressed/Makefile
Previous file: linux/arch/i386/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.59/linux/arch/i386/boot/Makefile linux/arch/i386/boot/Makefile
@@ -8,15 +8,12 @@
 # Copyright (C) 1994 by Linus Torvalds
 #
 
-AS86    =as86 -0 -a
-LD86    =ld86 -0
-
 ifdef CONFIG_KERNEL_ELF
-CFLAGS := $(CFLAGS) -D__BFD__
+HOSTCFLAGS := $(HOSTCFLAGS) -D__BFD__
 endif
 
 ifdef SMP
-CFLAGS := $(CFLAGS) -D__SMP__
+HOSTCFLAGS := $(HOSTCFLAGS) -D__SMP__
 endif
 
 zImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build
@@ -45,7 +42,7 @@
 	sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
 
 tools/build: tools/build.c
-	$(HOSTCC) $(CFLAGS) -o $@ $< -I$(TOPDIR)/include
+	$(HOSTCC) $(HOSTCFLAGS) -o $@ $< -I$(TOPDIR)/include
 
 setup: setup.o
 	$(LD86) -s -o $@ $<

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this