diff --git a/src/drivers/Makefile b/src/drivers/Makefile index 9d4d655..c45a429 120000 --- a/src/drivers/Makefile +++ b/src/drivers/Makefile @@ -1 +1 @@ -Makefile.raspbian \ No newline at end of file +Makefile.header_from_apt \ No newline at end of file diff --git a/utils/build_install.raspbian.bash b/utils/build_install.raspbian.bash deleted file mode 100755 index c323622..0000000 --- a/utils/build_install.raspbian.bash +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -eu - -SRC_DIR=$(cd $(dirname ${BASH_SOURCE:-$0})/../; pwd) -KERNEL_SRC=/usr/src/linux-headers-$(uname -r) - -# check kernel headers -[ ! -e $KERNEL_SRC ] && { bash -e $SRC_DIR/utils/print_env.bash "No kernel header files found."; exit 1; } - -# build and install the driver -cd $SRC_DIR/src/drivers/ -make clean -make -sudo make install - -# initialize the driver -sleep 1 -sudo chmod 666 /dev/rt* -echo 0 > /dev/rtmotoren0 diff --git a/utils/build_install.raspbian.bash b/utils/build_install.raspbian.bash new file mode 120000 index 0000000..0cd0e79 --- /dev/null +++ b/utils/build_install.raspbian.bash @@ -0,0 +1 @@ +build_install_header_from_source_raspi2.bash \ No newline at end of file