Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-20 Thread Sanjuán García , Jorge via lists . openembedded . org
So with this patch applied we would get this CFLAGS on sysconfigdata on the build directory: 'CFLAGS': '-fno-strict-overflow ' '-Wsign-compare ' '-DNDEBUG ' '-g ' '-O3 ' '-Wall ' '-O2 ' '-g ' '-fcanon-prefix-

Re: [OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-20 Thread Sanjuán García , Jorge via lists . openembedded . org
Hello, Thanks for the quick reply. Let me provide some details of my findings: So the original DEBUG_PREFIX_MAP variable is a list of space separated values: ``` builder@bc2576acfe0e:/build/tmp/work/core2-64-oe-linux/python3/3.13.2$ bitbake-getvar DEBUG_PREFIX_MAP -r python3 # # $DEBUG_PREFIX_

[OE-core] [PATCH] python3: Remove DEBUG_PREFIX_MAP from sysconfigdata

2025-02-19 Thread Sanjuán García , Jorge via lists . openembedded . org
Paths in DEBUG_PREFIX_MAP are not being removed from sysconfigdata files correctly as they are split into line separated values. Update the sed command so that it uses any matching patern from DEBUG_PREFIX_MAP instead an exact match of the full variable. Signed-off-by: Jorge Sanjuan Garcia --- m