|
From: Paul M. <le...@us...> - 2006-07-19 14:33:26
|
Update of /cvsroot/linuxsh/linux/arch/sh/boot/compressed In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12846/arch/sh/boot/compressed Modified Files: Makefile Log Message: Make PAGE_OFFSET configurable via CONFIG_PAGE_OFFSET, needed for nommu. Index: Makefile =================================================================== RCS file: /cvsroot/linuxsh/linux/arch/sh/boot/compressed/Makefile,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- Makefile 25 Oct 2004 10:41:02 -0000 1.13 +++ Makefile 19 Jul 2006 14:33:16 -0000 1.14 @@ -18,9 +18,10 @@ # Assign dummy values if these 2 variables are not defined, # in order to suppress error message. # +CONFIG_PAGE_OFFSET ?= 0x80000000 CONFIG_MEMORY_START ?= 0x0c000000 CONFIG_BOOT_LINK_OFFSET ?= 0x00800000 -IMAGE_OFFSET := $(shell printf "0x%8x" $$[0x80000000+$(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET)]) +IMAGE_OFFSET := $(shell printf "0x%8x" $$[$(CONFIG_PAGE_OFFSET)+$(CONFIG_MEMORY_START)+$(CONFIG_BOOT_LINK_OFFSET)]) LDFLAGS_vmlinux := -Ttext $(IMAGE_OFFSET) -e startup -T $(obj)/../../kernel/vmlinux.lds |