VioletGiraffe Posted February 10 Share Posted February 10 Hi, I'm new to Armbian and this is my first time ever compiling any Linux system. I'm sorry to bother you with such a basic question, but I just don't understand. I want to enable a kernel module. Upon browsing the kernel configuration utility menus, I don't see this functionality anywhere. But if I run search with '/', I find this, this is the module I want: How do I now proceed to enable it? Or make sure that it's enabled (if present by default)? Also, what's the meaning of =y and =m? It's listed in the resulting .config file as =y, just as the search shows. 0 Quote Link to comment Share on other sites More sharing options...
Solution Werner Posted February 10 Solution Share Posted February 10 Hi, =y means the driver/functionality is directly compiled into the kernel =m means it will be built and made available as kernel module 1 Quote Link to comment Share on other sites More sharing options...
VioletGiraffe Posted February 11 Author Share Posted February 11 Thank you very much, that explains it. One nitpick, definitely not worth a separate thread. compile.sh suggested that I should first run it with the "kernel-config" option, and after it runs, it says to build using make. But that doesn't work as no makefiles are created. The two-stage process (first configure, then compile) makes a lot of sense to me, but how to run the second stage? 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted February 11 Share Posted February 11 There are actual two ways. You can use ./compile.sh KERNEL_CONFIGURE=yes which will continue to assemble an image with the modified config file which is more user friendly. On the other hand there is ./compile.sh kernel-config which will export the modified kernel config into output/ folder and stops there which is more developer friendly. If you chose latter route you need to move the exported config to userpatches or overwrite the one in config/kernel/. Once you done that simply execute ./compile.sh and the modified config will be used. 1 Quote Link to comment Share on other sites More sharing options...
VioletGiraffe Posted February 11 Author Share Posted February 11 (edited) Thanks! So everything works fine, it's only the "run make" instruction that's misleading. Other than that, I have successfully compiled Armbian and it runs perfectly! Edited February 11 by VioletGiraffe 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted February 11 Share Posted February 11 Just curious. Where did you read something about "run make"? 0 Quote Link to comment Share on other sites More sharing options...
VioletGiraffe Posted February 12 Author Share Posted February 12 (edited) It is the last line of output from compile.sh when it's invoked with kernel-config Edited February 12 by VioletGiraffe 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.