mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
OP-1790: make packaging debug build error part of package rule
This commit is contained in:
parent
0ba38d4fd2
commit
c24bee2e28
4
Makefile
4
Makefile
@ -800,10 +800,6 @@ DIST_NAME := $(DIST_DIR)/$(subst dirty-,,$(PACKAGE_FULL_NAME)).tar
|
|||||||
include $(ROOT_DIR)/package/$(UNAME).mk
|
include $(ROOT_DIR)/package/$(UNAME).mk
|
||||||
|
|
||||||
package: all_fw all_ground uavobjects_matlab | $(PACKAGE_DIR)
|
package: all_fw all_ground uavobjects_matlab | $(PACKAGE_DIR)
|
||||||
ifneq ($(GCS_BUILD_CONF),release)
|
|
||||||
# We can only package release builds
|
|
||||||
$(error Packaging is currently supported for release builds only)
|
|
||||||
endif
|
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
#
|
#
|
||||||
|
@ -8,6 +8,10 @@ endif
|
|||||||
|
|
||||||
.PHONY: package
|
.PHONY: package
|
||||||
package:
|
package:
|
||||||
|
ifneq ($(GCS_BUILD_CONF),release)
|
||||||
|
# We can only package release builds
|
||||||
|
$(error Packaging is currently supported for release builds only)
|
||||||
|
endif
|
||||||
( \
|
( \
|
||||||
ROOT_DIR="$(ROOT_DIR)" \
|
ROOT_DIR="$(ROOT_DIR)" \
|
||||||
BUILD_DIR="$(BUILD_DIR)" \
|
BUILD_DIR="$(BUILD_DIR)" \
|
||||||
|
@ -16,6 +16,10 @@ NSIS_HEADER := $(OPGCSSYNTHDIR)/openpilotgcs.nsh
|
|||||||
|
|
||||||
.PHONY: package
|
.PHONY: package
|
||||||
package:
|
package:
|
||||||
|
ifneq ($(GCS_BUILD_CONF),release)
|
||||||
|
# We can only package release builds
|
||||||
|
$(error Packaging is currently supported for release builds only)
|
||||||
|
endif
|
||||||
$(V1) mkdir -p "$(dir $(NSIS_HEADER))"
|
$(V1) mkdir -p "$(dir $(NSIS_HEADER))"
|
||||||
$(VERSION_CMD) \
|
$(VERSION_CMD) \
|
||||||
--template='$(NSIS_TEMPLATE)' \
|
--template='$(NSIS_TEMPLATE)' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user