mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
fix previous commit
SVN-Revision: 4716
This commit is contained in:
parent
7b8d2827f5
commit
a5b58128b0
@ -237,7 +237,7 @@ define BuildPackage
|
|||||||
clean: $(1)-clean
|
clean: $(1)-clean
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.version-$(1)_$(VERSION)_$(PKGARCH): $(PKG_BUILD_DIR)/.prepared
|
$(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 $$@
|
@touch $$@
|
||||||
|
|
||||||
$$(eval $$(call Build/DefaultTargets,$(1)))
|
$$(eval $$(call Build/DefaultTargets,$(1)))
|
||||||
@ -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,6 @@ define Build/Configure/Default
|
|||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
$(1); \
|
$(1); \
|
||||||
} || true; \
|
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user