X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c59803ea632ea6d944f7abd18f03907e59eaf5bb..b106c80cfc406c0b16163e0570d2eeb088358426:/include/package.mk diff --git a/include/package.mk b/include/package.mk index 2d4e703f3..4e67e7324 100644 --- a/include/package.mk +++ b/include/package.mk @@ -16,15 +16,6 @@ include $(INCLUDE_DIR)/unpack.mk export CONFIG_SITE:=$(INCLUDE_DIR)/site/$(REAL_GNU_TARGET_NAME) -define shvar -V_$(subst .,_,$(subst -,_,$(subst /,_,$(1)))) -endef - -define shexport -$(call shvar,$(1))=$$(call $(1)) -export $(call shvar,$(1)) -endef - define Build/DefaultTargets ifeq ($(DUMP),) ifeq ($(CONFIG_AUTOREBUILD),y) @@ -290,7 +281,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 +337,7 @@ else $(PACKAGE_DIR): mkdir -p $@ - ifneq ($(strip $(PKG_SOURCE)),) + ifneq ($(strip $(PKG_SOURCE_URL)),) download: $(DL_DIR)/$(PKG_SOURCE) $(DL_DIR)/$(PKG_SOURCE):