uclibc: re-enable verbose compilation

uClibc-ng swapped the meaning of V=1 and V=2 in 2015 before
the 1.0.3 release.

Before that, V=2 printed the full commands while V=1 printed the
abbreviated versions.

This recipe was never updated to follow the change and we since
see brief build output only.

At the same time, convert V from an environment variable to
a make variable by adding to EXTRA_OEMAKE, so as to be in
line with how things are done in other recipes that use
kbuild.

(From OE-Core rev: 4ff37b9a55b1239e339e7d93a2ad6e0c71971345)

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
André Draszik
2016-06-24 16:30:11 +01:00
committed by Richard Purdie
parent c1dafd10d8
commit 0412b6d90d

View File

@@ -52,13 +52,11 @@ EXTRA_OEMAKE = "${OEMAKE_NO_CC} \
'HOSTCC=${BUILD_CC}' \
'HOST_CFLAGS=${BUILD_CFLAGS}' \
'CC=${CC}' \
ARCH=${UCLIBC_ARCH}"
ARCH=${UCLIBC_ARCH} \
V=1"
EXTRA_OEMAKE_task_do_package = "${OEMAKE_NO_CC}"
# enable verbose output:
export V="2"
# -O<n> -fno-omit-frame-pointer ends up with GCC ICE on thumb as reported
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44860
#