openwrt/include
Paul Spooren 9fc79e2e26 download: don't overwrite VERSION variable
In package-defaults.mk the VERSION variable contains the final package
version, which is a combination of `PKG_VERSION`, `PKG_RELEASE` and if
used, parameters of `PKG_SOURCE_VERSION`. While this works fine for
building, within the package Makefile the content VERSION varies:

When building a package from a release tarball, the content of VERSION
contains the actual package version, however when building from source
(i.e. Git), the VERSION is overwritten by `PKG_SOURCE_VERSION`.

To fix the overwrite, this commit switches from `VERSION` in download.mk
to `SOURCE_VERSION` which isn't used anywhere else yet.

As a result, Makefiles may pass the package version to be included
inside the binary.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2024-04-29 08:39:25 +02:00
..
site generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
autotools.mk autotools: add list of fake paths to tools 2023-05-04 06:07:26 +02:00
bpf.mk treewide: make use of new toolchain define 2023-10-20 16:13:56 +02:00
cmake.mk treewide: make use of new toolchain define 2023-10-20 16:13:56 +02:00
debug.mk
depends.mk build: make find_md5 reproducible with AUTOREMOVE 2022-09-30 22:26:51 +02:00
device_table.txt
download.mk download: don't overwrite VERSION variable 2024-04-29 08:39:25 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk build: add option for building with stack-protector-all 2024-01-19 21:27:14 +01:00
host-build.mk host-build: fix stampfile name substitution per installed binaries 2024-04-25 21:33:51 +02:00
image-commands.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00
image.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00
kernel-5.15 kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
kernel-6.1 kernel: bump 6.1 to 6.1.86 2024-04-14 18:03:37 +02:00
kernel-6.6 kernel: bump 6.6 to 6.6.29 2024-04-28 21:51:03 +02:00
kernel-build.mk kernel-build.mk: add support for compiling only DTS 2024-02-08 19:57:28 +01:00
kernel-defaults.mk build: cache kernel module package compiling 2023-10-28 21:34:20 +02:00
kernel-version.mk kernel: fix wrong detection of Linux-Testing-Version in makefile DUMP 2023-05-31 20:28:40 +02:00
kernel.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00
logo.png
logo.svg
meson.mk tools/meson: static host and both libraries 2024-03-29 23:42:22 +01:00
netfilter.mk netfilter: add kmod-nf-conntrack 2023-02-18 17:12:30 +01:00
nls.mk nls.mk: fixup cmake packages 2022-11-27 00:52:06 +01:00
openssl-module.mk openssl: add legacy provider 2023-04-05 08:24:49 -03:00
package-bin.mk
package-defaults.mk treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
package-dumpinfo.mk packages: store URL in Manifest 2024-01-08 14:06:38 +01:00
package-ipkg.mk packages: store URL in Manifest 2024-01-08 14:06:38 +01:00
package-seccomp.mk
package.mk build: add support to use the mold linker for packages 2023-07-04 20:25:41 +02:00
prereq-build.mk Revert "prereq-build: add Python 3.12 support" 2023-11-13 23:33:40 +01:00
prereq.mk prereq: merge common cases in SetupHostCommand 2023-08-26 14:00:36 +02:00
quilt.mk quilt.mk: don't error on refresh/update if patches doesn't exist 2023-10-06 21:59:29 +02:00
rootfs.mk Revert "build: don't drop 'user' flag when using the ImageBuilder" 2024-02-23 15:59:09 +01:00
scan.awk
scan.mk scan.mk: do not silence output of dump phase 2023-11-13 14:01:24 +01:00
shell.sh
subdir.mk kernel-build.mk: add support for compiling only DTS 2024-02-08 19:57:28 +01:00
target.mk generic: groundwork for RISC-V 2023-05-28 13:19:10 +02:00
toolchain-build.mk toolchain: fix dangling symlink to self in FixupLibdir 2022-07-01 19:17:36 +02:00
toplevel.mk build: align SOURCE path for build system and SDK 2024-02-17 14:45:35 +01:00
trusted-firmware-a.mk trusted-firmware-a.mk: fix build with binutils 2.39+ 2023-01-21 11:55:23 +01:00
u-boot.mk u-boot.mk: override default PATH to avoid pick hostpkg python 2024-03-02 14:17:31 +01:00
uclibc++.mk
unpack.mk include: use libdeflate's gzip to decompress 2023-01-17 21:40:18 +01:00
verbose.mk verbose.mk: fallback to standard file descriptors 2024-01-05 16:25:14 +01:00
version.mk treewide: remove implicit SUBTARGET 2024-04-08 21:53:05 +02:00