summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/linux
AgeCommit message (Collapse)Author
2026-04-23fix linux driver final review issueririyeye
Drop the redundant newline normalization in kernel config checks because io.readfile() already returns newline-split content suitable for line-based matching. Made-with: Cursor
2026-04-23fix linux driver review follow-upsririyeye
Use target:is_cross() for kbuild probing, normalize module-common paths before comparing them, and check kernel configs line by line for clearer exact matches. Made-with: Cursor
2026-04-23fix linux driver cross compile detectionririyeye
Pass ARCH and CROSS_COMPILE for same-platform cross builds and derive the toolchain prefix from versioned gcc names so kbuild flag probing uses the correct target tools. Made-with: Cursor
2026-04-23fix linux module review follow-upsririyeye
Tighten kernel config detection to avoid prefix matches and share module-common.c lookup so dependency tracking and compilation stay aligned. Made-with: Cursor
2026-04-22fix linux module builds on kernel 6.12+ririyeye
Keep xmake's linux module rule aligned with modern kbuild so generated .ko files retain vermagic and modversion metadata required for loading on newer kernels.
2026-03-29improve const limit codesruki
2026-03-29fix const limit on lua5.5ruki
2025-07-10fix replace gcc/ldruki
2025-07-10fix ld #6613ruki
2025-07-03rename copyrightruki
2025-02-13fix platform.linux.moduleruki
2024-12-16improve to parse linux module flagsruki
2024-12-13Update xmake.luaruki
2024-12-13rename luarocks.module to lua.module, platform.linux.driver to ↵Wu, Zhenyu
platform.linux.module
2024-12-02Improve ccache toolstar9029
2024-10-27updateririyeye
2024-10-26add linux_builddir fix ko build errririyeye
2024-10-22fix linux-driver build errririyeye
2023-11-10fix modpost parameter of linux driver rulexi4oyu
2023-09-01revert on_changedruki
2023-09-01replace on_changedruki
2023-07-19Fix grammarwtz
2023-01-15install and uninstall driver modulesruki
2023-01-13fig bug 3279wangzhankun
2023-01-13translate fplugin dir #3279ruki
2022-09-28Cache key add archluna
2022-09-28Fix Linux driver multi-target build errorluna
2022-09-27fix linux driver for kernel 5.19+yintian
2022-09-22mark error as warning for modpostruki
2022-09-22improve kernel driverruki
2022-05-22improve more rulesruki
2022-04-17Update xmake.luaruki
2022-04-14update(rules/platform/linux/bpf): enforce -O2 when compiling BPFLeo Di Donato
To avoid compiler optimizations messing up with generated IR and BPF instructions is paramount to enforce the optimization level to 2 disregarding the mode (whether it is set to debug or release etc.) Signed-off-by: Leonardo Di Donato <[email protected]>
2022-01-05Update driver_modules.luaruki
2022-01-05Update driver_modules.luaruki
2022-01-05Update driver_modules.luaruki
2022-01-05improve driver modulesruki
2022-01-02improve driver modulesruki
2022-01-02fix linux driver for kernel 4.xruki
2022-01-01Update driver_modules.luaruki
2021-12-29fix linux driverruki
2021-12-29improve toolchain and linux driverruki
2021-12-24Update driver_modules.luaruki
2021-12-24Update driver_modules.luaruki
2021-12-18Update driver_modules.luaruki
2021-12-11add commentsruki
2021-12-11get ldflags from makeruki
2021-12-11improve to get cflags from makeruki
2021-12-11improve driver flagsruki
2021-12-11support arm64 for linux driverruki