scripts: mkits.sh: Allow legacy @ mode for dts creation
authorDamien Mascord <tusker@tusker.org>
Mon, 19 Jul 2021 04:21:44 +0000 (14:21 +1000)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 23 Sep 2021 18:49:32 +0000 (20:49 +0200)
commitfd67908647390b916470501c88b4f5258123da95
tree98f1a3a76f3823541543acc913be1b804d03cf36
parent96e05e2e36fc3d0a893702a7c445aac0348320a4
scripts: mkits.sh: Allow legacy @ mode for dts creation

commit 5ec60cbe9d94 ("scripts: mkits.sh: replace @ with - in nodes")
broke support for Meraki MR32 and this patch makes the replacement
configurable allowing for specifying the @ or - or whatever character
that is desired to retain backwards compatibility with existing devices.

For example, this patch includes the fix for the Meraki MR32 in
target/linux/bcm53xx/image for meraki_mr32:

  DEVICE_DTS_DELIMITER := @
  DEVICE_DTS_CONFIG := config@1

Fixes: 5ec60cbe9d94 ("scripts: mkits.sh: replace @ with - in nodes")
Signed-off-by: Damien Mascord <tusker@tusker.org>
[Added tags, checkpatch.pl fixes, noted that this is for old stuff]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
include/image-commands.mk
scripts/mkits.sh
target/linux/bcm53xx/image/Makefile