From 5be9d022e4aa81a6f8d3821075b5541a69c03c75 Mon Sep 17 00:00:00 2001 From: James Duley Date: Sat, 7 May 2016 10:05:34 +0100 Subject: [PATCH] Exclude artwork, flight and hardware from source distribution --- .gitattributes | 5 +++++ Makefile | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index 9b4c80545..cb13e8da3 100644 --- a/.gitattributes +++ b/.gitattributes @@ -32,3 +32,8 @@ /Makefile text eol=lf # More attributes are defined in per-directory .gitattributes which override this file + +# Not needed in source distribution for building GCS +/artwork/ export-ignore +/flight/ export-ignore +/hardware/ export-ignore diff --git a/Makefile b/Makefile index d6f9049b4..fe2e09e94 100644 --- a/Makefile +++ b/Makefile @@ -235,7 +235,8 @@ endif FLIGHT_OUT_DIR := $(BUILD_DIR)/firmware DIRS += $(FLIGHT_OUT_DIR) -include $(ROOT_DIR)/flight/Makefile +# Might not be here in source package +-include $(ROOT_DIR)/flight/Makefile ############################## #