meta data for this page
  •  

This is an old revision of the document!


mount -t debugfs none /sys/kernel/debug

Enable pr_debug

linux-4.18.6/net/bluetooth/Makefile
CFLAGS += -DDEBUG=1
cp /lib/modules/$(uname -r)/build/.config .
cp /lib/modules/$(uname -r)/build/Module.symvers .
 
make oldconfig
 
#make EXTRAVERSION=-my modules_prepare
make modules_prepare
make M=net/bluetooth
 
sudo cp net/bluetooth/bluetooth.ko /lib/modules/`uname -r`/updates