artik053/openocd: apply custom patches when building
authorHeesub Shin <heesub.shin@samsung.com>
Mon, 15 May 2017 08:47:18 +0000 (17:47 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 23 May 2017 12:40:01 +0000 (21:40 +0900)
In order to use OpenOCD on ARTIK-053, we need custom modification to it.
This commit changes the build script so that our custom patches could be
applied before building.

Change-Id: Ia8f7fcd91fec2761b4fe29018ad1856b979d9f39
Signed-off-by: Heesub Shin <heesub.shin@samsung.com>
build/configs/artik053/tools/openocd/source/build.sh

index f69df6b..59fb86f 100755 (executable)
@@ -140,6 +140,7 @@ cd ../
 rm -rf openocd-install
 mkdir -p openocd-install
 cd ./openocd
+patch -p1 < ../patches/*.patch
 ./configure \
        --enable-ftdi \
        --disable-stlink \