From b76fbc06360440e414e01343cf5d79abf6c5fd5d Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sat, 17 Oct 2015 02:52:48 +0000 Subject: adc-power: f4: use correct path to linker Don't escape the project! --- tests/adc-power/Makefile.stm32f4-disco | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/adc-power/Makefile.stm32f4-disco b/tests/adc-power/Makefile.stm32f4-disco index b592384..a990ec5 100644 --- a/tests/adc-power/Makefile.stm32f4-disco +++ b/tests/adc-power/Makefile.stm32f4-disco @@ -32,7 +32,7 @@ INCLUDES += $(patsubst %,-I%, . $(SHARED_DIR)) OPENCM3_DIR=../../libopencm3/ ### This section can go to an arch shared rules eventually... -LDSCRIPT = ../../../libopencm3/lib/stm32/f4/stm32f405x6.ld +LDSCRIPT = $(OPENCM3_DIR)/lib/stm32/f4/stm32f405x6.ld OPENCM3_LIB = opencm3_stm32f4 OPENCM3_DEFS = -DSTM32F4 FP_FLAGS ?= -mfloat-abi=hard -mfpu=fpv4-sp-d16 -- cgit