I'm trying to get the n_hdlc kernel module built, to enable me to have a crack
at using OpenWRT with a Speedtouch USB ADSL modem. I have:
- added CONFIG_N_HDLC=m to openwrt/target/linux/linux-2.4/brcm
- added
$(eval $(call KMOD_template,NHDLC,nhdlc,$(MODULES_DIR)/kernel/drivers/char/n_hdlc.o
to openwrt/target/linux/linux-2.4/Makefile
- added
config BR2_PACKAGE_KMOD_NHDLC
tristate "Non-standard HDLC driver"
default m
to /openwrt/linux/Config.in
and created openwrt/target/linux/control/kmod-nhdlc.control
make menuconfig lets me select it, but, on make, it doesn't get built - the make
fails when it's unable to copy n_hdlc.o from the Linux tree as it's not been
compiled.
I guess I'm missing something obvious, or have failed to RTFM properly - I can't
for the life of me see where, though. Can anyone help?!
Thanks --
Dave
