patch-2.4.0-test5 linux/arch/sh/boot/compressed/Makefile

Next file: linux/arch/sh/boot/compressed/misc.c
Previous file: linux/arch/sh/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/arch/sh/boot/compressed/Makefile linux/arch/sh/boot/compressed/Makefile
@@ -9,12 +9,16 @@
 
 OBJECTS = $(HEAD) misc.o
 
+ifdef CONFIG_SH_STANDARD_BIOS
+OBJECTS += ../../kernel/sh_bios.o
+endif
+
 ZLDFLAGS = -e startup -T $(TOPDIR)/arch/sh/vmlinux.lds
 
 #
 # ZIMAGE_OFFSET is the load offset of the compression loader
 #
-ZIMAGE_OFFSET = $(shell printf "0x%8x" $$[0x80000000+0x$(CONFIG_MEMORY_START)+0x200000])
+ZIMAGE_OFFSET = $(shell printf "0x%8x" $$[0x80000000+0x$(CONFIG_MEMORY_START)+0x200000+0x10000+0x400])
 
 ZLINKFLAGS = -Ttext $(ZIMAGE_OFFSET) $(ZLDFLAGS)
 

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