aboutsummaryrefslogtreecommitdiff
path: root/project/project.mk
blob: b33f90181aaf99bbdda39a6aaf6e3787cb5a4d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY:	target-host-info

target-host-info: $(TARGET_DIR)/etc/issue $(TARGET_DIR)/etc/hostname

$(TARGET_DIR)/etc/issue:	.config
	mkdir -p $(TARGET_DIR)/etc
	echo ""			>  $(TARGET_DIR)/etc/issue
	echo "" 		>> $(TARGET_DIR)/etc/issue
	echo "$(BANNER)"	>> $(TARGET_DIR)/etc/issue

$(TARGET_DIR)/etc/hostname:	.config
	mkdir -p $(TARGET_DIR)/etc
	echo "$(TARGET_HOSTNAME)" > $(TARGET_DIR)/etc/hostname