Ok, looks like I have the source in place, but I still can’t compile this bloody driver.
ninja@derp:…$ make
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -C /home/ninja/beaglebone/linux-stable M=/home/ninja/beaglebone/RTL8188C_8192C_USB_linux_v3.4.4_4749.20121105/driver/rtl8188C_8192C_usb_linux_v3.4.4_4749.20121105 modules
make[1]: Entering directory `/home/ninja/beaglebone/linux-stable’
ERROR: Kernel configuration is invalid.
include/generated/autoconf.h or include/config/auto.conf are missing.
Run ‘make oldconfig && make prepare’ on kernel src to fix it.
So I ran ‘make oldconfig && make prepare’ which was fine, but now I get this error about a missing file when trying to build the driver.
“include/asm-generic/int-ll64.h:11:29: fatal error: asm/bitsperlong.h: No such file or directory”
Frustrating! I’m not sure where to go from here, but thanks for your help so far.
Yeh, moving defconfig as .config into the base dir didn’t do much difference on its own.
I tried to do a make oldconfig && make prepare to “prebuild” and it asked me a bazillion questions. What would go under “” in “make zImage”? Really new to this side of linux so sorry for my ignorance. I feel as though we’re nearly there!