Skip to contentSkip to conversation

poky-tiny: enable section removal

PATCH Sinan Kaya 3 participants 7 messages Nov 16, 2020 – Nov 17, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Sinan Kaya

author
#1 lore raw

Richard,

Quoted 9 lines · Sinan Kaya

Use GCC sections flags so that unused sections can be garbage collected at link time.

---
 meta-poky/conf/distro/include/gcsections.inc | 22 ++++++++++++++++++++
 meta-poky/conf/distro/poky-tiny.conf         |  2 ++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-poky/conf/distro/include/gcsections.inc

How is v7 looking?

It built for me yesterday.

Sinan

#2 lore raw
Quoted 14 lines · Sinan Kaya

Richard,

Quoted 10 lines · Sinan Kaya

Use GCC sections flags so that unused sections can be garbage collected at link time.

---
 meta-poky/conf/distro/include/gcsections.inc | 22
++++++++++++++++++++
 meta-poky/conf/distro/poky-tiny.conf         |  2 ++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-poky/conf/distro/include/gcsections.inc
Quoted 3 lines

How is v7 looking?

It built for me yesterday.

Sorry, I've not got around to testing it yet...

Cheers,

Richard

#3 lore raw
In reply to Sinan Kaya
Quoted 14 lines · Sinan Kaya

Richard,

Quoted 10 lines · Sinan Kaya

Use GCC sections flags so that unused sections can be garbage collected at link time.

---
 meta-poky/conf/distro/include/gcsections.inc | 22
++++++++++++++++++++
 meta-poky/conf/distro/poky-tiny.conf         |  2 ++
 2 files changed, 24 insertions(+)
 create mode 100644 meta-poky/conf/distro/include/gcsections.inc
Quoted 3 lines

How is v7 looking?

It built for me yesterday.

This version did pass on the autobuilder :)

Cheers,

Richard

author
#4 lore raw
Quoted 4 lines · Richard Purdie
Quoted 3 lines

How is v7 looking?

It built for me yesterday.

This version did pass on the autobuilder :)

Awesome, thanks.

#5 lore raw
Quoted 7 lines · Sinan Kaya
Quoted 4 lines · Richard Purdie
Quoted 3 lines

How is v7 looking?

It built for me yesterday.

This version did pass on the autobuilder :)

Awesome, thanks.

Just to be clear, was the plan to merge this, or create an inc file in OE-Core which poky-tiny then includes? I wasn't sure what the end result of the discussion was...

Cheers,

Richard

author
#6 lore raw

+Khem,

Quoted 4 lines · Richard Purdie
Quoted 3 lines · Sinan Kaya
Quoted 2 lines · Richard Purdie
Quoted 2 lines

How is v7 looking?

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

It built for me yesterday.

This version did pass on the autobuilder :)

Awesome, thanks.

Just to be clear, was the plan to merge this, or create an inc file in OE-Core which poky-tiny then includes? I wasn't sure what the end result of the discussion was...

I think it was both to create an inc file to be used by other distros as well as add to tiny distro with a require statement.

I followed the same design pattern as lto. Let me know if you need me to refactor something.

Quoted 5 lines

Cheers,

Richard

#7 lore raw
Quoted 16 lines · Sinan Kaya

+Khem,

Quoted 4 lines · Richard Purdie
Quoted 3 lines · Sinan Kaya
Quoted 2 lines · Richard Purdie
Quoted 2 lines

How is v7 looking?

Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Quoted 1 line

It built for me yesterday.

This version did pass on the autobuilder :)

Awesome, thanks.

Just to be clear, was the plan to merge this, or create an inc file in OE-Core which poky-tiny then includes? I wasn't sure what the end result of the discussion was...

Quoted 5 lines

I think it was both to create an inc file to be used by other distros as well as add to tiny distro with a require statement.

I followed the same design pattern as lto. Let me know if you need me to refactor something.

Sounds good to me include file in Oe core and a require statement in tiny distro config

Quoted 9 lines
Quoted 7 lines

Cheers,

Richard