summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/linux/module/driver_modules.lua
AgeCommit message (Collapse)Author
2026-04-23fix linux module intermediate filenamesririyeye
Generate linux module intermediate files from the target basename instead of the final .ko path so modpost reads hello.o rather than hello.ko.o. This avoids the bogus *.ko.ko module name and undefined symbol warnings reported in #5721. Made-with: Cursor
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
2024-12-16improve to parse linux module flagsruki
2024-12-13rename luarocks.module to lua.module, platform.linux.driver to ↵Wu, Zhenyu
platform.linux.module