patch-2.1.115 linux/arch/ppc/chrpboot/Makefile

Next file: linux/arch/ppc/chrpboot/mknote.c
Previous file: linux/arch/ppc/chrp_defconfig
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.114/linux/arch/ppc/chrpboot/Makefile linux/arch/ppc/chrpboot/Makefile
@@ -49,13 +49,9 @@
 initrd.o: ramdisk.image.gz piggyback
 	./piggyback initrd < ramdisk.image.gz | $(AS) -o initrd.o
 
-note.data : mknote
-	rm -f note.data
-	./mknote > note.data
-
-zImage: $(OBJS) no_initrd.o note.data
+zImage: $(OBJS) no_initrd.o
 	$(LD) $(LD_ARGS) -o $@ $(OBJS) no_initrd.o $(LIBS)
-	objcopy zImage --add-section=.note=note.data zImage
+	objcopy zImage zImage
 
 zImage.initrd: $(OBJS) initrd.o
 	$(LD) $(LD_ARGS) -o $@ $(OBJS) initrd.o $(LIBS)
@@ -80,7 +76,7 @@
 
 
 clean:
-	rm -f piggyback mknote note.data
+	rm -f piggyback
 	rm -f $(OBJS) zImage
 
 fastdep:

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