change defaults to check for configure script (avoids defining a null rule otherwise)
authorMike Baker <mbm@openwrt.org>
Tue, 9 May 2006 23:32:56 +0000 (23:32 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 9 May 2006 23:32:56 +0000 (23:32 +0000)
SVN-Revision: 3747

openwrt/package/rules.mk

index 17f6c61ef3917614269c4512eebcd3e0d6ef9655..3f79b9f6be1fe08834413a883bf311990e79fdc5 100644 (file)
@@ -188,6 +188,7 @@ endef
 
 define Build/Configure/Default
        (cd $(PKG_BUILD_DIR); \
+       [ -x configure ] && \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
                ./configure \