summaryrefslogtreecommitdiff
path: root/cpu/at32ap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/at32ap/Makefile')
-rw-r--r--cpu/at32ap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/at32ap/Makefile b/cpu/at32ap/Makefile
index e08f27383..60899c79e 100644
--- a/cpu/at32ap/Makefile
+++ b/cpu/at32ap/Makefile
@@ -30,7 +30,7 @@ LIB := $(obj)lib$(CPU).a
START-y += start.o
COBJS-y += cpu.o
-COBJS-y += hsdramc.o
+COBJS-$(CONFIG_SYS_HSDRAMC) += hsdramc.o
COBJS-y += exception.o
COBJS-y += cache.o
COBJS-y += interrupts.o