Thread (37 messages) flat view 37 messages, 4 authors, 2021-03-15

Re: [dpdk-dev] [PATCH v6] build: kni cross-compilation support

From: Thomas Monjalon <hidden>
Date: 2021-03-15 22:45:25

11/02/2021 13:59, Juraj Linkeš:
The kni linux module is using a custom target for building, which
doesn't take into account any cross compilation arguments. The arguments
in question are ARCH, CROSS_COMPILE (for gcc, clang) and CC, LD (for
clang). Get those from the cross file and pass them to the custom
target.

The user supplied path may not contain the 'build' directory, such as
when using cross-compiled headers, so only append that in the default
case (when no path is supplied in native builds) and use the unmodified
path from the user otherwise. Also modify the install path accordingly.

Signed-off-by: Juraj Linkeš <redacted>
Reviewed-by: Bruce Richardson <redacted>
Applied, thanks


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help