Explorar o código

add version string, will be used later

Waldemar Brodkorb %!s(int64=10) %!d(string=hai) anos
pai
achega
6b23d45ca3
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  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