aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/armvirt/Makefile
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-06-11 23:06:53 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-04 13:09:51 +0200
commit28d80068667baf9ae62da2044699b3bf6879b83f (patch)
tree14e780ad4640a0643f2f092f812719ae9938179f /target/linux/armvirt/Makefile
parentc54818e2051d5cbed74abd9f792ce0c482bd488e (diff)
downloadupstream-28d80068667baf9ae62da2044699b3bf6879b83f.tar.gz
upstream-28d80068667baf9ae62da2044699b3bf6879b83f.tar.bz2
upstream-28d80068667baf9ae62da2044699b3bf6879b83f.zip
gemini: Use library functions to assign MAC address
This simplifies the ethernet address extraction script by using standard library functions to locate the MTD partitions and extract ethernet address from a binary offset location in the flash. Furthermore, the aging ifconfig is replaced by the ip tool, which will now assign the MAC addresses. Suggested-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [ifconfig replacement, use -n instead of ! -z, -n requires string to be quoted within the test brackets, drop prepended "x" in check, add quotes, make local variables local, kill whitespaces] (cherry picked from commit cd6c3535cd2c7779a8d65f792c36082ee3822c11)
Diffstat (limited to 'target/linux/armvirt/Makefile')
0 files changed, 0 insertions, 0 deletions