mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-07 10:27:42 +00:00
target/generic: /etc/{hostname,issue}: work around quotes in kconfig
Otherwise the targets will always run. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
b1ba675c85
commit
d31c7723ae
@ -7,6 +7,8 @@ TARGET_SKELETON=target/generic/target_busybox_skeleton
|
|||||||
TARGET_DEVICE_TABLE=target/generic/mini_device_table.txt
|
TARGET_DEVICE_TABLE=target/generic/mini_device_table.txt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
TARGET_GENERIC_HOSTNAME:=$(call qstrip,$(BR2_TARGET_GENERIC_HOSTNAME))
|
||||||
|
TARGET_GENERIC_ISSUE:=$(call qstrip,$(BR2_TARGET_GENERIC_ISSUE))
|
||||||
TARGET_GENERIC_GETTY:=$(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT))
|
TARGET_GENERIC_GETTY:=$(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT))
|
||||||
TARGET_GENERIC_GETTY_BAUDRATE:=$(call qstrip,$(BR2_TARGET_GENERIC_GETTY_BAUDRATE))
|
TARGET_GENERIC_GETTY_BAUDRATE:=$(call qstrip,$(BR2_TARGET_GENERIC_GETTY_BAUDRATE))
|
||||||
|
|
||||||
@ -22,11 +24,11 @@ target-generic-getty:
|
|||||||
$(SED) '/# GENERIC_SERIAL$$/s~^.*#~$(TARGET_GENERIC_GETTY)::respawn:/sbin/getty -L $(TARGET_GENERIC_GETTY) $(TARGET_GENERIC_GETTY_BAUDRATE) vt100 #~' \
|
$(SED) '/# GENERIC_SERIAL$$/s~^.*#~$(TARGET_GENERIC_GETTY)::respawn:/sbin/getty -L $(TARGET_GENERIC_GETTY) $(TARGET_GENERIC_GETTY_BAUDRATE) vt100 #~' \
|
||||||
$(TARGET_DIR)/etc/inittab
|
$(TARGET_DIR)/etc/inittab
|
||||||
|
|
||||||
ifneq ($(BR2_TARGET_GENERIC_HOSTNAME),)
|
ifneq ($(TARGET_GENERIC_HOSTNAME),)
|
||||||
TARGETS += target-generic-hostname
|
TARGETS += target-generic-hostname
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_TARGET_GENERIC_ISSUE),)
|
ifneq ($(TARGET_GENERIC_ISSUE),)
|
||||||
TARGETS += target-generic-issue
|
TARGETS += target-generic-issue
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user