Change HOSTNAME to TARGET_HOSTNAME to avoid superseeding build host HOSTNAME
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 12 Jul 2007 15:28:58 +0000 (15:28 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Thu, 12 Jul 2007 15:28:58 +0000 (15:28 -0000)
Makefile

index d32807265f5706e562ff6d97a9d369acb8c8bcf9..9ddf17cc62708e9b636834c5c12ed4ca3da1d488 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -156,9 +156,9 @@ else
 TARGETS:=uclibc
 endif
 
-PROJECT:=$(strip $(subst ",, $(BR2_PROJECT)))
-HOSTNAME:=$(strip $(subst ",, $(BR2_HOSTNAME)))
-BANNER:=$(strip $(subst ",, $(BR2_BANNER)))
+PROJECT:=$(strip $(subst ",,$(BR2_PROJECT)))
+TARGET_HOSTNAME:=$(strip $(subst ",,$(BR2_HOSTNAME)))
+BANNER:=$(strip $(subst ",,$(BR2_BANNER)))
 
 
 include toolchain/Makefile.in
@@ -238,7 +238,7 @@ $(TARGET_DIR)/etc/issue:    $(TARGET_DIR) .config
        echo "$(BANNER)"        >> $(TARGET_DIR)/etc/issue
 
 $(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)