Annotation of elwix/tools/uboot_mkimage/extract_mkimage.sh, revision 1.1
1.1 ! misho 1: #!/bin/sh
! 2:
! 3: SRC=$1
! 4:
! 5: if [ "x${SRC}" = "x" ]; then
! 6: echo "Usage: $0 \${U-Boot source code root dir}"
! 7: exit 1;
! 8: fi
! 9:
! 10: # Only tools subdir used to build mkimage utility.
! 11:
! 12: mkdir -p tmp
! 13:
! 14: DEST=tmp
! 15:
! 16: mkdir -p ${DEST}/common
! 17: mkdir -p ${DEST}/include/u-boot
! 18: mkdir -p ${DEST}/lib/libfdt
! 19: mkdir -p ${DEST}/tools
! 20:
! 21:
! 22: LIST="
! 23: common/image.c \
! 24: include/compiler.h \
! 25: include/fdt.h \
! 26: include/fdt_support.h \
! 27: include/image.h \
! 28: include/libfdt.h \
! 29: include/libfdt_env.h \
! 30: include/sha1.h \
! 31: include/u-boot/crc.h \
! 32: include/u-boot/md5.h \
! 33: include/u-boot/zlib.h \
! 34: include/watchdog.h \
! 35: lib/crc32.c \
! 36: lib/libfdt/fdt.c \
! 37: lib/libfdt/fdt_ro.c \
! 38: lib/libfdt/fdt_rw.c \
! 39: lib/libfdt/fdt_strerror.c \
! 40: lib/libfdt/fdt_wip.c \
! 41: lib/libfdt/libfdt_internal.h \
! 42: lib/md5.c \
! 43: lib/sha1.c \
! 44: tools/default_image.c \
! 45: tools/fdt_host.h \
! 46: tools/fit_image.c \
! 47: tools/imximage.c \
! 48: tools/imximage.h \
! 49: tools/kwbimage.c \
! 50: tools/kwbimage.h \
! 51: tools/mkimage.c \
! 52: tools/mkimage.h \
! 53: tools/os_support.c \
! 54: tools/os_support.h"
! 55:
! 56: echo 1
! 57: for _FILE_ in ${LIST}; do
! 58: echo 2
! 59: echo cp ${SRC}/${_FILE_} ${DEST}/${_FILE_}
! 60: cp ${SRC}/${_FILE_} ${DEST}/${_FILE_}
! 61: done
! 62:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>