From 1ea923f01ecb18f1f7dcbfcb76815f3edcc6815a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 20 Mar 2006 02:21:49 +0000 Subject: [PATCH] create package directory if it doesn't exist while building base-files SVN-Revision: 3417 --- openwrt/package/base-files/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/openwrt/package/base-files/Makefile b/openwrt/package/base-files/Makefile index dcd6aa0d54..a70fbcf134 100644 --- a/openwrt/package/base-files/Makefile +++ b/openwrt/package/base-files/Makefile @@ -75,10 +75,15 @@ $(IPKG_GCC): -$(STRIP) $(IDIR_GCC)/lib/* $(IPKG_BUILD) $(IDIR_GCC) $(PACKAGE_DIR) +$(PACKAGE_DIR): + mkdir -p $@ + +$(PACKAGES): $(PACKAGE_DIR) + package-clean: rm -f $(PACKAGES) clean: package-clean -prepare: +prepare: compile: $(PACKAGES) install: compile mkdir -p $(TARGET_DIR) -- 2.30.2