mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
netmap-modules: Modules may not have the same arch as userspace
Kernel modules may not have the same architecture as user space. So we tell INSANE_SKIP to skip checking the arch for the modules. This is consistent with other kernel modules and the kernel recipe. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
7879f8c306
commit
b830b52364
|
|
@ -39,6 +39,11 @@ python __anonymous () {
|
|||
|
||||
extra_oeconf_drivers = bb.utils.contains_any('NETMAP_DRIVERS', all_drivers_list, config_drivers, '--no-drivers', d)
|
||||
d.appendVar("EXTRA_OECONF", extra_oeconf_drivers)
|
||||
|
||||
# skip the arch test for kernel modules
|
||||
if drivers_list:
|
||||
for driver in drivers_list:
|
||||
d.setVar("INSANE_SKIP_kernel-module-%s-netmap" % bb.utils.prune_suffix(driver, ['.c'], d), "arch")
|
||||
}
|
||||
|
||||
LDFLAGS := "${@'${LDFLAGS}'.replace('-Wl,-O1', '')}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user