diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-10 10:52:49 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-10 10:53:34 +0200 |
commit | 4830c5375683e8a88cb3e8a887dd91e5d4274e07 (patch) | |
tree | 42f4c6533f6bf512d5dd19a8a3ea27f882cd3bc1 /mk | |
parent | 80927381105b7e9b92f69be100f8bacab36c5760 (diff) |
genimage: add better support
Diffstat (limited to 'mk')
-rw-r--r-- | mk/image.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/mk/image.mk b/mk/image.mk index edccdce3e..890574449 100644 --- a/mk/image.mk +++ b/mk/image.mk @@ -272,14 +272,18 @@ ${FW_DIR}/${ROOTFSISO}: ${TARGET_DIR} kernel-package -boot-load-size 4 -boot-info-table ${TARGET_DIR} ${FW_DIR}/${GENIMAGE}: ${TARGET_DIR} kernel-package - rm -rf ${FW_DIR}/temp - mkdir -p ${FW_DIR}/temp + @rm -rf ${FW_DIR}/temp + @mkdir -p ${FW_DIR}/temp + PATH='${HOST_PATH}' mke2img \ + -G 4 \ + -d "$(TARGET_DIR)" \ + -o $(FW_DIR)/rootfs.ext $(MAKE_TRACE) PATH='${HOST_PATH}' genimage \ --config "$(ADK_TOPDIR)/target/$(ADK_TARGET_CPU_ARCH)/$(ADK_TARGET_SYSTEM)/genimage.cfg" \ --tmppath "${FW_DIR}/temp" \ --rootpath "$(TARGET_DIR)" \ --inputpath "$(FW_DIR)" \ - --outputpath "$(FW_DIR)" + --outputpath "$(FW_DIR)" $(MAKE_TRACE) imageclean: rm -f $(FW_DIR)/$(ADK_TARGET_SYSTEM)-* ${BUILD_DIR}/$(ADK_TARGET_SYSTEM)-* |