Browse Source

allow to disable checksum for defconfig

Waldemar Brodkorb 10 years ago
parent
commit
a1ee9b8283
1 changed files with 3 additions and 0 deletions
  1. 3 0
      mk/build.mk

+ 3 - 0
mk/build.mk

@@ -343,6 +343,9 @@ endif
 ifneq (,$(filter CYGWIN%,${OStype}))
 	@echo ADK_HOST_CYGWIN=y > $(ADK_TOPDIR)/.defconfig
 endif
+	@if [ ! -z "$(ADK_NO_CHECKSUM)" ];then \
+		echo "ADK_DISABLE_CHECKSUM=y" >> $(ADK_TOPDIR)/.defconfig
+	fi
 	@if [ ! -z "$(ADK_TARGET_ARCH)" ];then \
 		grep "^config" target/config/Config.in.arch.choice \
 			|grep -i "$(ADK_TARGET_ARCH)"\$$ \