From: Johannes Berg Date: Fri, 5 Apr 2013 08:21:21 +0000 (+0200) Subject: build system: handle int Kconfig options in autoconf header X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=98e3dc151cfda4f214a4f13976fcbd1f4a6ed2e0;p=openwrt%2Fstaging%2Fblogic.git build system: handle int Kconfig options in autoconf header Add a line of shell script code to handle int Kconfig options when creating the autoconf header. Signed-off-by: Johannes Berg --- diff --git a/backport/Makefile.real b/backport/Makefile.real index 07eb8fc45573..954fc8691d98 100644 --- a/backport/Makefile.real +++ b/backport/Makefile.real @@ -65,6 +65,7 @@ include/linux/compat_autoconf.h: .config y) echo "#define $$n 1" ;; \ m) echo "#define $${n}_MODULE 1" ;; \ \"*) echo "#define $$n $$v" ;; \ + [0-9]*) echo "#define $$n $$v" ;; \ *) echo "#warning unknown value for $$n";;\ esac ;\ done ;\