summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/fetch.mk2
-rw-r--r--scripts/postimage/.empty0
-rw-r--r--target/Makefile2
3 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch.mk b/mk/fetch.mk
index 606cda737..5fb13a29e 100644
--- a/mk/fetch.mk
+++ b/mk/fetch.mk
@@ -28,7 +28,7 @@ ifeq ($(strip ${PKG_NOCHECKSUM}),)
${_CHECKSUM_COOKIE}: ${FULLDISTFILES}
-rm -rf ${WRKDIR}
ifneq ($(ADK_DISABLE_CHECKSUM),y)
- @if [ ! -e ${FULLDISTFILES}.nohash ]; then \
+ @if [ ! -e "${FULLDISTFILES}.nohash" ]; then \
OK=n; \
allsums="$(strip ${PKG_HASH})"; \
(shasum -a 256 ${FULLDISTFILES}; echo exit) | while read sum name; do \
diff --git a/scripts/postimage/.empty b/scripts/postimage/.empty
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/scripts/postimage/.empty
diff --git a/target/Makefile b/target/Makefile
index 24403f53a..669a4333b 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -135,7 +135,7 @@ clean: $(ADK_TARGET_ARCH)-clean $(ADK_TARGET_ARCH)-imageclean
%-imageinstall: %-imageprepare
$(TRACE) target/$(patsubst %-imageinstall,%,$@)-imageinstall
$(MAKE) -C $(patsubst %-imageinstall,%,$@) imageinstall
- for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh); do \
+ for x in $$(ls $(ADK_TOPDIR)/scripts/postimage/*.sh 2>/dev/null); do \
[[ -x "$$x" ]] && $$x; \
break; \
done