tools/sdimage: Fix build with host Linux headers < 3.18
[openwrt/staging/dedeckeh.git] / tools / sdimage / patches / 100-deactivate-ufb.patch
diff --git a/tools/sdimage/patches/100-deactivate-ufb.patch b/tools/sdimage/patches/100-deactivate-ufb.patch
new file mode 100644 (file)
index 0000000..2bf6ad2
--- /dev/null
@@ -0,0 +1,13 @@
+Deactivate ufb, this needs the UAPI Linux kernel headers from >= 3.18, 
+this tools is currently not used, so just remove it for now.
+
+--- a/Makefile
++++ b/Makefile
+@@ -1,6 +1,6 @@
+ CC ?= $(CROSS_COMPILE)gcc
+ BINDIR ?= /usr/sbin
+-PROGRAMS = uuc sdimage ufb
++PROGRAMS = uuc sdimage
+ LIBS ?= -lpthread
+ all: $(PROGRAMS)