Skip to content

poison TARGET_CFLAGS etc for native builds

Andre McCurdy openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4grub2.inc: dont export TARGET_CFLAGS etc to grub2 configuremeta/recipes-bsp/grub/grub2.inc+7 -10 replies
2/4grub2.inc: avoid passing -isystem to native buildsmeta/recipes-bsp/grub/grub2.inc+9 -00 replies
3/4grub2.inc: drop bogus dependency on xzmeta/recipes-bsp/grub/grub2.inc+1 -10 replies
4/4native.bbclass: poison TARGET_CFLAGS etc for native buildsmeta/classes/native.bbclass+12 -42 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] poison TARGET_CFLAGS etc for native builds

The first patch fixes known problems with grub-efi-native incorrectly leaking target flags into the native build.

The second and third patches fix related grub2.inc issues.

The final patch is the important change. It doesn't highlight and new problems (ie apart from grub-efi-native) for my typical builds, but needs wider testing.

Andre McCurdy (4):
grub2.inc: dont export TARGET_CFLAGS etc to grub2 configure grub2.inc: avoid passing -isystem to native builds grub2.inc: drop bogus dependency on xz native.bbclass: poison TARGET_CFLAGS etc for native builds

 meta/classes/native.bbclass     | 16 ++++++++++++----
 meta/recipes-bsp/grub/grub2.inc | 19 +++++++++++++++++--
 2 files changed, 29 insertions(+), 6 deletions(-)
Signature · 1 line
1.9.1