mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 22:26:31 +00:00
Change HOSTNAME to TARGET_HOSTNAME to avoid superseeding build host HOSTNAME
This commit is contained in:
parent
be089760c6
commit
e327a1f0a7
4
Makefile
4
Makefile
@ -157,7 +157,7 @@ TARGETS:=uclibc
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
PROJECT:=$(strip $(subst ",,$(BR2_PROJECT)))
|
PROJECT:=$(strip $(subst ",,$(BR2_PROJECT)))
|
||||||
HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
|
TARGET_HOSTNAME:=$(strip $(subst ",,$(BR2_HOSTNAME)))
|
||||||
BANNER:=$(strip $(subst ",,$(BR2_BANNER)))
|
BANNER:=$(strip $(subst ",,$(BR2_BANNER)))
|
||||||
|
|
||||||
|
|
||||||
@ -238,7 +238,7 @@ $(TARGET_DIR)/etc/issue: $(TARGET_DIR) .config
|
|||||||
echo "$(BANNER)" >> $(TARGET_DIR)/etc/issue
|
echo "$(BANNER)" >> $(TARGET_DIR)/etc/issue
|
||||||
|
|
||||||
$(TARGET_DIR)/etc/hostname: $(TARGET_DIR) .config
|
$(TARGET_DIR)/etc/hostname: $(TARGET_DIR) .config
|
||||||
echo "$(HOSTNAME)" > $(TARGET_DIR)/etc/hostname
|
echo "$(TARGET_HOSTNAME)" > $(TARGET_DIR)/etc/hostname
|
||||||
|
|
||||||
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
source: $(TARGETS_SOURCE) $(HOST_SOURCE)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user