2 # MacOSX-specific packaging script
5 ifndef OPENPILOT_IS_COOL
6 $(error Top level Makefile must be used to build this target
)
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
)
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" \