patch-2.4.23 linux-2.4.23/arch/sh/boot/compressed/Makefile

Next file: linux-2.4.23/arch/sh/boot/compressed/head.S
Previous file: linux-2.4.23/arch/sh/Makefile
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/sh/boot/compressed/Makefile linux-2.4.23/arch/sh/boot/compressed/Makefile
@@ -18,9 +18,9 @@
 #
 # ZIMAGE_OFFSET is the load offset of the compression loader
 #
-ZIMAGE_OFFSET = $(shell printf "0x%8x" $$[0x80000000+0x$(CONFIG_MEMORY_START)+0x200000+0x10000])
+ZIMAGE_OFFSET = $(shell printf "0x%8x" $$[0x80000000+0x$(CONFIG_MEMORY_START)+0x$(CONFIG_BOOT_LINK_OFFSET)])
 
-ZLINKFLAGS = -Ttext $(ZIMAGE_OFFSET) $(ZLDFLAGS)
+ZLINKFLAGS  = -Ttext $(ZIMAGE_OFFSET)  $(ZLDFLAGS)
 
 all: vmlinux
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)