aboutsummaryrefslogtreecommitdiffstats
path: root/tools/sdimage
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-12-16 13:57:01 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-12-16 14:03:35 +0100
commit02324da2063305d28ccda73ceb7eec68cf84b36c (patch)
tree4f17395df0f5498e8dae65145c19deb93fa5e1e6 /tools/sdimage
parent9e7c4702a1f4e49113d10bc736f50e8a06bdb8ba (diff)
downloadupstream-02324da2063305d28ccda73ceb7eec68cf84b36c.tar.gz
upstream-02324da2063305d28ccda73ceb7eec68cf84b36c.tar.bz2
upstream-02324da2063305d28ccda73ceb7eec68cf84b36c.zip
tools/sdimage: Fix build with host Linux headers < 3.18
The ufb tool needs the host UAPI Linux headers from kernel 3.18 or later, remove it for now as it is not used anyway. Fixes: 4bf5c4395b3 ("tools/sdimage: update to latest git version") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'tools/sdimage')
-rw-r--r--tools/sdimage/patches/100-deactivate-ufb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/sdimage/patches/100-deactivate-ufb.patch b/tools/sdimage/patches/100-deactivate-ufb.patch
new file mode 100644
index 0000000000..2bf6ad2bdf
--- /dev/null
+++ b/tools/sdimage/patches/100-deactivate-ufb.patch
@@ -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)