arm-sdk

os build toolkit for various embedded devices
git clone https://git.parazyd.org/arm-sdk
Log | Files | Refs | Submodules | README | LICENSE

commit dda1fc74968c52495295c27e399d7fd080db8923
parent 36a8f8a9c413c6fe2770a247ce4cef1ba40f478a
Author: parazyd <parazyd@dyne.org>
Date:   Fri, 30 Sep 2016 17:10:31 +0200

add PATH to sudo -E make

Diffstat:
Mboards/raspberry-pi.sh | 9++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/boards/raspberry-pi.sh b/boards/raspberry-pi.sh @@ -117,7 +117,8 @@ build_kernel_armhf() { pushd $R/tmp/kernels/$device_name/${device_name}-linux make bcm2709_defconfig make $MAKEOPTS - sudo -E make INSTALL_MOD_PATH=$strapdir modules_install ## this replaces make-kernel-modules + sudo -E PATH="$PATH" \ + make INSTALL_MOD_PATH=$strapdir modules_install ## this replaces make-kernel-modules popd notice "grabbing rpi-firmware..." @@ -144,10 +145,12 @@ build_kernel_armhf() { sudo cp $CPVERBOSE -ra $R/tmp/linux-firmware $strapdir/lib/firmware pushd $R/tmp/kernels/$device_name/${device_name}-linux - sudo -E make INSTALL_MOD_PATH=$strapdir firmware_install + sudo -E PATH="$PATH" \ + make INSTALL_MOD_PATH=$strapdir firmware_install #make mrproper make bcm2709_defconfig - sudo make modules_prepare + sudo -E PATH="$PATH" \ + make modules_prepare popd notice "creating cmdline.txt"