I've found the drivers and added them. When it came time to re compile the kernel it errors out right away:
x:~/2320/linux-4.2.9$ make bzImage
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
/bin/sh: bc: not found
CC arch/x86/kernel/asm-offsets.s
In file included from include/linux/ktime.h:25:0,
from include/linux/rcupdate.h:47,
from include/linux/srcu.h:33,
from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:797,
from include/linux/gfp.h:5,
from include/linux/slab.h:14,
from include/linux/crypto.h:24,
from arch/x86/kernel/asm-offsets.c:8:
include/linux/jiffies.h: In function '_msecs_to_jiffies':
include/linux/jiffies.h:326:10: error: 'MSEC_TO_HZ_MUL32' undeclared (first use in this function)
return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32) >> MSEC_TO_HZ_SHR32;
^
include/linux/jiffies.h:326:10: note: each undeclared identifier is reported only once for each function it appears in
include/linux/jiffies.h:326:33: error: 'MSEC_TO_HZ_ADJ32' undeclared (first use in this function)
return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32) >> MSEC_TO_HZ_SHR32;
^
include/linux/jiffies.h:326:54: error: 'MSEC_TO_HZ_SHR32' undeclared (first use in this function)
return (MSEC_TO_HZ_MUL32 * m + MSEC_TO_HZ_ADJ32) >> MSEC_TO_HZ_SHR32;
^
include/linux/jiffies.h: In function '_usecs_to_jiffies':
include/linux/jiffies.h:381:10: error: 'USEC_TO_HZ_MUL32' undeclared (first use in this function)
return (USEC_TO_HZ_MUL32 * u + USEC_TO_HZ_ADJ32)
^
include/linux/jiffies.h:381:33: error: 'USEC_TO_HZ_ADJ32' undeclared (first use in this function)
return (USEC_TO_HZ_MUL32 * u + USEC_TO_HZ_ADJ32)
^
include/linux/jiffies.h:382:6: error: 'USEC_TO_HZ_SHR32' undeclared (first use in this function)
>> USEC_TO_HZ_SHR32;
^
Kbuild:80: recipe for target 'arch/x86/kernel/asm-offsets.s' failed
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
Makefile:992: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
tc@box:~/2320/linux-4.2.9$
I'm following instructions from
http://www.parkytowers.me.uk/thin/Linux/TinycoreCK.shtml and
http://wiki.tinycorelinux.net/wiki:custom_kernel?s[]=kernel
Google turns up this:
http://lkml.iu.edu/hypermail/linux/kernel/1301.1/02721.html not very helpful. I'm doing this procedure this from TC7 installed to a 4GB flash drive in a laptop AND a Virtual Box (1GB memory and disk) and getting the same error. I feel like its something painfully obvious.