6b13f685e
김민수
BSP 최초 추가
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
image_filename="u-boot.imx"
target_filename="u-boot.imx"
if [ ! -f ${OUTPUT_DIR}/.config ]; then
CROSS_COMPILE=arm-none-eabi- make O=${OUTPUT_DIR} $defconfig
fi
CROSS_COMPILE=arm-none-eabi- make O=${OUTPUT_DIR} $@
if [ -f $OUTPUT_DIR/$image_filename ]; then
for DEST_DIR in ${CP_DIR}
do
echo "copy from ${OUTPUT_DIR}/${image_filename} to ${DEST_DIR}/$target_filename"
mkdir -p ${DEST_DIR}/
cp ${OUTPUT_DIR}/${image_filename} ${DEST_DIR}/${target_filename}
done
fi
|