backport [5261] to whiterussian sdk
authorNicolas Thill <nico@openwrt.org>
Tue, 24 Oct 2006 10:42:53 +0000 (10:42 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 24 Oct 2006 10:42:53 +0000 (10:42 +0000)
SVN-Revision: 5274

openwrt/package/sdk/files/include/package.mk

index c1811c5f27d9f65f30066006ff7c759d09f0069c..af0ef20d9ac773fbad60e6eaa753c01f071c7e5a 100644 (file)
@@ -280,7 +280,7 @@ define Build/Prepare
 endef
 
 define Build/Configure/Default
-       (cd $(PKG_BUILD_DIR)/$(3); \
+       (cd $(PKG_BUILD_DIR)/$(strip $(3)); \
        if [ -x configure ]; then \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \