1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-01-23 08:01:06 +02:00

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
This commit is contained in:
nbd 2006-06-16 21:39:42 +00:00
parent 373ee92409
commit 2311031bc3

View File

@ -47,7 +47,7 @@ define Build/DefaultTargets
rm -f $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed rm -f $(STAGING_DIR)/stampfiles/.$(PKG_NAME)-installed
package-rebuild: FORCE package-rebuild: FORCE
@-rm $(PKG_BUILD_DIR)/.built @-rm -f $(PKG_BUILD_DIR)/.built
define Build/DefaultTargets define Build/DefaultTargets
endef endef
@ -211,8 +211,9 @@ define Build/Prepare
endef endef
define Build/Configure/Default define Build/Configure/Default
@(cd $(PKG_BUILD_DIR); \ @(cd $(PKG_BUILD_DIR)/$(3); \
[ -x configure ] && \ [ -x configure ] && \
$(2) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \