aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-06 17:47:41 +0200
committerMathias Kresin <dev@kresin.me>2018-08-08 08:11:11 +0200
commit38877d88731037a5708051b0ecaad7da82ca1c84 (patch)
treeb7ddd5d46ab3f62c7c7b7a0b79d344c2493d11ac
parent1edba538a97fe8a17a388a43506fe562533b02ed (diff)
downloadupstream-38877d88731037a5708051b0ecaad7da82ca1c84.tar.gz
upstream-38877d88731037a5708051b0ecaad7da82ca1c84.tar.bz2
upstream-38877d88731037a5708051b0ecaad7da82ca1c84.zip
ath79: mark netgear variables as device specific
The variables are used in image build recipes and need to be marked as per devices vars to be stored individual per image define. Otherwise the last defined variable will be used for all boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
-rw-r--r--target/linux/ath79/image/common-netgear.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ath79/image/common-netgear.mk b/target/linux/ath79/image/common-netgear.mk
index ca4e005689..5dfcd38a92 100644
--- a/target/linux/ath79/image/common-netgear.mk
+++ b/target/linux/ath79/image/common-netgear.mk
@@ -1,3 +1,5 @@
+DEVICE_VARS += NETGEAR_KERNEL_MAGIC NETGEAR_BOARD_ID NETGEAR_HW_ID
+
define Build/netgear-squashfs
rm -rf $@.fs $@.squashfs
mkdir -p $@.fs/image