Blame view

buildroot/buildroot-2016.08.1/board/olimex/a20_olinuxino/post-build.sh 298 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
  #!/bin/sh
  # args from BR2_ROOTFS_POST_SCRIPT_ARGS
  # $2    path of boot.cmd
  # $3    output directory for boot.scr
  
  MKIMAGE=$HOST_DIR/usr/bin/mkimage
  
  $MKIMAGE -A arm -O linux -T script -C none -d $2 $3/boot.scr
  
  if [ -e $BINARIES_DIR/script.bin ]; then
  	cp $BINARIES_DIR/script.bin $3/script.bin
  fi