build: initialize host/var/state/ as well
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Aug 2009 00:39:08 +0000 (00:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 13 Aug 2009 00:39:08 +0000 (00:39 +0000)
Makefile

index 905206701d83f41a241937f75ddd6b15997c0e97..3bf8c68de17d1290b1dccec24279fb2f1f94db4d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -41,6 +41,7 @@ luahost: luabuild hostcopy
 
 hostcopy: 
        mkdir -p host/tmp
+       mkdir -p host/var/state
        for i in $(MODULES); do cp -pR $$i/dist/* host/ 2>/dev/null || true; done
        for i in $(MODULES); do cp -pR $$i/hostfiles/* host/ 2>/dev/null || true; done
        rm -f host/luci