generic: 6.1, 6.6: replace Airoha EN8811H PHY driver with upstream
[openwrt/openwrt.git] / target / linux / x86 / base-files.mk
1 GRUB_SERIAL:=$(call qstrip,$(CONFIG_TARGET_SERIAL))
2 ifeq ($(GRUB_SERIAL),)
3 $(error This platform requires CONFIG_TARGET_SERIAL be set!)
4 endif
5
6 define Package/base-files/install-target
7 $(SED) "s#@GRUB_SERIAL@#$(GRUB_SERIAL)#" $(1)/etc/inittab
8 endef