From 1367b2084f328bc45a5e833b9a8f34e882e4a182 Mon Sep 17 00:00:00 2001 From: Frederic Pillon Date: Fri, 19 Jul 2024 11:13:40 +0200 Subject: [PATCH] fix: cleanup old debug configuration Fixes #2457. Signed-off-by: Frederic Pillon --- platform.txt | 1 - system/extras/postbuild.sh | 12 ------------ 2 files changed, 13 deletions(-) delete mode 100755 system/extras/postbuild.sh 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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy