REVONANO Milestones update
[librepilot.git] / package / Darwin.mk
bloba9035a96e1071c43c6e7149c0c2c32ebd575c03b
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 PACKAGE_LBL="$(PACKAGE_LBL)" \
19 PACKAGE_DIR="$(PACKAGE_DIR)" \
20 PACKAGE_NAME="$(PACKAGE_NAME)" \
21 PACKAGE_SEP="$(PACKAGE_SEP)" \
22 "$(ROOT_DIR)/package/osx/package" \