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:
parent
e2431bcb2f
commit
60879f2bae
|
@ -31,6 +31,8 @@ linux (4.13.4-1~exp1) UNRELEASED; urgency=medium
|
||||||
* linux-image-dbg: Override lintian errors binary-from-other-architecture and
|
* linux-image-dbg: Override lintian errors binary-from-other-architecture and
|
||||||
shlib-without-PT_GNU_STACK-section for vDSOs
|
shlib-without-PT_GNU_STACK-section for vDSOs
|
||||||
* [armhf] dts: exynos: Add dwc3 SUSPHY quirk (Closes: #843448)
|
* [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 ]
|
[ Uwe Kleine-König ]
|
||||||
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
|
* [arm64] really enable NET_DSA_MV88E6XXX for Espressobin
|
||||||
|
|
|
@ -2,6 +2,9 @@ include $(top_rulesdir)/Makefile.inc
|
||||||
|
|
||||||
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
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 \
|
MAKE_LOCKDEP := +$(MAKE) -C $(top_srcdir)/$(OUTDIR) O=$(CURDIR) V=1 \
|
||||||
prefix=/usr libdir_relative=lib/$(DEB_HOST_MULTIARCH) \
|
prefix=/usr libdir_relative=lib/$(DEB_HOST_MULTIARCH) \
|
||||||
LIBLOCKDEP_VERSION=$(VERSION) \
|
LIBLOCKDEP_VERSION=$(VERSION) \
|
||||||
|
|
Loading…
Reference in New Issue