ocfs2: fstrim: Fix start offset of first cluster group during fstrim
[linux/fpc-iii.git] / arch / frv / boot / Makefile
blob636d5bbcd53f31ca5cbbb96ca9f3e29f501fdfff
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
20 OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment
23 # If you don't define ZRELADDR above,
24 # then it defaults to ZTEXTADDR
26 ifeq ($(ZRELADDR),)
27 ZRELADDR = $(ZTEXTADDR)
28 endif
30 export SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS
32 Image: $(obj)/Image
34 targets: $(obj)/Image
36 $(obj)/Image: vmlinux FORCE
37 $(OBJCOPY) $(OBJCOPYFLAGS) -S vmlinux $@
39 #$(obj)/Image: $(CONFIGURE) $(SYSTEM)
40 # $(OBJCOPY) $(OBJCOPYFLAGS) -g -S $(SYSTEM) $@
42 bzImage: zImage
44 zImage: $(CONFIGURE) compressed/$(LINUX)
45 $(OBJCOPY) $(OBJCOPYFLAGS) -S compressed/$(LINUX) $@
47 bootpImage: bootp/bootp
48 $(OBJCOPY) $(OBJCOPYFLAGS) -S bootp/bootp $@
50 compressed/$(LINUX): $(LINUX) dep
51 @$(MAKE) -C compressed $(LINUX)
53 bootp/bootp: zImage initrd
54 @$(MAKE) -C bootp bootp
56 initrd:
57 @test "$(INITRD_VIRT)" != "" || (echo This architecture does not support INITRD; exit -1)
58 @test "$(INITRD)" != "" || (echo You must specify INITRD; exit -1)
61 # installation
63 install: $(CONFIGURE) Image
64 sh ./install.sh $(KERNELRELEASE) Image System.map "$(INSTALL_PATH)"
66 zinstall: $(CONFIGURE) zImage
67 sh ./install.sh $(KERNELRELEASE) zImage System.map "$(INSTALL_PATH)"
70 # miscellany
72 mrproper clean:
73 # @$(MAKE) -C compressed clean
74 # @$(MAKE) -C bootp clean
76 dep: