To build the kernel I just followed the process detailed here:
https://help.ubuntu.com/community/Kernel/Compile
Basically: sudo apt-get build-dep linux-image-`uname -r` sudo apt-get source linux-image-`uname -r` add CONFIG_MEMSTICK=m to debian/config/i386/config AUTOBUILD=1 NOEXTRAS=1 skipabi=true fakeroot debian/rules binary-generic
Then I copied the newly-built modules from kernel/drivers/memstick to /lib/modules/...
I did not use the make command at all, though I suppose that method should work as well.
To build the kernel I just followed the process detailed here:
https:/ /help.ubuntu. com/community/ Kernel/ Compile
Basically: config/ i386/config
sudo apt-get build-dep linux-image-`uname -r`
sudo apt-get source linux-image-`uname -r`
add CONFIG_MEMSTICK=m to debian/
AUTOBUILD=1 NOEXTRAS=1 skipabi=true fakeroot debian/rules binary-generic
Then I copied the newly-built modules from kernel/ drivers/ memstick to /lib/modules/...
I did not use the make command at all, though I suppose that method should work as well.