summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-30 10:26:30 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-08-30 10:26:30 +0000
commitc9b650c269c7dcc5383b4b614ccfe80fbaf6576c (patch)
treec61f1baeb92e6c51d20298b3a6ded778b6b763f6
parenteac6330602f08ef254803e17c7bde2ed22f5c7b8 (diff)
fix previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4716 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/package.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/package.mk b/include/package.mk
index ce3c4b6a1..8d9050930 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -237,7 +237,7 @@ define BuildPackage
clean: $(1)-clean
$(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared
- -rm $(PKG_BUILD_DIR)/.version-$(1)_*
+ -@rm $(PKG_BUILD_DIR)/.version-$(1)_* 2>/dev/null
@touch $$@
$$(eval $$(call Build/DefaultTargets,$(1)))
@@ -263,7 +263,7 @@ endef
define Build/Configure/Default
@(cd $(PKG_BUILD_DIR)/$(3); \
- [ -x configure ] && { \
+ [ \! -x configure ] || \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
@@ -287,7 +287,6 @@ define Build/Configure/Default
--infodir=/usr/info \
$(DISABLE_NLS) \
$(1); \
- } || true; \
)
endef