diff options
author | Paul Spooren <mail@aparcar.org> | 2019-07-16 13:56:08 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-08-22 12:50:41 +0200 |
commit | 4ee3cf2b5aedbaf9631dd14cd4f1011407b91789 (patch) | |
tree | 0de057d2d78740650a1bd918a5b9e28f01e456a4 /target/linux/lantiq/image/Makefile | |
parent | bd01346bb463d371627739fad539310ef5bd4146 (diff) | |
download | upstream-4ee3cf2b5aedbaf9631dd14cd4f1011407b91789.tar.gz upstream-4ee3cf2b5aedbaf9631dd14cd4f1011407b91789.tar.bz2 upstream-4ee3cf2b5aedbaf9631dd14cd4f1011407b91789.zip |
build: introduce ALT vendor/model/variant
Some devices are produced and sold under different names. To debloat
the buildroot but keeping it complete, new variables are introduced to
handle different namings. Below an example taken from a recent PR[0]
DEVICE_VENDOR := Arcadyan
DEVICE_MODEL := ARV4520PW
DEVICE_ALT0_VENDOR := Vodafone
DEVICE_ALT0_MODEL := Easybox 800
DEVICE_ALT1_VENDOR := Airties
DEVICE_ALT1_MODEL := WAV-281
With this commit the buildroot is extended to take care of up to three
alternative namings. The primary title plus alternatives names (if
defined) are shown in the `make menuconfig` dialog. Selecting on of
devices automatically selects all alternative names as they share the
same profile.
A list of the newly introduced variables:
DEVICE_ALT0_VENDOR :=
DEVICE_ALT0_MODEL :=
DEVICE_ALT0_VARIANT :=
DEVICE_ALT1_VENDOR :=
DEVICE_ALT1_MODEL :=
DEVICE_ALT1_VARIANT :=
DEVICE_ALT2_VENDOR :=
DEVICE_ALT2_MODEL :=
DEVICE_ALT2_VARIANT :=
[0]: https://github.com/openwrt/openwrt/pull/2229/files#diff-b436f01932a18876c27800ba183d95f6R140
Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/linux/lantiq/image/Makefile')
0 files changed, 0 insertions, 0 deletions