[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/os/linux/linux-3.4.x/scripts/genksyms/Makefile b/ap/os/linux/linux-3.4.x/scripts/genksyms/Makefile
new file mode 100644
index 0000000..aca33b9
--- /dev/null
+++ b/ap/os/linux/linux-3.4.x/scripts/genksyms/Makefile
@@ -0,0 +1,14 @@
+
+hostprogs-y := genksyms
+always := $(hostprogs-y)
+
+genksyms-objs := genksyms.o parse.tab.o lex.lex.o
+
+# -I needed for generated C source (shipped source)
+HOSTCFLAGS_parse.tab.o := -I$(src)
+HOSTCFLAGS_lex.lex.o := -I$(src)
+
+# dependencies on generated files need to be listed explicitly
+$(obj)/lex.lex.o: $(obj)/keywords.hash.c $(obj)/parse.tab.h
+
+clean-files := keywords.hash.c lex.lex.c parse.tab.c parse.tab.h