diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/frv/boot/Makefile |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'arch/frv/boot/Makefile')
-rw-r--r-- | arch/frv/boot/Makefile | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/arch/frv/boot/Makefile b/arch/frv/boot/Makefile new file mode 100644 index 000000000000..d75e0d771366 --- /dev/null +++ b/arch/frv/boot/Makefile | |||
@@ -0,0 +1,73 @@ | |||
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 | |||
11 | SYSTEM =$(TOPDIR)/$(LINUX) | ||
12 | |||
13 | ZTEXTADDR = 0x02080000 | ||
14 | PARAMS_PHYS = 0x0207c000 | ||
15 | INITRD_PHYS = 0x02180000 | ||
16 | INITRD_VIRT = 0x02180000 | ||
17 | |||
18 | # | ||
19 | # If you don't define ZRELADDR above, | ||
20 | # then it defaults to ZTEXTADDR | ||
21 | # | ||
22 | ifeq ($(ZRELADDR),) | ||
23 | ZRELADDR = $(ZTEXTADDR) | ||
24 | endif | ||
25 | |||
26 | export SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR INITRD_PHYS INITRD_VIRT PARAMS_PHYS | ||
27 | |||
28 | Image: $(obj)/Image | ||
29 | |||
30 | targets: $(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 | |||
38 | bzImage: zImage | ||
39 | |||
40 | zImage: $(CONFIGURE) compressed/$(LINUX) | ||
41 | $(OBJCOPY) -O binary -R .note -R .comment -S compressed/$(LINUX) $@ | ||
42 | |||
43 | bootpImage: bootp/bootp | ||
44 | $(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@ | ||
45 | |||
46 | compressed/$(LINUX): $(TOPDIR)/$(LINUX) dep | ||
47 | @$(MAKE) -C compressed $(LINUX) | ||
48 | |||
49 | bootp/bootp: zImage initrd | ||
50 | @$(MAKE) -C bootp bootp | ||
51 | |||
52 | initrd: | ||
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 | # | ||
59 | install: $(CONFIGURE) Image | ||
60 | sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) Image $(TOPDIR)/System.map "$(INSTALL_PATH)" | ||
61 | |||
62 | zinstall: $(CONFIGURE) zImage | ||
63 | sh ./install.sh $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)" | ||
64 | |||
65 | # | ||
66 | # miscellany | ||
67 | # | ||
68 | mrproper clean: | ||
69 | $(RM) Image zImage bootpImage | ||
70 | # @$(MAKE) -C compressed clean | ||
71 | # @$(MAKE) -C bootp clean | ||
72 | |||
73 | dep: | ||