mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-25 08:13:20 +02:00
only run trap error code in the configure template, if the configure script was not found
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4715 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
91637acf54
commit
eac6330602
@ -263,7 +263,7 @@ endef
|
|||||||
|
|
||||||
define Build/Configure/Default
|
define Build/Configure/Default
|
||||||
@(cd $(PKG_BUILD_DIR)/$(3); \
|
@(cd $(PKG_BUILD_DIR)/$(3); \
|
||||||
[ -x configure ] && \
|
[ -x configure ] && { \
|
||||||
$(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" \
|
||||||
@ -287,7 +287,7 @@ define Build/Configure/Default
|
|||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
$(1); \
|
$(1); \
|
||||||
true; \
|
} || true; \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user