libqmi: fix compile on build bots
authorSebastian Kemper <redacted>
Mon, 28 Oct 2019 18:36:15 +0000 (19:36 +0100)
committerSebastian Kemper <redacted>
Mon, 28 Oct 2019 18:36:18 +0000 (19:36 +0100)
commitb16766c0b7ebefb79c9548daacee3e996c95e7a0
treea7fda677e480ed875e86ee1518b330946266cf78
parent0cc57a1e9a31d17fcb03b8ec65d030a31a4086e6
libqmi: fix compile on build bots

On the OpenWrt build bots the compile currently fails:

cc1: error: /builder/shared-workdir/build/sdk/staging_dir/target-arm_cortex-a5+vfpv4_musl_eabi/include: No such file or directory [-Werror=missing-include-dirs]
cc1: all warnings being treated as errors

(Or rather, it _would_ fail like this if libmbim compiled successfully.)

The directory in question gets added to TARGET_CPPFLAGS by rules.mk.
Nothing usually gets installed to that directory, so unsurprisingly it
may not exist on the build bots.

On first glance this problem cannot be reproduced. But once autoreconf
is called this becomes possible.

If called without "--enable-more-warnings", configure adds -Werror to
the flags. This commit adds "--enable-more-warnings=yes" to the build.
This way the extra warnings are kept in place, but they aren't turned
into errors no more.

"PKG_FIXUP:=autoreconf" is also added so that it's easier to forecast
build failures on the build bots when preparing future pull request.

Last but not least "--disable-silent-rules" is added, because more
output is usually welcome for debugging, be it on the build bots or at
home/the office.

Signed-off-by: Sebastian Kemper <redacted>
libs/libqmi/Makefile
git clone https://git.99rst.org/PROJECT