patch-2.1.129 linux/arch/ppc/coffboot/Makefile

Next file: linux/arch/ppc/common_defconfig
Previous file: linux/arch/ppc/chrpboot/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.128/linux/arch/ppc/coffboot/Makefile linux/arch/ppc/coffboot/Makefile
@@ -15,7 +15,6 @@
 CROSS_COMPILE  =ppc-linux-elf-
 endif
 
-
 HOSTCC	= gcc
 HOSTCFLAGS = -O -I$(TOPDIR)/include
 
@@ -31,6 +30,11 @@
 OBJS = crt0.o start.o main.o misc.o string.o zlib.o
 LIBS = $(TOPDIR)/lib/lib.a
 
+ifeq ($(CONFIG_ALL_PPC),y)
+# yes, we want to build pmac stuff
+CONFIG_PMAC = y
+endif
+
 ifeq ($(CONFIG_PMAC),y)
 hack-coff: hack-coff.c
 	$(HOSTCC) $(HOSTCFLAGS) -o hack-coff hack-coff.c
@@ -79,8 +83,6 @@
 vmlinux.coff.initrd: vmlinux.gz
 
 floppy: vmlinux.gz
-
-
 
 endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov