Skip to content

Instantly share code, notes, and snippets.

@novafacing
Created November 1, 2023 18:30
Show Gist options
  • Save novafacing/d41c93eb77aca9c66b46eefd2e6155ef to your computer and use it in GitHub Desktop.
Save novafacing/d41c93eb77aca9c66b46eefd2e6155ef to your computer and use it in GitHub Desktop.
Some Notes On Building Out-Of-Tree Kernel Modules With Buildroot

Note 1

Your Config.in file...it needs to have a newline after endmenu, if you have menu. So basically:

menu "Kernel Modules"
    source "$BR2_EXTERNAL_TEST_KERNEL_MODULES_PATH/package/kernel-modules/test-mod/Config.in"
endmenu

Now, this might make sense if all Config.in needed this newline, but they don't! The error is pretty arcane too, it complains about endmenu in different file than menu or some such thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment