summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index efafad52a..a77f7c1b5 100644
--- a/Makefile
+++ b/Makefile
@@ -796,12 +796,15 @@ endif
ifdef OSX
# needs to be before all
OSX:=OSX
--include os/macosx/Makefile
endif
all: endian_target.h endian_host.h $(UPDATECONFIG) $(LANGS) $(TTD) $(OSX)
+ifdef OSX
+-include os/macosx/Makefile
+endif
+
endian_host.h: $(ENDIAN_CHECK)
@echo '===> Testing endianness for host'
$(Q)./$(ENDIAN_CHECK) > $@