Makefile (020abf03cd659388f94cb328e1e1df0656e0d7ff) | Makefile (e66ac3f26aef131f5ca60350d25fba95f43acd0d) |
---|---|
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# Assign safe dummy values if these variables are not defined, 15# in order to suppress error message. 16# 17CONFIG_PAGE_OFFSET ?= 0x80000000 18CONFIG_MEMORY_START ?= 0x0c000000 19CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 20CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 21CONFIG_ENTRY_OFFSET ?= 0x00001000 | 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# Assign safe dummy values if these variables are not defined, 15# in order to suppress error message. 16# 17CONFIG_PAGE_OFFSET ?= 0x80000000 18CONFIG_MEMORY_START ?= 0x0c000000 19CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 20CONFIG_ZERO_PAGE_OFFSET ?= 0x00001000 21CONFIG_ENTRY_OFFSET ?= 0x00001000 |
22CONFIG_PHYSICAL_START ?= $(CONFIG_MEMORY_START) |
|
22 23suffix-y := bin 24suffix-$(CONFIG_KERNEL_GZIP) := gz 25suffix-$(CONFIG_KERNEL_BZIP2) := bz2 26suffix-$(CONFIG_KERNEL_LZMA) := lzma 27suffix-$(CONFIG_KERNEL_XZ) := xz 28suffix-$(CONFIG_KERNEL_LZO) := lzo 29 --- 13 unchanged lines hidden (view full) --- 43$(obj)/romImage: $(obj)/romimage/vmlinux FORCE 44 $(call if_changed,objcopy) 45 @echo ' Kernel: $@ is ready' 46 47$(obj)/romimage/vmlinux: $(obj)/zImage FORCE 48 $(Q)$(MAKE) $(build)=$(obj)/romimage $@ 49 50KERNEL_MEMORY := $(shell /bin/bash -c 'printf "0x%08x" \ | 23 24suffix-y := bin 25suffix-$(CONFIG_KERNEL_GZIP) := gz 26suffix-$(CONFIG_KERNEL_BZIP2) := bz2 27suffix-$(CONFIG_KERNEL_LZMA) := lzma 28suffix-$(CONFIG_KERNEL_XZ) := xz 29suffix-$(CONFIG_KERNEL_LZO) := lzo 30 --- 13 unchanged lines hidden (view full) --- 44$(obj)/romImage: $(obj)/romimage/vmlinux FORCE 45 $(call if_changed,objcopy) 46 @echo ' Kernel: $@ is ready' 47 48$(obj)/romimage/vmlinux: $(obj)/zImage FORCE 49 $(Q)$(MAKE) $(build)=$(obj)/romimage $@ 50 51KERNEL_MEMORY := $(shell /bin/bash -c 'printf "0x%08x" \ |
51 $$[$(CONFIG_MEMORY_START) & 0x1fffffff]') | 52 $$[$(CONFIG_PHYSICAL_START) & 0x1fffffff]') |
52 53KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ 54 $$[$(CONFIG_PAGE_OFFSET) + \ 55 $(KERNEL_MEMORY) + \ 56 $(CONFIG_ZERO_PAGE_OFFSET)]') 57 58KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ 59 $$[$(CONFIG_PAGE_OFFSET) + \ --- 49 unchanged lines hidden (view full) --- 109$(obj)/uImage.srec: $(obj)/uImage 110 $(call if_changed,objcopy) 111 112$(obj)/uImage: $(obj)/uImage.$(suffix-y) 113 @ln -sf $(notdir $<) $@ 114 @echo ' Image $@ is ready' 115 116export CONFIG_PAGE_OFFSET CONFIG_MEMORY_START CONFIG_BOOT_LINK_OFFSET \ | 53 54KERNEL_LOAD := $(shell /bin/bash -c 'printf "0x%08x" \ 55 $$[$(CONFIG_PAGE_OFFSET) + \ 56 $(KERNEL_MEMORY) + \ 57 $(CONFIG_ZERO_PAGE_OFFSET)]') 58 59KERNEL_ENTRY := $(shell /bin/bash -c 'printf "0x%08x" \ 60 $$[$(CONFIG_PAGE_OFFSET) + \ --- 49 unchanged lines hidden (view full) --- 110$(obj)/uImage.srec: $(obj)/uImage 111 $(call if_changed,objcopy) 112 113$(obj)/uImage: $(obj)/uImage.$(suffix-y) 114 @ln -sf $(notdir $<) $@ 115 @echo ' Image $@ is ready' 116 117export CONFIG_PAGE_OFFSET CONFIG_MEMORY_START CONFIG_BOOT_LINK_OFFSET \ |
117 CONFIG_ZERO_PAGE_OFFSET CONFIG_ENTRY_OFFSET KERNEL_MEMORY suffix-y | 118 CONFIG_PHYSICAL_START CONFIG_ZERO_PAGE_OFFSET CONFIG_ENTRY_OFFSET \ 119 KERNEL_MEMORY suffix-y |