libpayload: Move .xcompile into $(obj)
commit1823d53cbf9fc1d7fb695c881695880f48801d9c
authorNico Huber <nico.h@gmx.de>
Mon, 16 Nov 2020 21:50:49 +0000 (16 22:50 +0100)
committerNico Huber <nico.h@gmx.de>
Fri, 1 Jan 2021 21:30:44 +0000 (1 21:30 +0000)
treef1887bd87070fb60adae222e3f43f1b07781717a
parentc4f8fbdb11ca891e844903643a44cfa6c5bb8871
libpayload: Move .xcompile into $(obj)

Keep libpayload's xcompile in its build dir. While we are at it,
align things with the top-level version.

Having `.xcompile` in a central place led to race conditions when
multiple payloads try to build their own libpayloads in parallel.

Change-Id: I504e1862db79b368289867f7568c9169f27a1549
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47651
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
payloads/libpayload/Makefile
payloads/libpayload/Makefile.inc
payloads/libpayload/sample/Makefile