[oe] OE Staging ABI Change Warning

Richard Purdie rpurdie at rpsys.net
Fri Feb 29 18:04:10 UTC 2008


On Fri, 2008-02-29 at 18:24 +0100, Leon Woestenberg wrote:
> excellent work and plan of attack.

Thanks :)

> The patch looks quite sane to me (although I'm not familiar with all
> the pesky little details), and found one thing that I couldn't grasp:
> 
> +++ classes/sdk.bbclass 3d79f34a1ba3589e0d005c39cdaa6758bf8507f4
> @@ -6,15 +6,15 @@ HOST_ARCH = "${BUILD_ARCH}"
>  PACKAGE_ARCH = "${BUILD_ARCH}-${OLD_PACKAGE_ARCH}-sdk"
> 
>  HOST_ARCH = "${BUILD_ARCH}"
> -HOST_VENDOR = "${BUILD_VENDOR}"
> +HOST_VENDOR = "${TARGET_VENDOR}"
> 
> Could you explain why this must be TARGET_VENDOR instead of BUILD_VENDOR?

Its a little bit hacky but there is a good reason. Basically you don't
want -native and -sdk packages in the same directory. If you don't
change that here, they will trample on each other in staging.

Poky's currently using that as a workaround and Poky makes the most
extensive use of -sdk packages the metadata has seen so its better than
the current position in OE.dev. I don't claim its the best solution
though ;-).

Cheers,

Richard





More information about the Openembedded-devel mailing list