diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-05-20 17:37:36 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2014-05-20 17:37:36 +1000 |
commit | 4082a1a645d26f7d1a5789c5cd415fc0eb73acca (patch) | |
tree | 74d3843fa9331e395724b5e29123a951091c4657 /recipes-core | |
parent | 40cc38eecdbc10e364d6ed33dd55923ebc09e834 (diff) | |
download | meta-xilinx-4082a1a645d26f7d1a5789c5cd415fc0eb73acca.tar.gz |
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 <nathan.rossi@xilinx.com>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/coreutils/coreutils_8.%.bbappend | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
1 | |||
2 | # MicroBlaze does not correctly define __ELF__ despite being an ELF platform | ||
3 | CPPFLAGS_microblaze += " -D__ELF__ " | ||
4 | |||