diff --git a/platform.txt b/platform.txt index b3c2477590..57d8f20ce1 100644 --- a/platform.txt +++ b/platform.txt @@ -153,7 +153,6 @@ extras.path={build.system.path}/extras # Create {build.opt} if not exists in the output sketch dir and force include of SrcWrapper library recipe.hooks.prebuild.1.pattern="{busybox}" sh "{extras.path}/prebuild.sh" "{build.path}" "{build.source.path}" "{runtime.platform.path}" "usb={build.enable_usb}" "virtio={build.enable_virtio}" -recipe.hooks.postbuild.1.pattern="{busybox}" sh "{extras.path}/postbuild.sh" "{build.path}" "{build.series}" "{runtime.platform.path}" # compile patterns # --------------------- diff --git a/system/extras/postbuild.sh b/system/extras/postbuild.sh deleted file mode 100755 index 36569f1435..0000000000 --- a/system/extras/postbuild.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - - -BUILD_PATH="$1" -BUILD_SERIE="$2" -BOARD_PLATFORM_PATH="$3" - -# Copy the correct openocd.cfg if exists -if [ ! -f "$BOARD_PLATFORM_PATH/variants/$BUILD_SERIE/openocd.cfg" ]; then - printf 'No %s available. Debug is not supported.' "$BOARD_PLATFORM_PATH/variants/$BUILD_SERIE/openocd.cfg" -else - cp -f "$BOARD_PLATFORM_PATH/variants/$BUILD_SERIE/openocd.cfg" "$BUILD_PATH" -fi