Add newexternal modules to custom kernel

Building External Modules

I’m trying to add new external modules already compiled to the new Open Suse kernel and it seems that Im missing something. I was following the steps that can be seen below;
[]1. online repository enabled
sudo zypper ref
sudo zypper lu
sudo zypper up
]2.Command Syntax to add the externals modules
[*]2.1.The command to build an external module

	$ make -C <path_to_kernel_src> M=$PWD   ////Up to here its compiling without error 
            $ make -C /lib/modules/4.1.15-8-default/kernel/* SUBDIRS=$home/user/Development/Modules 

[*]2.2.To build against the running kernel

	$ make -C /lib/modules/`user -r`/build M=$home/user/Development/Modules

[*]2.3.Install the module(s) just built, add the target “modules” to the command:

	$ make -C /lib/modules/`user -r`/build M=$home/user/Development/Modules modules


I think I am missing the prebuilt kernel that contains the configuration and header files used in the build, because the folder “build” inside the “4.1.15-8-default” never was created as expected. So, when I trying to add the modules I alwais got an error message;
“/lib/modules/4.1.15-8-default/build: Not such a file or directory”


You in the wrong forum, these forum are for SUSE Linux Enterprise, not
openSUSE, you need to be over at same

Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 SP1|GNOME 3.10.4|3.12.53-60.30-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!