2023-11-27 06:04:04 +08:00
|
|
|
GRUB_SERIAL:=$(call qstrip,$(CONFIG_TARGET_SERIAL))
|
2023-09-14 00:09:43 +08:00
|
|
|
ifeq ($(GRUB_SERIAL),)
|
2023-11-27 06:04:04 +08:00
|
|
|
$(error This platform requires CONFIG_TARGET_SERIAL be set!)
|
2023-09-14 00:09:43 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
define Package/base-files/install-target
|
|
|
|
|
$(SED) "s#@GRUB_SERIAL@#$(GRUB_SERIAL)#" $(1)/etc/inittab
|
|
|
|
|
endef
|