summaryrefslogtreecommitdiffstats
path: root/debian/rules.d/scripts/kconfig/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules.d/scripts/kconfig/Makefile')
-rw-r--r--debian/rules.d/scripts/kconfig/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/rules.d/scripts/kconfig/Makefile b/debian/rules.d/scripts/kconfig/Makefile
new file mode 100644
index 000000000..1fc248f29
--- /dev/null
+++ b/debian/rules.d/scripts/kconfig/Makefile
@@ -0,0 +1,13 @@
+PROGS = conf
+
+include $(top_rulesdir)/Makefile.inc
+
+conf: conf.o zconf.tab.o
+
+zconf.tab.c: kconf_id.c zconf.lex.c
+
+%.lex.c: %.l
+ flex -o$@ -L $<
+
+%.tab.c: %.y
+ bison -o$@ -t -l $<