Re: [PATCH] build: Use build context for custom commands

2023-09-13 Thread Chris Johns
On 13/9/2023 6:52 pm, Sebastian Huber wrote: > On 13.09.23 09:20, Chris Johns wrote: >> On 13/9/2023 4:18 pm, Sebastian Huber wrote: >>> >>> On 13.09.23 03:12, Chris Johns wrote: On 12/9/2023 5:55 pm, Sebastian Huber wrote: > On 12.09.23 09:43, Chris Johns wrote: > Setting

Re: [PATCH] build: Use build context for custom commands

2023-09-13 Thread Sebastian Huber
On 13.09.23 09:20, Chris Johns wrote: On 13/9/2023 4:18 pm, Sebastian Huber wrote: On 13.09.23 03:12, Chris Johns wrote: On 12/9/2023 5:55 pm, Sebastian Huber wrote: On 12.09.23 09:43, Chris Johns wrote: Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the configuration file

Re: [PATCH] build: Use build context for custom commands

2023-09-13 Thread Chris Johns
On 13/9/2023 4:18 pm, Sebastian Huber wrote: > > > On 13.09.23 03:12, Chris Johns wrote: >> On 12/9/2023 5:55 pm, Sebastian Huber wrote: >>> On 12.09.23 09:43, Chris Johns wrote: >>> Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the >>> configuration >>> file

Re: [PATCH] build: Use build context for custom commands

2023-09-13 Thread Sebastian Huber
On 13.09.23 03:12, Chris Johns wrote: On 12/9/2023 5:55 pm, Sebastian Huber wrote: On 12.09.23 09:43, Chris Johns wrote: Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the configuration file always worked. Great. I am seeing: OPTIMIZATION_FLAGS = -O2 -g -fdata-sections

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Chris Johns
On 12/9/2023 5:55 pm, Sebastian Huber wrote: > On 12.09.23 09:43, Chris Johns wrote: > Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the > configuration > file always worked. Great. I am seeing: OPTIMIZATION_FLAGS = -O2 -g -fdata-sections

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Sebastian Huber
On 12.09.23 09:43, Chris Johns wrote: Setting OPTIMIZATION_FLAGS and TEST_OPTIMIZATION_FLAGS through the configuration file always worked. Great. I am seeing: OPTIMIZATION_FLAGS = -O2 -g -fdata-sections -ffunction-sections and data sections is an optimisation however does it complicates

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Chris Johns
On 12/9/2023 5:32 pm, Sebastian Huber wrote: > On 12.09.23 08:49, Chris Johns wrote: >> On 12/9/2023 2:15 pm, Sebastian Huber wrote: >>> On 12.09.23 03:26, Chris Johns wrote: On 11/9/2023 7:37 pm, Sebastian Huber wrote: > Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Thank

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Sebastian Huber
On 12.09.23 08:49, Chris Johns wrote: On 12/9/2023 2:15 pm, Sebastian Huber wrote: On 12.09.23 03:26, Chris Johns wrote: On 11/9/2023 7:37 pm, Sebastian Huber wrote: Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Thank you for picking this up. Does this change let the user control

Re: [PATCH] build: Use build context for custom commands

2023-09-12 Thread Chris Johns
On 12/9/2023 2:15 pm, Sebastian Huber wrote: > On 12.09.23 03:26, Chris Johns wrote: >> On 11/9/2023 7:37 pm, Sebastian Huber wrote: >>> Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. >> Thank you for picking this up. >> >> Does this change let the user control TEST_OPTIMIZATION_FLAGS and

Re: [PATCH] build: Use build context for custom commands

2023-09-11 Thread Sebastian Huber
On 12.09.23 03:26, Chris Johns wrote: On 11/9/2023 7:37 pm, Sebastian Huber wrote: Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Thank you for picking this up. Does this change let the user control TEST_OPTIMIZATION_FLAGS and OPTIMIZATION_FLAGS via a BSP setting in config.ini? No,

Re: [PATCH] build: Use build context for custom commands

2023-09-11 Thread Chris Johns
On 11/9/2023 7:37 pm, Sebastian Huber wrote: > Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Thank you for picking this up. Does this change let the user control TEST_OPTIMIZATION_FLAGS and OPTIMIZATION_FLAGS via a BSP setting in config.ini? Chris

[PATCH] build: Use build context for custom commands

2023-09-11 Thread Sebastian Huber
Revert duplicated listing of TEST_OPTIMIZATION_FLAGS. Close #4947. --- spec/build/testsuites/grp.yml | 1 - spec/build/testsuites/libtests/dl01.yml | 3 +-- spec/build/testsuites/libtests/dl02.yml | 3 +-- spec/build/testsuites/libtests/dl03.yml | 3 +--