klcc-cross: force rebuild for each MACHINE of the same arch

In case of subsequent builds for machines belonging to the same arch
we have to rebuild the klcc-cross wrapper because it is harcoding
the path to the headers in machine sysroot.
This hack is necessary to avoid to mark the klibc infrastructure as
machine-specific.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
This commit is contained in:
Andrea Adami
2014-02-26 22:49:57 +01:00
committed by Paul Eggleton
parent 8089aa4518
commit 56dde5189f

View File

@@ -28,3 +28,9 @@ do_package_write_ipk[noexec] = "1"
do_package_write_rpm[noexec] = "1"
do_package_write_deb[noexec] = "1"
do_package_write_tar[noexec] = "1"
# The linux-libc-headers and klibc custom headers are not machine-specific
# but are installed into machine sysroot.
# Klcc wrapper is hardcoding som eof these paths thus, to keep te recipe
# arch-specific, we force the rebuild of klcc-cross for each machine.
do_compile[vardeps] += "MACHINE"