LP-5 - Include missing UAVOs, add removed cc fields into hwsettings
[librepilot.git] / package / Darwin.mk
blob8b3d866517b0b6619357803e72360509efdbdb67
2 # MacOSX-specific packaging script
5 ifndef OPENPILOT_IS_COOL
6 $(error Top level Makefile must be used to build this target)
7 endif
9 .PHONY: package
10 package: openpilotgcs uavobjects_matlab | $(PACKAGE_DIR)
11 ifneq ($(GCS_BUILD_CONF),release)
12 # We can only package release builds
13 $(error Packaging is currently supported for release builds only)
14 endif
15 ( \
16 ROOT_DIR="$(ROOT_DIR)" \
17 BUILD_DIR="$(BUILD_DIR)" \
18 GCS_BIG_NAME="$(GCS_BIG_NAME)" \
19 GCS_SMALL_NAME="$(GCS_SMALL_NAME)" \
20 PACKAGE_LBL="$(PACKAGE_LBL)" \
21 PACKAGE_DIR="$(PACKAGE_DIR)" \
22 PACKAGE_NAME="$(PACKAGE_NAME)" \
23 PACKAGE_SEP="$(PACKAGE_SEP)" \
24 "$(ROOT_DIR)/package/osx/package" \