image: add KERNEL_SIZE to the default device vars
[openwrt/staging/rmilecki.git] / include / toplevel.mk
index 3844f3cfc1414ebf7a1a33c8725e99071c3bcb5b..e13acafe9c7463a82006a165dc3212eedf9d8eb9 100644 (file)
@@ -110,7 +110,7 @@ config-clean: FORCE
 
 defconfig: scripts/config/conf prepare-tmpinfo FORCE
        touch .config
-       @if [  -s .config -a -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi
+       @if [ ! -s .config -a -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi
        $< --defconfig=.config Config.in
 
 confdefault-y=allyes