Skip to contentSkip to conversation

Moving PACKAGE_EXTRA_ARCHS to include/tune-*

RFC Koen Kooi 4 participants 4 messages Oct 22, 2008

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

Hi,

Currently we set PACKAGE_EXTRA_ARCH in each machine, but nearly all entries could get moved to the tune-* files.

So

PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"

Will move from beagleboard.conf to tune-cortexa8.conf but it will use '+=' instead of '=' so machines can still do PACKAGE_EXTRA_ARCHS = "someleetarch"

Comments, suggestions?

regards,

Koen

#1 lore raw
Quoted 14 lines · Koen Kooi

Hi,

Currently we set PACKAGE_EXTRA_ARCH in each machine, but nearly all entries could get moved to the tune-* files.

So

PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"

Will move from beagleboard.conf to tune-cortexa8.conf but it will use '+=' instead of '=' so machines can still do PACKAGE_EXTRA_ARCHS = "someleetarch"

Comments, suggestions?

regards,

Quoted 7 lines

Koen

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

I think this is a good idea. We should aim to keep machine.conf files as small as possible and PACKAGE_EXTRA_ARCH is more cpu specific than machine specific.

Regards,
Thomas

#2 lore raw
In reply to Koen Kooi

Wednesday 22 of October 2008 11:19:25 Koen Kooi napisał(a):

Quoted 10 lines

Currently we set PACKAGE_EXTRA_ARCH in each machine, but nearly all entries could get moved to the tune-* files.

So

PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a"

Will move from beagleboard.conf to tune-cortexa8.conf but it will use '+=' instead of '=' so machines can still do PACKAGE_EXTRA_ARCHS = "someleetarch"

+1 from me as this should make it easier for people who adds new machines.

Regards,

Signature · 3 lines
JID:      [email protected]
Website:  http://blog.haerwu.biz/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
#3 lore raw
In reply to Koen Kooi
Quoted 5 lines · Koen Kooi

So
PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6 armv7 armv7a" Will move from beagleboard.conf to tune-cortexa8.conf but it will use '+=' instead of '=' so machines can still do PACKAGE_EXTRA_ARCHS = "someleetarch"

This is a bit off topic, but we also need a way to include extra staging paths for these architectures to PATH and PKG_CONFIG_PATH (and maybe more). It would be nice to fix it on architecture or classes level.

See my last week mail "mplayer: PATH=...STAGING_BINDIR_CROSS not sufficient with complex PACKAGE_ARCH".

Signature · 2 lines
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus