meta-openembedded/meta-networking
Mingli Yu c41fb791fa
openipmi: Pass BUILD_CFLAGS to BUILD_CC
* The option -fcanon-prefix-map is added to CFLAGS after the commit [1]
introduced and result in the below build error.
  Making all in sdrcomp
  make[3]: Entering directory '/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37/lanserv/sdrcomp'
aarch64-wrs-linux-gcc  -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot -DHAVE_CONFIG_H -I. -I../..  -DSTATEDIR='"/var"'  -Wall -Wsign-compare -I../../include -I../../lanserv -I../../utils -O2 -g -fcanon-prefix-map  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot=  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot-native=  -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c -o sdrcomp.o sdrcomp.c
gcc  -o sdrcomp_build ../../lanserv/sdrcomp/sdrcomp.c -O2 -g -fcanon-prefix-map  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/sources/OpenIPMI-2.0.37=/usr/src/debug/openipmi/2.0.37  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot=  -ffile-prefix-map=/tmp/work/cortexa57-wrs-linux/openipmi/2.0.37/recipe-sysroot-native=  -pipe -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wsign-compare -I../../include -I../../lanserv -I../../utils -lm
  gcc: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’?

* Pass BUILD_CFLAGS for BUILD_CC to fix the above build issue.

[1] https://git.openembedded.org/openembedded-core/commit/?id=3dbc4a79f01ebfc54da024c1460c06772659088d

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-05 17:01:11 -08:00
..
classes Revert "waf-samba.bbclass: adapt to qemu.bbclass refactoring" 2025-05-29 22:28:02 -07:00
conf python3-scapy: fix ptests 2025-10-28 23:31:28 -07:00
dynamic-layers/meta-python meta-openembedded/all: adapt to UNPACKDIR changes 2025-06-25 06:44:52 -07:00
files ntp: Add missing 'ntp' static group id 2024-02-17 10:26:58 -08:00
licenses meta-networking/licenses/netperf: remove unused license 2023-04-28 06:59:50 -07:00
recipes-connectivity libdaq: upgrade 3.0.22 -> 3.0.23 2025-12-02 09:22:49 -08:00
recipes-core meta-networking-image-ptest-all: Do not run PTESTS_PROBLEMS_META_NETWORKING 2025-04-12 10:11:32 -07:00
recipes-daemons postfix: upgrade 3.10.5 -> 3.10.6 2025-12-02 09:22:49 -08:00
recipes-devtools libcoap: upgrade 4.3.5 -> 4.3.5a 2025-12-04 06:06:46 -08:00
recipes-extended corosync: upgrade 3.1.9 -> 3.1.10 2025-11-18 08:23:42 -08:00
recipes-filter nftables: remove python dependency from main package 2025-12-05 10:13:23 -08:00
recipes-irc znc: upgrade 1.8.2 -> 1.10.1 2025-09-24 14:17:45 -07:00
recipes-kernel/wireguard meta-openembedded/all: adapt to UNPACKDIR changes 2025-06-25 06:44:52 -07:00
recipes-protocols net-snmp: Update Upstream-status in the net-snmp-5.9.4-kernel-6.7.patch 2025-12-05 10:46:53 -08:00
recipes-support openipmi: Pass BUILD_CFLAGS to BUILD_CC 2025-12-05 17:01:11 -08:00
COPYING.MIT
MAINTAINERS MAINTANERS: drop netkit 2023-11-15 09:51:45 -08:00
README.md README: drop netkit maintainer 2023-11-15 09:51:45 -08:00
SECURITY.md meta: Add SECURITY.md file to all layers 2024-11-23 09:00:14 -08:00

meta-networking

This layer is intended to be a central point for networking-related packages and configuration. It should be useful directly on top of oe-core and compliments meta-openembedded. It should be primarily useful to the following groups:

  - Anyone building a small networking device (eg. a home router /
    bridge / switch).

  - Anyone wanting to add network services to their device (eg.
    anything that might benefit from a small ftp/tftp server)

Dependencies

This layer depends on:

URI: git://git.openembedded.org/openembedded-core branch: master

For some recipes, the meta-oe layer is required:

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-oe branch: master

URI: git://git.openembedded.org/meta-openembedded subdirectory: meta-python branch: master

Maintenance

Layer maintainers: Khem Raj raj.khem@gmail.com

Please see the MAINTAINERS file for information on contacting the maintainers of this layer, as well as instructions for submitting patches.