summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2017-03-08 05:33:24 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-17 04:00:53 +0100
commit803a02691e2f2c93e620039449944569e6aaf025 (patch)
treeab2241ddc47c273145fe79f5169823105dc40ade
parent7a260082297c19bbdba555d9aa530ccff1c77644 (diff)
mk/image.mk: Fix calling mkfs.jffs2
This command does not reside in ${STAGING_HOST_DIR}/usr/bin (anymore?), also setting PATH='${HOST_PATH}' prior to just calling the command without path is more elegant in my opinion. Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--mk/image.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/image.mk b/mk/image.mk
index e0851418e..6b704f200 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -188,7 +188,7 @@ ${BUILD_DIR}/root.squashfs: ${TARGET_DIR}/.adk
-nopad -noappend -root-owned $(MAKE_TRACE)
${FW_DIR}/${ROOTFSJFFS2}: ${TARGET_DIR}
- ${STAGING_HOST_DIR}/usr/bin/mkfs.jffs2 $(ADK_JFFS2_OPTS) -q -r ${TARGET_DIR} \
+ PATH='${HOST_PATH}' mkfs.jffs2 $(ADK_JFFS2_OPTS) -q -r ${TARGET_DIR} \
--pad=$(ADK_TARGET_MTD_SIZE) -o ${FW_DIR}/${ROOTFSJFFS2} $(MAKE_TRACE)
createinitramfs: ${STAGING_TARGET_DIR}/${INITRAMFS}_list