arm-linux.kernel documentation update for Debian on nslu2
This commit is contained in:
@@ -1104,6 +1104,57 @@ void PackVmlinuxARM::unpack(OutputFile *fo)
|
|||||||
// /* All code is in stub/src/i386-linux.kernel.vmlinux-head.S */
|
// /* All code is in stub/src/i386-linux.kernel.vmlinux-head.S */
|
||||||
//-----
|
//-----
|
||||||
|
|
||||||
|
#if 0 /*{*/
|
||||||
|
// For Debian nslu2-linux (2.6.19), only this Makefile changes:
|
||||||
|
--- ./debian/build/build-arm-none-ixp4xx/arch/arm/boot/compressed/Makefile.orig 2006-11-29 13:57:37.000000000 -0800
|
||||||
|
+++ ./debian/build/build-arm-none-ixp4xx/arch/arm/boot/compressed/Makefile 2006-12-16 02:39:38.000000000 -0800
|
||||||
|
@@ -5,7 +5,7 @@
|
||||||
|
#
|
||||||
|
|
||||||
|
HEAD = head.o
|
||||||
|
-OBJS = misc.o
|
||||||
|
+OBJS =
|
||||||
|
FONTC = drivers/video/console/font_acorn_8x8.c
|
||||||
|
|
||||||
|
FONT = $(addprefix ../../../../drivers/video/console/, font_acorn_8x8.o)
|
||||||
|
@@ -73,8 +73,8 @@
|
||||||
|
|
||||||
|
SEDFLAGS = s/TEXT_START/$(ZTEXTADDR)/;s/BSS_START/$(ZBSSADDR)/
|
||||||
|
|
||||||
|
-targets := vmlinux vmlinux.lds piggy.gz piggy.o $(FONT) \
|
||||||
|
- head.o misc.o $(OBJS)
|
||||||
|
+targets := vmlinux vmlinux.lds upx-piggy.o $(FONT) \
|
||||||
|
+ head.o $(OBJS)
|
||||||
|
EXTRA_CFLAGS := -fpic
|
||||||
|
EXTRA_AFLAGS :=
|
||||||
|
|
||||||
|
@@ -95,20 +95,16 @@
|
||||||
|
# would otherwise mess up our GOT table
|
||||||
|
CFLAGS_misc.o := -Dstatic=
|
||||||
|
|
||||||
|
-$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) $(obj)/piggy.o \
|
||||||
|
- $(addprefix $(obj)/, $(OBJS)) FORCE
|
||||||
|
+$(obj)/vmlinux: $(obj)/vmlinux.lds $(obj)/$(HEAD) \
|
||||||
|
+ $(addprefix $(obj)/, $(OBJS)) $(obj)/upx-piggy.o FORCE
|
||||||
|
$(call if_changed,ld)
|
||||||
|
@:
|
||||||
|
|
||||||
|
-$(obj)/piggy.gz: $(obj)/../Image FORCE
|
||||||
|
- $(call if_changed,gzip)
|
||||||
|
-
|
||||||
|
-$(obj)/piggy.o: $(obj)/piggy.gz FORCE
|
||||||
|
+$(obj)/upx-piggy.o: vmlinux FORCE
|
||||||
|
+ rm -f $@; upx --lzma -o $@ $<; touch $@
|
||||||
|
|
||||||
|
CFLAGS_font_acorn_8x8.o := -Dstatic=
|
||||||
|
|
||||||
|
$(obj)/vmlinux.lds: $(obj)/vmlinux.lds.in arch/arm/boot/Makefile .config
|
||||||
|
@sed "$(SEDFLAGS)" < $< > $@
|
||||||
|
|
||||||
|
-$(obj)/misc.o: $(obj)/misc.c include/asm/arch/uncompress.h lib/inflate.c
|
||||||
|
-
|
||||||
|
#endif /*}*/
|
||||||
|
|
||||||
// Approximate translation for Linux 2.4.x:
|
// Approximate translation for Linux 2.4.x:
|
||||||
// - - -
|
// - - -
|
||||||
// arch/i386/Makefile: LD_FLAGS=-e startup_32
|
// arch/i386/Makefile: LD_FLAGS=-e startup_32
|
||||||
|
|||||||
Reference in New Issue
Block a user