Commit e6334f46 by 정종선

modify compile environmant scripts

parent 4251b6e9
......@@ -37,6 +37,7 @@ make_buildroot() {
echo " Build buildroot [ $(pwd) ]"
echo "=============================================="
./make.sh toolchain
./make.sh
cd -
}
......
......@@ -16,3 +16,19 @@ export WORK_LD_LIBRARY_PATH=${BR_TOOLCHAIN_PATH}/usr/lib
export BOOTLOADER_DIR=u-boot-xlnx-xilinx-v2016.2
export BUILDROOT_DIR=buildroot-2018.02.9
export KERNEL_DIR=linux-xlnx-xilinx-v2016.2
USERNAME=`id -un`
if [ ! -d /tftpboot/${FA_CHIPSET}/${FA_PRODUCT} ]
then
echo "mkdir -p /tftpboot/${FA_CHIPSET}/${FA_PRODUCT}"
sudo mkdir -p /tftpboot/${FA_CHIPSET}/${FA_PRODUCT}
sudo chown -R $USERNAME:$USERNAME /tftpboot/
fi
if [ ! -d /nfs/${FA_CHIPSET}/${FA_PRODUCT} ]
then
echo "mkdir -p /nfs/${FA_CHIPSET}/${FA_PRODUCT}"
sudo mkdir -p /nfs/${FA_CHIPSET}/${FA_PRODUCT}
sudo chown -R $USERNAME:$USERNAME /nfs/
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment