PageRenderTime 19ms CodeModel.GetById 10ms app.highlight 5ms RepoModel.GetById 2ms app.codeStats 0ms

/arch/frv/boot/Makefile

https://bitbucket.org/evzijst/gittest
Makefile | 73 lines | 32 code | 18 blank | 23 comment | 4 complexity | 8782783dd985846b0079ab4a9648e696 MD5 | raw file
 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
11SYSTEM	=$(TOPDIR)/$(LINUX)
12
13ZTEXTADDR	 = 0x02080000
14PARAMS_PHYS	 = 0x0207c000
15INITRD_PHYS	 = 0x02180000
16INITRD_VIRT	 = 0x02180000
17
18#
19# If you don't define ZRELADDR above,
20# then it defaults to ZTEXTADDR
21#
22ifeq ($(ZRELADDR),)
23ZRELADDR	= $(ZTEXTADDR)
24endif
25
26export	SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS
27
28Image: $(obj)/Image
29
30targets: $(obj)/Image
31
32$(obj)/Image: vmlinux FORCE
33	$(OBJCOPY) -O binary -R .note -R .comment -S vmlinux $@
34
35#$(obj)/Image:	$(CONFIGURE) $(SYSTEM)
36#	$(OBJCOPY) -O binary -R .note -R .comment -g -S $(SYSTEM) $@
37
38bzImage: zImage
39
40zImage:	$(CONFIGURE) compressed/$(LINUX)
41	$(OBJCOPY) -O binary -R .note -R .comment -S compressed/$(LINUX) $@
42
43bootpImage: bootp/bootp
44	$(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
45
46compressed/$(LINUX): $(TOPDIR)/$(LINUX) dep
47	@$(MAKE) -C compressed $(LINUX)
48
49bootp/bootp: zImage initrd
50	@$(MAKE) -C bootp bootp
51
52initrd:
53	@test "$(INITRD_VIRT)" != "" || (echo This architecture does not support INITRD; exit -1)
54	@test "$(INITRD)" != "" || (echo You must specify INITRD; exit -1)
55
56#
57# installation
58#
59install: $(CONFIGURE) Image
60	sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) Image $(TOPDIR)/System.map "$(INSTALL_PATH)"
61
62zinstall: $(CONFIGURE) zImage
63	sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
64
65#
66# miscellany
67#
68mrproper clean:
69	$(RM) Image zImage bootpImage
70#	@$(MAKE) -C compressed clean
71#	@$(MAKE) -C bootp clean
72
73dep: