bridge-utils: various build fixes (musl & CFLAGS)

bridge-utils suffers from a few problems:
- doesn't build on musl
- doesn't respect CFLAGS
- build errors are silently ignored
- doesn't support parallel make

All of these are addressed with the included patches.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
André Draszik
2016-07-20 23:56:18 +01:00
committed by Joe MacDonald
parent 9fb484ed57
commit 8b28f076f9
6 changed files with 287 additions and 3 deletions
@@ -1,8 +1,13 @@
require bridge-utils.inc
SRC_URI += "file://kernel-headers.patch"
PARALLEL_MAKE = ""
SRC_URI += "\
file://kernel-headers.patch \
file://0001-build-error-out-correctly-if-a-submake-fails.patch \
file://0002-libbridge-fix-some-build-time-warnings-fcntl.h.patch \
file://0003-bridge-fix-some-build-time-warnings-errno.h.patch \
file://0004-libbridge-add-missing-include-s-fix-build-against-mu.patch \
file://0005-build-don-t-ignore-CFLAGS-from-environment.patch \
"
LIC_FILES_CHKSUM = "file://COPYING;md5=f9d20a453221a1b7e32ae84694da2c37"