diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-22 15:55:43 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2021-02-25 18:11:06 +0100 |
commit | ef2cb8572b48f1e1964b4d1d014d16cb721b5175 (patch) | |
tree | 595fb4d12164bfa78c653c897428002ec69dfd1d /target/linux/ath25 | |
parent | 198385b69de14494e282035a2293fc253f839864 (diff) | |
download | upstream-ef2cb8572b48f1e1964b4d1d014d16cb721b5175.tar.gz upstream-ef2cb8572b48f1e1964b4d1d014d16cb721b5175.tar.bz2 upstream-ef2cb8572b48f1e1964b4d1d014d16cb721b5175.zip |
treewide: rename IMAGE_PREFIX/IMAGE_NAME to DEVICE_IMG_*
We so far had two variables IMG_PREFIX and IMAGE_PREFIX with
different content. Since these names are obviously quite
confusing, this patch renames the latter to DEVICE_IMG_PREFIX,
as it's a device-dependent variable, while IMG_PREFIX is only
(sub)target-dependent.
For consistency, also rename IMAGE_NAME to DEVICE_IMG_NAME, as
that's a device-dependent variable as well.
Cc: Paul Spooren <mail@aparcar.org>
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ath25')
-rw-r--r-- | target/linux/ath25/image/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ath25/image/Makefile b/target/linux/ath25/image/Makefile index a072f2408a..2b22d54105 100644 --- a/target/linux/ath25/image/Makefile +++ b/target/linux/ath25/image/Makefile @@ -67,7 +67,7 @@ define Device/generic IMAGE/kernel.lzma := elf-kernel | lzma-kernel IMAGE/rootfs.bin := append-rootfs | pad-rootfs | pad-to 128k IMAGE/sysupgrade.bin := append-rootfs | pad-rootfs | pad-to 128k | combined-image - IMAGE_NAME = $$(IMAGE_PREFIX)-$$(if $$(findstring kernel,$$(2)),,$$(1)-)$$(2) + DEVICE_IMG_NAME = $$(DEVICE_IMG_PREFIX)-$$(if $$(findstring kernel,$$(2)),,$$(1)-)$$(2) endef TARGET_DEVICES += generic |