summaryrefslogtreecommitdiff
path: root/Make.defaults
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-24 17:51:48 -0400
committerPeter Jones <pjones@redhat.com>2021-03-25 14:36:53 -0400
commit8578b75f9c18fd267c8a0746192ab3f051561df2 (patch)
tree437dd31143333ddf9bfdd3bba7a2de9a67c9c80a /Make.defaults
parentd74629207188d290810db15dbfe91a89e7751ffb (diff)
downloadefi-boot-shim-8578b75f9c18fd267c8a0746192ab3f051561df2.tar.gz
efi-boot-shim-8578b75f9c18fd267c8a0746192ab3f051561df2.zip
Make building outside of the top directory work.
This also makes the cross-build targets (and not the others) /use/ this functionality, so we'll catch it if we break it again. This fixes issue #340. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Make.defaults')
-rw-r--r--Make.defaults1
1 files changed, 1 insertions, 0 deletions
diff --git a/Make.defaults b/Make.defaults
index b7721547..a775083e 100644
--- a/Make.defaults
+++ b/Make.defaults
@@ -1,6 +1,7 @@
# load the local configuration if it exists
-include Make.local
+-include $(TOPDIR)/Make.local
COMPILER ?= gcc
CC = $(CROSS_COMPILE)$(COMPILER)