summaryrefslogtreecommitdiff
path: root/mk/image.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-12 21:05:10 +0200
commit6c2bc15eb5c40548f6a98c37ab0b825b9c163343 (patch)
treef002fe1b2c355f06627c9757dc9fc30c71435f43 /mk/image.mk
parentdecf972fcbb3b42947f8778222877ab1663ef04b (diff)
parente095941418bffcb4f2afc03072eb1f045e39ed9d (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk/image.mk')
-rw-r--r--mk/image.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/image.mk b/mk/image.mk
index 185164c22..e6dd06a82 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -95,7 +95,7 @@ ${BIN_DIR}/${INITRAMFS}: ${TARGET_DIR}
cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \
sed "s#\(.*\)#:0:0::::::\1#" | sort | \
${TOOLS_DIR}/cpio -o -C512 -Hnewc -P | \
- lzma -9 >$@ 2>/dev/null
+ xz -C crc32 >$@ 2>/dev/null
${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR}
${SED} 's/.*CONFIG_(BLK_DEV_INITRD|INITRAMFS_SOURCE).*//' \
@@ -103,9 +103,10 @@ ${BUILD_DIR}/${INITRAMFS_PIGGYBACK}: ${TARGET_DIR}
echo "CONFIG_BLK_DEV_INITRD=y" >> ${LINUX_DIR}/.config
echo 'CONFIG_INITRAMFS_SOURCE="${BUILD_DIR}/${INITRAMFS_PIGGYBACK}"' >> \
${LINUX_DIR}/.config
+ cp $(TOPDIR)/scripts/dev.cpio $@
cd ${TARGET_DIR}; find . | sed -n '/^\.\//s///p' | \
sed "s#\(.*\)#:0:0::::::\1#" | sort | \
- ${TOOLS_DIR}/cpio -o -C512 -Hnewc -P >$@ 2>/dev/null
+ ${TOOLS_DIR}/cpio -o -C512 -Hnewc -A -P -O $@ 2>/dev/null
${BUILD_DIR}/root.squashfs: ${TARGET_DIR}
${STAGING_HOST_DIR}/bin/mksquashfs ${TARGET_DIR} \