summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openwrt/package/uclibc++/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/openwrt/package/uclibc++/Makefile b/openwrt/package/uclibc++/Makefile
index 9e071c511..2dac7a7ff 100644
--- a/openwrt/package/uclibc++/Makefile
+++ b/openwrt/package/uclibc++/Makefile
@@ -39,7 +39,8 @@ $(PKG_BUILD_DIR)/.configured:
$(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
- $(TARGET_CONFIGURE_OPTS) CROSS="$(TARGET_CROSS)" \
+ $(TARGET_CONFIGURE_OPTS) \
+ CROSS="$(TARGET_CROSS)" \
all
touch $@
@@ -51,7 +52,7 @@ $(IPKG_UCLIBCXX):
$(IPKG_BUILD) $(IDIR_UCLIBCXX) $(PACKAGE_DIR)
compile: install-dev
-install-dev:
+install-dev: $(PKG_BUILD_DIR)/.built
$(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) CROSS="$(TARGET_CROSS)" \
DESTDIR="$(STAGING_DIR)" \