aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-06-16 21:39:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-06-16 21:39:42 +0000
commit3cd2c124098928222f70b5c2f979aca26e5466ea (patch)
treeba3d057bb94a24598240ac4df272a36d50d1f630 /package
parent95fe483ca526ba5b91139be9fdf719cf2d2aa0db (diff)
downloadupstream-3cd2c124098928222f70b5c2f979aca26e5466ea.tar.gz
upstream-3cd2c124098928222f70b5c2f979aca26e5466ea.tar.bz2
upstream-3cd2c124098928222f70b5c2f979aca26e5466ea.zip
use rm -f in package-rebuild and add extra options to the default configure template
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3965 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 77a6595e82..37dc2a0ac6 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" \