patch-2.4.22 linux-2.4.22/arch/ppc/boot/simple/Makefile

Next file: linux-2.4.22/arch/ppc/boot/simple/embed_config.c
Previous file: linux-2.4.22/arch/ppc/boot/prep/of1275.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/ppc/boot/simple/Makefile linux-2.4.22/arch/ppc/boot/simple/Makefile
@@ -33,7 +33,9 @@
 ZIMAGEINITRD			:= zImage.initrd-SMON
 TFTPIMAGE			:= /tftpboot/zImage.gemini
 endif
-ifeq ($(CONFIG_LOPEC),y)
+# kbuild-2.4 'feature', only one of these will ever by 'y' at a time.
+# The rest will be unset.
+ifeq ($(CONFIG_LOPEC)$(CONFIG_PPLUS),y)
 ZIMAGE				:= zImage-PPLUS
 ZIMAGEINITRD			:= zImage.initrd-PPLUS
 EXTRA				:= ../common/mpc10x_memory.o
@@ -41,7 +43,9 @@
 ZNETBOOT			:= zImage.pplus
 ZNETBOOTRD			:= zImage.initrd.pplus
 endif
-
+ifeq ($(CONFIG_PPLUS),y)
+EXTRA				:= legacy.o
+endif
 ifeq ($(CONFIG_PAL4),y)
 ZIMAGE				:= zImage-PAL4
 ZIMAGEINITRD			:= zImage.initrd-PAL4
@@ -74,7 +78,7 @@
 				$(MISC) ../common/misc-common.o \
 				../common/string.o ../common/util.o \
 				../common/serial_stub.o
-obj-$(CONFIG_4xx)		+= embed_config.o
+obj-$(CONFIG_40x)		+= embed_config.o
 obj-$(CONFIG_8xx)		+= embed_config.o
 obj-$(CONFIG_8260)		+= embed_config.o
 obj-$(CONFIG_BSEIP)		+= iic.o

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)