From 6ca00e61dc8ba9f3c0510aa88209ef8ca31e3b6d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 10 Oct 2020 13:49:33 +0200 Subject: build: Fix legacy Makefile support Close #4140. --- spec/build/bsps/makecustom.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/build/bsps/makecustom.yml') diff --git a/spec/build/bsps/makecustom.yml b/spec/build/bsps/makecustom.yml index e04d4281c7..139629b597 100644 --- a/spec/build/bsps/makecustom.yml +++ b/spec/build/bsps/makecustom.yml @@ -2,10 +2,10 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause build-type: config-file content: | include $$(RTEMS_ROOT)/make/custom/default.cfg - RTEMS_CPU = ${ARCH} + CPU_DEFINES = -I$$(exec_prefix)/$$(RTEMS_BSP)/lib/include CPU_CFLAGS = ${ABI_FLAGS} CFLAGS_OPTIMIZE_V = ${OPTIMIZATION_FLAGS} - LDFLAGS = ${LDFLAGS} + LDFLAGS = -B$$(exec_prefix)/$$(RTEMS_BSP)/lib ${PKGCONFIG_LDFLAGS} copyrights: - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) enabled-by: true -- cgit v1.2.3