mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 21:58:04 +00:00
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: 4bf5c4395b
("tools/sdimage: update to latest git version")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
9e7c4702a1
commit
02324da206
13
tools/sdimage/patches/100-deactivate-ufb.patch
Normal file
13
tools/sdimage/patches/100-deactivate-ufb.patch
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user