]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - arch/frv/boot/Makefile
Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.git] / arch / frv / boot / Makefile
CommitLineData
1da177e4
LT
1#
2# arch/arm/boot/Makefile
3#
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.
7#
8# Copyright (C) 1995-2000 Russell King
9#
10
00ddaf20
AV
11targets := Image zImage bootpImage
12
abee8ed0 13SYSTEM =$(LINUX)
1da177e4
LT
14
15ZTEXTADDR = 0x02080000
16PARAMS_PHYS = 0x0207c000
17INITRD_PHYS = 0x02180000
18INITRD_VIRT = 0x02180000
19
5f0231d9
DH
20OBJCOPYFLAGS :=-O binary -R .note -R .note.gnu.build-id -R .comment
21
1da177e4
LT
22#
23# If you don't define ZRELADDR above,
24# then it defaults to ZTEXTADDR
25#
26ifeq ($(ZRELADDR),)
27ZRELADDR = $(ZTEXTADDR)
28endif
29
30export SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS
31
32Image: $(obj)/Image
33
34targets: $(obj)/Image
35
36$(obj)/Image: vmlinux FORCE
5f0231d9 37 $(OBJCOPY) $(OBJCOPYFLAGS) -S vmlinux $@
1da177e4
LT
38
39#$(obj)/Image: $(CONFIGURE) $(SYSTEM)
5f0231d9 40# $(OBJCOPY) $(OBJCOPYFLAGS) -g -S $(SYSTEM) $@
1da177e4
LT
41
42bzImage: zImage
43
44zImage: $(CONFIGURE) compressed/$(LINUX)
5f0231d9 45 $(OBJCOPY) $(OBJCOPYFLAGS) -S compressed/$(LINUX) $@
1da177e4
LT
46
47bootpImage: bootp/bootp
5f0231d9 48 $(OBJCOPY) $(OBJCOPYFLAGS) -S bootp/bootp $@
1da177e4 49
abee8ed0 50compressed/$(LINUX): $(LINUX) dep
1da177e4
LT
51 @$(MAKE) -C compressed $(LINUX)
52
53bootp/bootp: zImage initrd
54 @$(MAKE) -C bootp bootp
55
56initrd:
57 @test "$(INITRD_VIRT)" != "" || (echo This architecture does not support INITRD; exit -1)
58 @test "$(INITRD)" != "" || (echo You must specify INITRD; exit -1)
59
60#
61# installation
62#
63install: $(CONFIGURE) Image
abee8ed0 64 sh ./install.sh $(KERNELRELEASE) Image System.map "$(INSTALL_PATH)"
1da177e4
LT
65
66zinstall: $(CONFIGURE) zImage
abee8ed0 67 sh ./install.sh $(KERNELRELEASE) zImage System.map "$(INSTALL_PATH)"
1da177e4
LT
68
69#
70# miscellany
71#
72mrproper clean:
1da177e4
LT
73# @$(MAKE) -C compressed clean
74# @$(MAKE) -C bootp clean
75
76dep: