Makefile (8a2094d679d921d104d3296528d4fa419702ce1c) | Makefile (82977af93a0dc4e70f60ca2137b67f65ebe47fc7) |
---|---|
1# 2# arch/sh/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) 1999 Stuart Menefy --- 5 unchanged lines hidden (view full) --- 14# 15CONFIG_PAGE_OFFSET ?= 0x80000000 16CONFIG_MEMORY_START ?= 0x0c000000 17CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 18CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 19CONFIG_ENTRY_OFFSET ?= 0x00001000 20CONFIG_PHYSICAL_START ?= $(CONFIG_MEMORY_START) 21 | 1# 2# arch/sh/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) 1999 Stuart Menefy --- 5 unchanged lines hidden (view full) --- 14# 15CONFIG_PAGE_OFFSET ?= 0x80000000 16CONFIG_MEMORY_START ?= 0x0c000000 17CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 18CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 19CONFIG_ENTRY_OFFSET ?= 0x00001000 20CONFIG_PHYSICAL_START ?= $(CONFIG_MEMORY_START) 21 |
22suffix-y := bin 23suffix-$(CONFIG_KERNEL_GZIP) := gz 24suffix-$(CONFIG_KERNEL_BZIP2) := bz2 25suffix-$(CONFIG_KERNEL_LZMA) := lzma 26suffix-$(CONFIG_KERNEL_XZ) := xz 27suffix-$(CONFIG_KERNEL_LZO) := lzo | 22suffix_y := bin 23suffix_$(CONFIG_KERNEL_GZIP) := gz 24suffix_$(CONFIG_KERNEL_BZIP2) := bz2 25suffix_$(CONFIG_KERNEL_LZMA) := lzma 26suffix_$(CONFIG_KERNEL_XZ) := xz 27suffix_$(CONFIG_KERNEL_LZO) := lzo |
28 29targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \ 30 uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin \ 31 vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ 32 vmlinux.bin.xz vmlinux.bin.lzo 33subdir- := compressed romimage 34 35$(obj)/zImage: $(obj)/compressed/vmlinux FORCE --- 65 unchanged lines hidden (view full) --- 101OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec 102$(obj)/vmlinux.srec: $(obj)/compressed/vmlinux FORCE 103 $(call if_changed,objcopy) 104 105OBJCOPYFLAGS_uImage.srec := -I binary -O srec 106$(obj)/uImage.srec: $(obj)/uImage FORCE 107 $(call if_changed,objcopy) 108 | 28 29targets := zImage vmlinux.srec romImage uImage uImage.srec uImage.gz \ 30 uImage.bz2 uImage.lzma uImage.xz uImage.lzo uImage.bin \ 31 vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \ 32 vmlinux.bin.xz vmlinux.bin.lzo 33subdir- := compressed romimage 34 35$(obj)/zImage: $(obj)/compressed/vmlinux FORCE --- 65 unchanged lines hidden (view full) --- 101OBJCOPYFLAGS_vmlinux.srec := -I binary -O srec 102$(obj)/vmlinux.srec: $(obj)/compressed/vmlinux FORCE 103 $(call if_changed,objcopy) 104 105OBJCOPYFLAGS_uImage.srec := -I binary -O srec 106$(obj)/uImage.srec: $(obj)/uImage FORCE 107 $(call if_changed,objcopy) 108 |
109$(obj)/uImage: $(obj)/uImage.$(suffix-y) | 109$(obj)/uImage: $(obj)/uImage.$(suffix_y) |
110 @ln -sf $(notdir $<) $@ 111 @echo ' Image $@ is ready' 112 113export CONFIG_PAGE_OFFSET CONFIG_MEMORY_START CONFIG_BOOT_LINK_OFFSET \ 114 CONFIG_PHYSICAL_START CONFIG_ZERO_PAGE_OFFSET CONFIG_ENTRY_OFFSET \ | 110 @ln -sf $(notdir $<) $@ 111 @echo ' Image $@ is ready' 112 113export CONFIG_PAGE_OFFSET CONFIG_MEMORY_START CONFIG_BOOT_LINK_OFFSET \ 114 CONFIG_PHYSICAL_START CONFIG_ZERO_PAGE_OFFSET CONFIG_ENTRY_OFFSET \ |
115 KERNEL_MEMORY suffix-y | 115 KERNEL_MEMORY suffix_y |