Browse Source

add version string, will be used later

Waldemar Brodkorb 9 years ago
parent
commit
6b23d45ca3
2 changed files with 6 additions and 0 deletions
  1. 1 0
      rules.mk
  2. 5 0
      target/appliances/default.options

+ 1 - 0
rules.mk

@@ -25,6 +25,7 @@ SET_DASHX:=		:
 endif
 
 # Strip off the annoying quoting
+ADK_APPLIANCE_VERSION:=			$(strip $(subst ",, $(ADK_APPLIANCE_VERSION)))
 ADK_TARGET_ARCH:=			$(strip $(subst ",, $(ADK_TARGET_ARCH)))
 ADK_TARGET_SYSTEM:=			$(strip $(subst ",, $(ADK_TARGET_SYSTEM)))
 ADK_TARGET_BOARD:=			$(strip $(subst ",, $(ADK_TARGET_BOARD)))

+ 5 - 0
target/appliances/default.options

@@ -0,0 +1,5 @@
+config ADK_APPLIANCE_VERSION
+	prompt "version string"
+	string
+	help
+	  Configure version for appliance