aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/image/common-buffalo.mk
diff options
context:
space:
mode:
authorINAGAKI Hiroshi <musashino.open@gmail.com>2018-10-07 20:37:42 +0900
committerMathias Kresin <dev@kresin.me>2018-10-07 15:44:19 +0200
commitd745eac636f017d8a6ac2091746c985fcd8d2851 (patch)
tree1e548af06c6331e8eadad0a03f55109caa286342 /target/linux/ath79/image/common-buffalo.mk
parentadbd9d1f1f07f77b0f511027c1cfea87cefe47be (diff)
downloadupstream-d745eac636f017d8a6ac2091746c985fcd8d2851.tar.gz
upstream-d745eac636f017d8a6ac2091746c985fcd8d2851.tar.bz2
upstream-d745eac636f017d8a6ac2091746c985fcd8d2851.zip
ath79: add hwver parameter to buffalo-tag
In order to be able to set the value of "hardware version" other than "3", I added the "hwver" parameter. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Diffstat (limited to 'target/linux/ath79/image/common-buffalo.mk')
-rw-r--r--target/linux/ath79/image/common-buffalo.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ath79/image/common-buffalo.mk b/target/linux/ath79/image/common-buffalo.mk
index a756f8448b..8870af691e 100644
--- a/target/linux/ath79/image/common-buffalo.mk
+++ b/target/linux/ath79/image/common-buffalo.mk
@@ -8,8 +8,9 @@ endef
define Build/buffalo-tag
$(eval product=$(word 1,$(1)))
+ $(eval hwver=$(word 2,$(1)))
$(STAGING_DIR_HOST)/bin/buffalo-tag \
- -c 0x80041000 -d 0x801e8000 -w 3 \
+ -c 0x80041000 -d 0x801e8000 -w $(hwver) \
-a ath -v 1.99 -m 1.01 -f 1 \
-b $(product) -p $(product) \
-r M_ -l mlang8 \