OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [blackfin/] [boot/] [Makefile] - Blame information for rev 17

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 3 xianfeng
#
2
# arch/blackfin/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
 
9
MKIMAGE := $(srctree)/scripts/mkuboot.sh
10
 
11
targets := vmImage
12
extra-y += vmlinux.bin vmlinux.gz
13
 
14
quiet_cmd_uimage = UIMAGE  $@
15
      cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A $(ARCH) -O linux -T kernel \
16
                   -C gzip -n 'Linux-$(KERNELRELEASE)' -a $(CONFIG_BOOT_LOAD) \
17
                   -e $(shell $(NM) vmlinux | awk '$$NF == "__start" {print $$1}') \
18
                   -d $< $@
19
 
20
$(obj)/vmlinux.bin: vmlinux FORCE
21
        $(call if_changed,objcopy)
22
 
23
$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
24
        $(call if_changed,gzip)
25
 
26
$(obj)/vmImage: $(obj)/vmlinux.gz
27
        $(call if_changed,uimage)
28
        @echo 'Kernel: $@ is ready'
29
 
30
install:
31
        sh $(srctree)/$(src)/install.sh $(KERNELRELEASE) $(BOOTIMAGE) System.map "$(INSTALL_PATH)"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.