sandbox: Fix building with LLVM
authorTom Rini <trini@konsulko.com>
Sat, 5 Mar 2016 19:07:44 +0000 (14:07 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 8 Mar 2016 20:01:46 +0000 (15:01 -0500)
commit699946ae61d52547113ccfc5bdca116d4ade3c6f
tree1c26b7f192746fe8e5ac05b357fd50a8065ef0de
parent22d90d560a2b01c47f180e196e6c6485eb8e65db
sandbox: Fix building with LLVM

- The macro __BIGGEST_ALIGNMENT__ is gcc-specific.  If it is not defined
  we'll just assume 16.  This is correct for at least the common cases
  and LLVM does not provide an equivalent macro.
- When linking U-Boot we're passing -T to the linker, and while gcc will
  just pass this along with LLVM we need to be specific.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/config.mk
arch/sandbox/include/asm/cache.h