From 60f85a375594c54c98134f70c049d2646b604f3a Mon Sep 17 00:00:00 2001 From: Daisuke Sato Date: Fri, 31 Mar 2023 21:21:42 +0900 Subject: [PATCH] Fix merge commit 8a42389 --- src/drivers/Makefile | 2 +- utils/build_install.raspbian.bash | 19 +------------------ 2 files changed, 2 insertions(+), 19 deletions(-) mode change 100755 => 120000 utils/build_install.raspbian.bash 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