iproute2: Add lex/yacc files dependencies. Refresh other patches.
[openwrt/staging/chunkeey.git] / package / iproute2 / patches / 050-bison_flex_makefile_deps_fix.patch
diff --git a/package/iproute2/patches/050-bison_flex_makefile_deps_fix.patch b/package/iproute2/patches/050-bison_flex_makefile_deps_fix.patch
new file mode 100644 (file)
index 0000000..5688f37
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/tc/Makefile
++++ b/tc/Makefile
+@@ -95,6 +95,8 @@ MODDESTDIR := $(DESTDIR)$(patsubst /usr%
+ all: libtc.a tc $(TCSO)
++$(TCOBJ): emp_ematch.yacc.c emp_ematch.lex.c
++
+ tc: $(TCOBJ) $(LIBNETLINK) $(LIBUTIL) $(TCLIB)
+ libtc.a: $(TCLIB)