patch-2.3.16 linux/arch/ppc/chrpboot/Makefile
Next file: linux/arch/ppc/chrpboot/main.c
Previous file: linux/arch/ppc/boot/misc.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Tue Aug 31 11:36:43 1999
- Orig file:
v2.3.15/linux/arch/ppc/chrpboot/Makefile
- Orig date:
Mon Jun 28 13:40:39 1999
diff -u --recursive --new-file v2.3.15/linux/arch/ppc/chrpboot/Makefile linux/arch/ppc/chrpboot/Makefile
@@ -57,7 +57,10 @@
mcopy zImage a:zImage
piggyback: piggyback.c
- $(HOSTCC) -DKERNELBASE=$(KERNELBASE) -o piggyback piggyback.c
+ $(HOSTCC) $(HOSTCFLAGS) -DKERNELBASE=$(KERNELBASE) -o piggyback piggyback.c
+
+mknote: mknote.c
+ $(HOSTCC) $(HOSTCFLAGS) -o mknote mknote.c
image.o: piggyback ../coffboot/vmlinux.gz
./piggyback image < ../coffboot/vmlinux.gz | $(AS) -o image.o
@@ -69,9 +72,6 @@
$(LD) $(LD_ARGS) -o $@ $(OBJS) no_initrd.o $(LIBS)
./mknote > note
$(OBJCOPY) $@ $@ --add-section=.note=note -R .comment
-
-mknote: mknote.c
- $(HOSTCC) $(HOSTCFLAGS) -o $@ mknote.c
zImage.initrd: $(OBJS) initrd.o
$(LD) $(LD_ARGS) -o $@ $(OBJS) initrd.o $(LIBS)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)