diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-28 23:27:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-29 10:40:18 +0000 |
commit | 29a6810aad27e049577d2d66690ba74f92dd5211 (patch) | |
tree | b26c5f3505475599cdc17a630f1a88baa62c4775 /meta/recipes-core | |
parent | a4ebe0f6efc8ed93521e75919f23821f59934c1f (diff) | |
download | openembedded-core-29a6810aad27e049577d2d66690ba74f92dd5211.tar.gz openembedded-core-29a6810aad27e049577d2d66690ba74f92dd5211.tar.bz2 openembedded-core-29a6810aad27e049577d2d66690ba74f92dd5211.zip |
coreutils: Fix out of tree builds
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/coreutils/coreutils_8.21.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.21.bb b/meta/recipes-core/coreutils/coreutils_8.21.bb index e789f59f0b..88561c773a 100644 --- a/meta/recipes-core/coreutils/coreutils_8.21.bb +++ b/meta/recipes-core/coreutils/coreutils_8.21.bb @@ -39,6 +39,11 @@ base_bindir_progs = "cat chgrp chmod chown cp date dd echo false kill ln ls mkdi sbindir_progs= "chroot" +# Deal with a separate builddir failure if src doesn't exist when creating version.c/version.h +do_compile_prepend () { + mkdir -p ${B}/src +} + do_install_append() { for i in df mktemp base64; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${BPN}; done |