export CFLAGS="-march=i486 -mtune=i686 -Os -pipe" export CXXFLAGS="-march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" tce-load -i perl5 bash ncurses-dev advcomp hybrid-portsrc_x86_32-v5_100_82_112 ----------------------------------- unpack linux-3.8.10-patched.txz make mrproper cp config-3.8.10-tinycore .config make oldconfig make prepare make modules_prepare cp Module.symvers (make modules 1h 2m 34s) make SUBDIRS=scripts/mod mkdir hybrid_wl cd hybrid_wl unpack hybrid-portsrc_x86_32-v5_100_82_112.tar.gz patch -p0 -i ../broadcom-sta-5.100.82.112-license.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-2.6.39.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-3.0.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-3.2-with-multicast.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-3.2.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-3.4.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-3.8.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-3.9.patch patch -p0 -i ../broadcom-sta-5.100.82.112-linux-semaphore-include.patch patch -p0 -i ../broadcom-sta-5.100.82.112-remove-rssi-errors.patch patch -p0 -i ../broadcom-sta-5.100.82.112-user_ioctl.patch make -C /usr/src/linux-3.8.10-patched M=`pwd` gzip wl.ko advdef -z4 wl.ko.gz sudo mkdir -p /usr/local/lib/modules/3.8.10-tinycore/kernel/drivers/net/wireless sudo cp wl.ko.gz /usr/local/lib/modules/3.8.10-tinycore/kernel/drivers/net/wireless CFG80211 API is prefered for this kernel version Using CFG80211 API MODPOST 1 modules WARNING: modpost: Found 1 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' CC /usr/src/hybrid_wl/wl.mod.o LD [M] /usr/src/hybrid_wl/wl.ko make CONFIG_DEBUG_SECTION_MISMATCH=y -C /usr/src/linux-3.8.10-patched M=`pwd` WARNING: /usr/src/hybrid_wl/wl.o(.data+0x344f0): Section mismatch in reference from the variable wl_pci_driver to the function .init.text:wl_pci_probe() The variable wl_pci_driver references the function __init wl_pci_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console Building modules, stage 2. CFG80211 API is prefered for this kernel version Using CFG80211 API MODPOST 1 modules WARNING: /usr/src/hybrid_wl/wl.o(.data+0x344f0): Section mismatch in reference from the variable wl_pci_driver to the function .init.text:wl_pci_probe() The variable wl_pci_driver references the function __init wl_pci_probe() If the reference is valid then annotate the variable with __init* or __refdata (see linux/init.h) or name the variable: *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console CC /usr/src/hybrid_wl/wl.mod.o LD [M] /usr/src/hybrid_wl/wl.ko