svn commit: trunk/buildroot
Author: ulf
Date: 2007-07-12 08:28:58 -0700 (Thu, 12 Jul 2007) New Revision: 19073
Log:
Change HOSTNAME to TARGET_HOSTNAME to avoid superseeding build host HOSTNAME
Modified:
trunk/buildroot/Makefile
Changeset:
Modified: trunk/buildroot/Makefile
===================================================================
buildroot/Makefile +4 -4
@@ -156,9 +156,9 @@ 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 @@ 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)