Commit f3d7bea6 authored by croniccorey's avatar croniccorey

MAKEFILE: Add recipe to display version (make version)

parent 9dea37df
......@@ -124,6 +124,13 @@ savedefconfig:
source:
@$(MAKE) O=$(OUTPUT_DIR) BR2_EXTERNAL=$(EXTERNAL_DIR) $@ -C $(BR_TOP_DIR)
version:
@echo "--------------------------------------------------------------------------------"
@echo
@echo "EmbER $(EMBER_VERSION)~$(EMBER_GIT_REV)"
@echo
@echo "--------------------------------------------------------------------------------"
%-build:
@$(MAKE) O=$(OUTPUT_DIR) BR2_EXTERNAL=$(EXTERNAL_DIR) `basename -s -build $@` -C $(BR_TOP_DIR)
......@@ -164,6 +171,7 @@ help:
@echo ' contributors - list contributors (make contributors)'
@echo ' license - display license (make license)'
@echo ' source - download sources for offline build (make source)'
@echo ' version - display version (make version)'
@echo
@echo ' Available Configs:'
@$(foreach b, $(sort $(notdir $(wildcard $(EXTERNAL_DIR)/configs/*_defconfig))), \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment