#!/bin/sh # Copy all includes for openocd from common/include # Usage : # $1 - OpenOCD directory # OPENOCD_DIR=$1 FLASH_DIR=$OPENOCD_DIR/src/flash COMMON_INC=$OPENOCD_DIR/../../../common/include # Import common files cp -p $COMMON_INC/all_flash.h $FLASH_DIR/all_flash.h