diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-21 16:48:47 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-08-21 16:48:47 +0000 |
commit | acfde78a855d8c9f9afcd786891be42686168332 (patch) | |
tree | cff8f6909a353c9d30635cadc93097f06f287d2e /toolchain | |
parent | e99518277a04f0e8cf5054a6d305b2d859a59b25 (diff) | |
download | buildroot-novena-acfde78a855d8c9f9afcd786891be42686168332.tar.gz buildroot-novena-acfde78a855d8c9f9afcd786891be42686168332.zip |
- forgot to add this file to go with r19619
Diffstat (limited to 'toolchain')
-rw-r--r-- | toolchain/kernel-headers/lzma/linux-2.6.22.1-003-lzma-vmlinuz.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/toolchain/kernel-headers/lzma/linux-2.6.22.1-003-lzma-vmlinuz.patch b/toolchain/kernel-headers/lzma/linux-2.6.22.1-003-lzma-vmlinuz.patch new file mode 100644 index 000000000..8fb7e882d --- /dev/null +++ b/toolchain/kernel-headers/lzma/linux-2.6.22.1-003-lzma-vmlinuz.patch @@ -0,0 +1,44 @@ +diff -rdup linux-2.6.22.1.old/scripts/Makefile.lib linux-2.6.22.1/scripts/Makefile.lib +--- linux-2.6.22.1.old/scripts/Makefile.lib 2007-08-21 16:32:19.000000000 +0200 ++++ linux-2.6.22.1/scripts/Makefile.lib 2007-08-21 16:43:20.000000000 +0200 +@@ -166,6 +166,6 @@ cmd_gzip = gzip -f -9 < $< > $@ + # + quiet_cmd_lzma = LZMA $@ + #cmd_lzma = lzma e $< $@ -lc7 -lp0 -pb0 2>/dev/null +-cmd_lzma = lzma -z $< -c > $@ ++cmd_lzma = $(LZMA) -z $< -c > $@ + + +diff -rdup linux-2.6.22.1.old/scripts/gen_lzma_initramfs_list.sh linux-2.6.22.1/scripts/gen_lzma_initramfs_list.sh +--- linux-2.6.22.1.old/scripts/gen_lzma_initramfs_list.sh 2007-08-21 16:32:19.000000000 +0200 ++++ linux-2.6.22.1/scripts/gen_lzma_initramfs_list.sh 2007-08-21 16:42:56.000000000 +0200 +@@ -11,7 +11,7 @@ + + # error out on errors + set -e +- ++test "x$LZMA" = "x" && LZMA=lzma + usage() { + cat << EOF + Usage: +@@ -286,7 +286,7 @@ if [ ! -z ${output_file} ]; then + cpio_tfile=${cpio_file} + fi + rm ${cpio_list} +- lzma -z ${cpio_tfile} ${opt} -c > ${output_file} ++ $LZMA -z ${cpio_tfile} ${opt} -c > ${output_file} + [ -z ${cpio_file} ] && rm ${cpio_tfile} + fi + exit 0 +diff -rdup linux-2.6.22.1.old/usr/Makefile linux-2.6.22.1/usr/Makefile +--- linux-2.6.22.1.old/usr/Makefile 2007-08-21 16:32:19.000000000 +0200 ++++ linux-2.6.22.1/usr/Makefile 2007-08-21 16:46:22.000000000 +0200 +@@ -19,7 +19,7 @@ $(obj)/initramfs_data.o: $(obj)/initramf + + hostprogs-y := gen_init_cpio + initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_initramfs_list.sh +-lzma_initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_lzma_initramfs_list.sh ++lzma_initramfs := LZMA=$(LZMA) $(CONFIG_SHELL) $(srctree)/scripts/gen_lzma_initramfs_list.sh + ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \ + $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d) + ramfs-args := \ |