aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authoryangsonghua <jluyangsonghua@gmail.com>2025-04-14 16:14:36 +0800
committerTejun Heo <tj@kernel.org>2025-04-14 06:58:41 -1000
commit6d65f682a9f20ed26c822812129f191455002f1c (patch)
tree2b2ed6fea47e2bd7afb680da9bbf2dde6ebdc24e /scripts/lib/kdoc/kdoc_files.py
parentsched_ext: Make scx_has_op a bitmap (diff)
downloadwireguard-linux-6d65f682a9f20ed26c822812129f191455002f1c.tar.xz
wireguard-linux-6d65f682a9f20ed26c822812129f191455002f1c.zip
sched_ext: Improve cross-compilation support in Makefile
Modify the tools/sched_ext/Makefile to better handle cross-compilation environments by: 1. Fix host tools build directory structure by separating obj/ from output (HOST_BUILD_DIR now points to $(OBJ_DIR)/host/obj) 2. Properly propagate CROSS_COMPILE to libbpf sub-make invocation 3. Add missing $(HOST_BPFOBJ) build rule with proper host toolchain flags (ARCH=, CROSS_COMPILE=, explicit HOSTCC/HOSTLD) 4. Consistently quote $(HOSTCC) in bpftool build rule 5. Change LDFLAGS assignment to += to allow external extensions The changes ensure proper cross-compilation behavior while maintaining backward compatibility with native builds. Host tools are now correctly built with the host toolchain while target binaries use the cross-toolchain. Signed-off-by: yangsonghua <yangsonghua@lixiang.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions