patch-2.4.0-test2 linux/arch/sh/boot/Makefile
Next file: linux/arch/sh/boot/compressed/Makefile
Previous file: linux/arch/sh/Makefile
Back to the patch index
Back to the overall index
- Lines: 56
- Date:
Mon Jun 19 17:59:37 2000
- Orig file:
v2.4.0-test1/linux/arch/sh/boot/Makefile
- Orig date:
Tue Mar 7 14:32:25 2000
diff -u --recursive --new-file v2.4.0-test1/linux/arch/sh/boot/Makefile linux/arch/sh/boot/Makefile
@@ -5,37 +5,30 @@
# License. See the file "COPYING" in the main directory of this archive
# for more details.
#
+# Copyright (C) 1999 Stuart Menefy
+#
-.S.s:
- $(CPP) $(CFLAGS) $< -o $*.s
-.S.o:
- $(CC) $(CFLAGS) -c $< -o $*.o
+SYSTEM =$(TOPDIR)/vmlinux
-OBJS =
+Image: $(CONFIGURE) $(SYSTEM)
+ $(OBJCOPY) $(SYSTEM) Image
-#
-# Drop some uninteresting sections in the kernel.
-#
-drop-sections = .reginfo .mdebug
-strip-flags = $(addprefix --remove-section=,$(drop-sections))
+zImage: $(CONFIGURE) compressed/vmlinux
+ $(OBJCOPY) compressed/vmlinux zImage
-#
-# Fake compressed boot
-#
-zImage: $(CONFIGURE) mkboot $(TOPDIR)/vmlinux
- $(OBJCOPY) $(strip-flags) $(TOPDIR)/vmlinux zImage.tmp
- ./mkboot zImage.tmp zImage
- rm -f zImage.tmp
+compressed/vmlinux: $(TOPDIR)/vmlinux
+ $(MAKE) -C compressed vmlinux
+
+install: $(CONFIGURE) Image
+ sh -x ./install.sh $(KERNELRELEASE) Image $(TOPDIR)/System.map "$(INSTALL_PATH)"
-mkboot: mkboot.c
- $(HOSTCC) -o $@ $^
+zinstall: $(CONFIGURE) zImage
+ sh -x ./install.sh $(KERNELRELEASE) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
-# Don't build dependencies, this may die if $(CC) isn't gcc
dep:
clean:
- rm -f zImage zImage.tmp mkboot
-
-dummy:
-
-include $(TOPDIR)/Rules.make
+ rm -f tools/build
+ rm -f setup bootsect zImage compressed/vmlinux.out
+ rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
+ @$(MAKE) -C compressed clean
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)