X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c59803ea632ea6d944f7abd18f03907e59eaf5bb..11f6a780e57e9febfa701f688575dfc79cc1f970:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 2d4e703f3..5636b0b6a 100644 --- a/include/package.mk +++ b/include/package.mk @@ -290,7 +290,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)" \ @@ -346,7 +346,7 @@ else $(PACKAGE_DIR): mkdir -p $@ - ifneq ($(strip $(PKG_SOURCE)),) + ifneq ($(strip $(PKG_SOURCE_URL)),) download: $(DL_DIR)/$(PKG_SOURCE) $(DL_DIR)/$(PKG_SOURCE):