target: Make TARGET_SERIAL independent of GRUB configuration
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Nov 2023 22:04:04 +0000 (23:04 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 29 Nov 2023 22:43:01 +0000 (23:43 +0100)
commit4211eab085ba38be024dc27731ee8135a671a8e8
tree9b8ec4da635135663cb7dc990bde0dad120af28f
parent6c118efc01a65c064934ec41b8108cb45e00c128
target: Make TARGET_SERIAL independent of GRUB configuration

GRUB_SERIAL is also used for the default serial on the target and not
only in grub. When no grub was build it was not available and the build
fails.

Rename GRUB_SERIAL to TARGET_SERIAL and make it always available on x86
and armsr targets.

Fixes: #14063
Fixes: b10768476f9d ("x86,armsr: interpolate GRUB_SERIAL into /etc/inittab")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-images.in
target/linux/armsr/base-files.mk
target/linux/armsr/image/Makefile
target/linux/x86/base-files.mk
target/linux/x86/image/Makefile