[oe] [PATCH] cross.bbclass: Override STAGING_* paths to match cross installation
Richard Purdie
rpurdie at rpsys.net
Mon Aug 9 11:12:40 UTC 2010
Hi Khem,
On Sun, 2010-08-08 at 23:44 -0700, Khem Raj wrote:
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
> classes/cross.bbclass | 8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
>
> diff --git a/classes/cross.bbclass b/classes/cross.bbclass
> index cf14db1..64f7902 100644
> --- a/classes/cross.bbclass
> +++ b/classes/cross.bbclass
> @@ -50,6 +50,14 @@ exec_prefix = "${prefix}"
> base_sbindir = "${base_prefix}/bin"
> sbindir = "${exec_prefix}/bin"
>
> +# staging should be special for cross
> +STAGING_BINDIR = "${bindir}"
> +STAGING_LIBDIR = "${libdir}"
> +STAGING_INCDIR = "${includedir}"
> +STAGING_ETCDIR = "${sysconfdir}"
> +STAGING_DATADIR = "${datadir}"
> +STAGING_SBINDIR = "${sbindir}"
> +
> do_install () {
> oe_runmake 'DESTDIR=${D}' install
> }
Can you explain a bit more about why is this needed?
Cheers,
Richard
More information about the Openembedded-devel
mailing list