fix 'check' compile on avr32

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12130 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2008-08-05 08:04:51 +00:00
parent 7f02d14097
commit 90262994c7

View File

@ -32,14 +32,8 @@ define Package/check/description
endef
define Build/Configure
(cd $(PKG_BUILD_DIR); \
if [ -x $(CONFIGURE_CMD) ]; then \
$(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
$(CONFIGURE_VARS) \
$(CONFIGURE_CMD) \
$(CONFIGURE_ARGS) ;\
fi \
)
$(CP) $(SCRIPT_DIR)/config.* $(PKG_BUILD_DIR)/build-aux/
$(call Build/Configure/Default)
endef
define Build/Compile