liblockdep: Make missing function declarations fatal errors

This should catch use of missing kernel APIs.  Which has happened yet
again.
This commit is contained in:
Ben Hutchings 2017-10-01 15:29:03 +01:00
parent e2431bcb2f
commit 60879f2bae
2 changed files with 5 additions and 0 deletions

2
debian/changelog vendored
View File

@ -31,6 +31,8 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
* linux-image-dbg: Override lintian errors binary-from-other-architecture and
shlib-without-PT_GNU_STACK-section for vDSOs
* [armhf] dts: exynos: Add dwc3 SUSPHY quirk (Closes: #843448)
* liblockdep: Make missing function declarations fatal errors, to catch use
of missing kernel APIs
[ Uwe Kleine-König ]
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin

View File

@ -2,6 +2,9 @@ include $(top_rulesdir)/Makefile.inc
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# Catch use of missing kernel APIs early
CFLAGS += -Werror=implicit-function-declaration
MAKE_LOCKDEP := +$(MAKE) -C $(top_srcdir)/$(OUTDIR) O=$(CURDIR) V=1 \
prefix=/usr libdir_relative=lib/$(DEB_HOST_MULTIARCH) \
LIBLOCKDEP_VERSION=$(VERSION) \