building external module, howto override CONFIG_ option?
I'm patching and rebuilding psmouse.ko. The patch contains a config option and I'd like to be able to easily set it.
My make call: Code:
KDIR=/lib/modules/$(uname -r)/build Code:
make CONFIG_OPTION=y ... Code:
cp $KDIR/.config config Any ideas? |
Why not just make menuconfig as needed and make drivers/input/mouse/psmouse.ko? If your config option isn't in drivers/input/mouse/Kconfig just pop that file open and put it in.
|
This is for an automated PKGBUILD for Arch. What you're suggesting is similar to my attempt to use KCONFIG_CONFIG, but that variable doesn't seem to do anything for making a module. For now (and probably permanently) I've just removed the CONFIG option from the patch.
For reference: https://github.com/mmonaco/synaptics-led |
All times are GMT -5. The time now is 02:04 PM. |