add config symbols for the kernel version

SVN-Revision: 9520
This commit is contained in:
Felix Fietkau
2007-11-10 15:22:53 +00:00
parent 1423753198
commit 6e03b9ce43
2 changed files with 23 additions and 0 deletions

View File

@@ -138,6 +138,10 @@ $(call shvar,$(1))=$$(call $(1))
export $(call shvar,$(1))
endef
define confvar
$(foreach v,$(1),$(if $($(v)),y,n))
endef
# file extension
ext=$(word $(words $(subst ., ,$(1))),$(subst ., ,$(1)))