From fd078c9a5902e082114bc0f4d1a3c8cb4297316c Mon Sep 17 00:00:00 2001 From: Tim Callahan Date: Mon, 25 Jan 2021 14:57:00 -0800 Subject: [PATCH] Add .DELETE_ON_ERROR to Makefiles (issue #119). Signed-off-by: Tim Callahan --- xc7/counter_test/Makefile | 3 +++ xc7/linux_litex_demo/Makefile | 3 +++ xc7/picosoc_demo/Makefile | 3 +++ 3 files changed, 9 insertions(+) diff --git a/xc7/counter_test/Makefile b/xc7/counter_test/Makefile index 103ae33..6233086 100644 --- a/xc7/counter_test/Makefile +++ b/xc7/counter_test/Makefile @@ -33,6 +33,9 @@ else BOARD_BUILDDIR := ${BUILDDIR}/basys3 endif +.DELETE_ON_ERROR: + + all: ${BOARD_BUILDDIR}/${TOP}.bit ${BOARD_BUILDDIR}: diff --git a/xc7/linux_litex_demo/Makefile b/xc7/linux_litex_demo/Makefile index 4ac2ac8..31c50e1 100644 --- a/xc7/linux_litex_demo/Makefile +++ b/xc7/linux_litex_demo/Makefile @@ -22,6 +22,9 @@ else BOARD_BUILDDIR := ${BUILDDIR}/arty_35 endif +.DELETE_ON_ERROR: + + all: ${BOARD_BUILDDIR}/${TOP}.bit ${BOARD_BUILDDIR}: diff --git a/xc7/picosoc_demo/Makefile b/xc7/picosoc_demo/Makefile index 26fba42..0af71b0 100644 --- a/xc7/picosoc_demo/Makefile +++ b/xc7/picosoc_demo/Makefile @@ -30,6 +30,9 @@ else BOARD_BUILDDIR := ${BUILDDIR}/basys3 endif +.DELETE_ON_ERROR: + + all: ${BUILDDIR}/${TOP}.bit ${BUILDDIR}: