summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/rules.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/rules.mk b/package/rules.mk
index 77a6595e8..37dc2a0ac 100644
--- a/package/rules.mk
+++ b/package/rules.mk
@@ -47,7 +47,7 @@ define Build/DefaultTargets
rm -f $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
package-rebuild: FORCE
- @-rm $(PKG_BUILD_DIR)/.built
+ @-rm -f $(PKG_BUILD_DIR)/.built
define Build/DefaultTargets
endef
@@ -211,8 +211,9 @@ define Build/Prepare
endef
define Build/Configure/Default
- @(cd $(PKG_BUILD_DIR); \
+ @(cd $(PKG_BUILD_DIR)/$(3); \
[ -x configure ] && \
+ $(2) \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \