summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-08-30 10:30:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-08-30 10:30:14 +0000
commit2dc6d4d78145ed3bb0f470c09a0e832f93419aff (patch)
tree5ea82059ee48de15052e3a6c4946e3ad19efdf41
parenta5b58128b02ec8e542abe1adb596a3099eb8e10a (diff)
downloadmtk-20170518-2dc6d4d78145ed3bb0f470c09a0e832f93419aff.zip
mtk-20170518-2dc6d4d78145ed3bb0f470c09a0e832f93419aff.tar.gz
mtk-20170518-2dc6d4d78145ed3bb0f470c09a0e832f93419aff.tar.bz2
use an if block on the whole configure command
SVN-Revision: 4717
-rw-r--r--openwrt/include/package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk
index 8d90509..9a947f3 100644
--- a/openwrt/include/package.mk
+++ b/openwrt/include/package.mk
@@ -263,7 +263,7 @@ endef
define Build/Configure/Default
@(cd $(PKG_BUILD_DIR)/$(3); \
- [ \! -x configure ] || \
+ if [ -x configure ]; then \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
@@ -287,6 +287,7 @@ define Build/Configure/Default
--infodir=/usr/info \
$(DISABLE_NLS) \
$(1); \
+ fi; \
)
endef