summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-11-01 12:35:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2021-11-01 15:16:16 +0100
commitcef4b6c2d53c3816ade508261b762d935c3fff8b (patch)
tree2d684e64536e1eca1435425215da7c950bc4ac4d
parentf757dba1afcedd6b39e20e94ba4cbdbdd9f24d74 (diff)
image.mk: Use SCRIPT_DIR variable
It exists, so use it instead of manually stating $(TOPDIR)/scripts. 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 dec1bb4e4..2e1d1b9e1 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -161,7 +161,7 @@ ${FW_DIR}/${ROOTFSUSERTARBALL}: ${TARGET_DIR}/.adk
$(CPIO) --quiet -o -Hustar --owner=0:0 | $(XZ) -c >$@
${STAGING_TARGET_DIR}/${INITRAMFS}_list: ${TARGET_DIR}/.adk
- PATH='${HOST_PATH}' $(BASH) ${ADK_TOPDIR}/scripts/gen_initramfs_list.sh -u squash -g squash \
+ PATH='${HOST_PATH}' $(BASH) ${SCRIPT_DIR}/gen_initramfs_list.sh -u squash -g squash \
${TARGET_DIR}/ >$@
( \
echo "nod /dev/console 0644 0 0 c 5 1"; \