#!/bin/bash
-CROSS_COMPILER=/usr/bin/aarch64-linux-gnu-
+CROSS_COMPILE=${CROSS_COMPILE:-/usr/bin/aarch64-linux-gnu-}
JOBS="-j 5"
# Check this system has ccache
if ! [ -e .config ] ; then
make ARCH=arm64 khadas-vim3_defconfig
fi
- make CROSS_COMPILE="$CCACHE $CROSS_COMPILER" $JOBS
+ make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
./tools/mkimage -A arm64 -T script -C none -n "Tizen KVIM3 u-boot helper" -d ./board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr ./output/vim3/boot.scr.uimg
}
generate_param() {
cp `find ./env -name "built-in.o"` copy_env_common.o
- ${CROSS_COMPILER}objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
+ ${CROSS_COMPILE}objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
tr '\0' '\n' < copy_env_common.o > default_envs.txt
./tools/mkenvimage -s 16384 -o params.bin default_envs.txt
rm copy_env_common.o default_envs.txt
#!/bin/bash
-CROSS_COMPILER=/usr/bin/aarch64-linux-gnu-
+CROSS_COMPILE=${CROSS_COMPILE:-/usr/bin/aarch64-linux-gnu-}
JOBS="-j 5"
# Check this system has ccache
if ! [ -e .config ] ; then
make ARCH=arm64 odroid-c4_defconfig
fi
- make CROSS_COMPILE="$CCACHE $CROSS_COMPILER" $JOBS
+ make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
./tools/mkimage -A arm64 -T script -C none -n "Tizen ODROID-C4 u-boot helper" -d ./board/amlogic/odroid-n2/tizen-boot-odroid-c4-64b.scr ./output/odroid-c4/boot.scr.uimg
}
generate_param() {
cp `find ./env -name "built-in.o"` copy_env_common.o
- ${CROSS_COMPILER}objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
+ ${CROSS_COMPILE}objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
tr '\0' '\n' < copy_env_common.o > default_envs.txt
./tools/mkenvimage -s 16384 -o params.bin default_envs.txt
rm copy_env_common.o default_envs.txt
#!/bin/bash
-CROSS_COMPILER=/usr/bin/aarch64-linux-gnu-
+CROSS_COMPILE=${CROSS_COMPILE:-/usr/bin/aarch64-linux-gnu-}
JOBS="-j 5"
# Check this system has ccache
if ! [ -e .config ] ; then
make ARCH=arm64 odroid-n2_defconfig
fi
- make CROSS_COMPILE="$CCACHE $CROSS_COMPILER" $JOBS
+ make CROSS_COMPILE="$CCACHE $CROSS_COMPILE" $JOBS
./tools/mkimage -A arm64 -T script -C none -n "Tizen ODROID-N2 u-boot helper" -d ./board/amlogic/w400/tizen-boot-odroid-n2-64b.scr ./output/odroid-n2/boot.scr.uimg
}
generate_param() {
cp `find ./env -name "built-in.o"` copy_env_common.o
- ${CROSS_COMPILER}objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
+ ${CROSS_COMPILE}objcopy -O binary --only-section=.rodata.default_environment `find . -name "copy_env_common.o"`
tr '\0' '\n' < copy_env_common.o > default_envs.txt
./tools/mkenvimage -s 16384 -o params.bin default_envs.txt
rm copy_env_common.o default_envs.txt