aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-03-01 12:57:43 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-03-01 13:59:54 -0500
commite18501d01cd5ff361edf4d1ad577946f502c4019 (patch)
treea45db394572f46dd633b4687cd7665bd7aaa3b26 /Makefile
parent027f52087cbaba86533a44c20099281c28d89e6a (diff)
downloadkutter-e18501d01cd5ff361edf4d1ad577946f502c4019.tar.gz
kutter-e18501d01cd5ff361edf4d1ad577946f502c4019.tar.xz
kutter-e18501d01cd5ff361edf4d1ad577946f502c4019.zip
Makefile: Explicitly list source code in klipper.elf compile
Don't use the list of dependencies in the klipper.elf build. This allows the arch makefiles to add separate dependencies to klipper.elf. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf599e69..61995499 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# Klipper build system
#
-# Copyright (C) 2016,2017 Kevin O'Connor <kevin@koconnor.net>
+# Copyright (C) 2016-2019 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
@@ -85,7 +85,7 @@ $(OUT)compile_time_request.o: $(patsubst %.c, $(OUT)src/%.o.ctr,$(src-y)) ./scri
$(OUT)klipper.elf: $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)compile_time_request.o
@echo " Linking $@"
- $(Q)$(CC) $^ $(CFLAGS_klipper.elf) -o $@
+ $(Q)$(CC) $(patsubst %.c, $(OUT)src/%.o,$(src-y)) $(OUT)compile_time_request.o $(CFLAGS_klipper.elf) -o $@
$(Q)scripts/check-gcc.sh $@ $(OUT)compile_time_request.o
################ Kconfig rules