tools, slub: Fix off-by-one buffer corruption after readlink() call
[linux-2.6/linux-mips.git] / arch / frv / boot / Makefile
blob6ae3254da01976b6fdaa374f588c3c58a081058c
2 # arch/arm/boot/Makefile
4 # This file is subject to the terms and conditions of the GNU General Public
5 # License. See the file "COPYING" in the main directory of this archive
6 # for more details.
8 # Copyright (C) 1995-2000 Russell King
11 targets := Image zImage bootpImage
13 SYSTEM =$(LINUX)
15 ZTEXTADDR = 0x02080000
16 PARAMS_PHYS = 0x0207c000
17 INITRD_PHYS = 0x02180000
18 INITRD_VIRT = 0x02180000
21 # If you don't define ZRELADDR above,
22 # then it defaults to ZTEXTADDR
24 ifeq ($(ZRELADDR),)
25 ZRELADDR = $(ZTEXTADDR)
26 endif
28 export SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS
30 Image: $(obj)/Image
32 targets: $(obj)/Image
34 $(obj)/Image: vmlinux FORCE
35 $(OBJCOPY) -O binary -R .note -R .comment -S vmlinux $@
37 #$(obj)/Image: $(CONFIGURE) $(SYSTEM)
38 # $(OBJCOPY) -O binary -R .note -R .comment -g -S $(SYSTEM) $@
40 bzImage: zImage
42 zImage: $(CONFIGURE) compressed/$(LINUX)
43 $(OBJCOPY) -O binary -R .note -R .comment -S compressed/$(LINUX) $@
45 bootpImage: bootp/bootp
46 $(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
48 compressed/$(LINUX): $(LINUX) dep
49 @$(MAKE) -C compressed $(LINUX)
51 bootp/bootp: zImage initrd
52 @$(MAKE) -C bootp bootp
54 initrd:
55 @test "$(INITRD_VIRT)" != "" || (echo This architecture does not support INITRD; exit -1)
56 @test "$(INITRD)" != "" || (echo You must specify INITRD; exit -1)
59 # installation
61 install: $(CONFIGURE) Image
62 sh ./install.sh $(KERNELRELEASE) Image System.map "$(INSTALL_PATH)"
64 zinstall: $(CONFIGURE) zImage
65 sh ./install.sh $(KERNELRELEASE) zImage System.map "$(INSTALL_PATH)"
68 # miscellany
70 mrproper clean:
71 # @$(MAKE) -C compressed clean
72 # @$(MAKE) -C bootp clean
74 dep: