This change updates the PKG_BUILD_DIR variable, so the build directory generated in build_dir/* when overriding the version shows the version number defined in the .config, rather than the version defined in the Makefile.
Signed-off-by: Mathieu Olivari <math...@qca.qualcomm.com> --- include/package-version-override.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/package-version-override.mk b/include/package-version-override.mk index 2c1741e..b60115f 100644 --- a/include/package-version-override.mk +++ b/include/package-version-override.mk @@ -5,6 +5,7 @@ PKG_VERSION_ORGINAL:=$(PKG_VERSION) ifeq ($(CONFIG_$(PKG_NAME)_USE_CUSTOM_VERSION),y) PKG_VERSION:=$(call qstrip,$(CONFIG_$(PKG_NAME)_CUSTOM_VERSION)) PKG_SOURCE:=$(subst $(PKG_VERSION_ORGINAL),$(PKG_VERSION),$(PKG_SOURCE)) +PKG_BUILD_DIR:=$(subst $(PKG_VERSION_ORGINAL),$(PKG_VERSION),$(PKG_BUILD_DIR)) PKG_MD5SUM:= endif -- 1.7.10.4 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel