Edit /etc/modules in "install" function
The previous version of the "install" function in the MakeFile didn't update the /etc/modules file to include intrepid as a kernel to load at boot time. This change makes the necessary change, allowing the kernel to be loaded automatically.pull/10/head
parent
3bbef8679d
commit
7c2583c938
1
Makefile
1
Makefile
|
|
@ -5,6 +5,7 @@ all:
|
||||||
install:
|
install:
|
||||||
mkdir -p /lib/modules/$(KVERSION)/extra
|
mkdir -p /lib/modules/$(KVERSION)/extra
|
||||||
cp intrepid.ko /lib/modules/$(KVERSION)/extra/
|
cp intrepid.ko /lib/modules/$(KVERSION)/extra/
|
||||||
|
grep -q -F 'intrepid' /etc/modules || echo 'intrepid' | tee -a /etc/modules
|
||||||
depmod -a
|
depmod -a
|
||||||
clean:
|
clean:
|
||||||
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
|
make -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue