build: create pkginfo dir earlier to avoid build breakage
authorFelix Fietkau <nbd@openwrt.org>
Sat, 6 Oct 2012 22:42:57 +0000 (22:42 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 6 Oct 2012 22:42:57 +0000 (22:42 +0000)
SVN-Revision: 33633

include/package.mk

index 8b8cb1aae941a549201b30c7d8cb3b55838bb310..fb90df871827d0d8bb7ef2fce754e023c392749c 100644 (file)
@@ -253,6 +253,7 @@ Build/DistCheck=$(call Build/DistCheck/Default,)
 
 .PHONY: prepare-package-install
 prepare-package-install:
+       @mkdir -p $(PKG_INFO_DIR)
        @touch $(PKG_INFO_DIR)/$(PKG_DIR_NAME).install.clean
        @echo "$(filter-out essential,$(PKG_FLAGS))" > $(PKG_INFO_DIR)/$(PKG_DIR_NAME).install.flags