From 4082a1a645d26f7d1a5789c5cd415fc0eb73acca Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Tue, 20 May 2014 17:37:36 +1000 Subject: coreutils: Fix build for microblaze * microblaze does not correctly define __ELF__, coreutils is expecting it to be defined for ELF platforms. * Define __ELF__ in CPPFLAGS specifically for microblaze Signed-off-by: Nathan Rossi --- recipes-core/coreutils/coreutils_8.%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-core/coreutils/coreutils_8.%.bbappend diff --git a/recipes-core/coreutils/coreutils_8.%.bbappend b/recipes-core/coreutils/coreutils_8.%.bbappend new file mode 100644 index 00000000..ff1050c4 --- /dev/null +++ b/recipes-core/coreutils/coreutils_8.%.bbappend @@ -0,0 +1,4 @@ + +# MicroBlaze does not correctly define __ELF__ despite being an ELF platform +CPPFLAGS_microblaze += " -D__ELF__ " + -- cgit v1.2.3-54-g00ecf