From f3984ba5a93714b3166369eec51921d10063b4a4 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Fri, 11 Mar 2022 13:43:46 +0100 Subject: [PATCH] base: declare build artifact for core This is a generalization of the recent commit "base-hw: declare build artifact for core". --- repos/base-hw/src/core/hw/target.mk | 2 -- repos/base/src/core/target.inc | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/base-hw/src/core/hw/target.mk b/repos/base-hw/src/core/hw/target.mk index e9a50206cb..0ad49146a3 100644 --- a/repos/base-hw/src/core/hw/target.mk +++ b/repos/base-hw/src/core/hw/target.mk @@ -3,6 +3,4 @@ TARGET := core-hw-$(BOARD) LIBS := core-hw-$(BOARD) CORE_LIB := core-hw-$(BOARD).a -BUILD_ARTIFACTS := $(CORE_LIB) - include $(BASE_DIR)/src/core/target.inc diff --git a/repos/base/src/core/target.inc b/repos/base/src/core/target.inc index dc84272914..e5fcd30314 100644 --- a/repos/base/src/core/target.inc +++ b/repos/base/src/core/target.inc @@ -1,6 +1,8 @@ TARGET ?= core CORE_LIB ?= core.a +BUILD_ARTIFACTS := $(CORE_LIB) + $(TARGET): @true