summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk
index f0133fbe7..58b5521f6 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -323,7 +323,7 @@ $(CONFIG)/mconf:
@$(MAKE) -C $(CONFIG)
defconfig: .menu $(CONFIG)/conf
- -@rm $(ADK_TOPDIR)/.defconfig 2>/dev/null
+ @if [ -f $(ADK_TOPDIR)/.defconfig ]; then rm $(ADK_TOPDIR)/.defconfig;fi
@if [ ! -z "$(ADK_NO_CHECKSUM)" ];then \
echo "ADK_DISABLE_CHECKSUM=y" >> $(ADK_TOPDIR)/.defconfig; \
fi