fix 'check' compile on avr32
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 08:04:51 +0000 (08:04 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Aug 2008 08:04:51 +0000 (08:04 +0000)
SVN-Revision: 12130

libs/check/Makefile

index 2af107b..2d24080 100644 (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