Skip to contentSkip to conversation

how to build EXTERNAL kernel module with “inherit module externalsrc”

DISCUSSION chenheyun 1 participant 1 message Aug 7, 2024

lore
Share & tools
lore

chenheyun

author
#0 lore raw

hi all:
i have a problem。
i want build EXTERNAL kernel module and module src is outside。 just like this:
“
inherit module externalsrc
EXTERNALSRC:pn-x = "/xxx/source/kernel-modules" EXTERNALSRC_BUILD:pn-x = "${S}"
do_compile[dirs]= "${S}"
do_install[dirs]= "${S}"
”

i dont want build tmp in my source code. but EXTERNAL kernel module will create tmp data in my source code.