mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-483: add firmware binaries to Windows installer package
This commit is contained in:
parent
285c429589
commit
460478fc71
@ -13,7 +13,7 @@ $(NSIS_HEADER): $(NSIS_TEMPLATE)
|
|||||||
$(V0) @echo " PY $@"
|
$(V0) @echo " PY $@"
|
||||||
$(V1) $(VERSION_CMD) --template="$<" --outfile="$@"
|
$(V1) $(VERSION_CMD) --template="$<" --outfile="$@"
|
||||||
|
|
||||||
nsis: $(NSIS_HEADER) gcs
|
nsis: $(NSIS_HEADER) gcs release_flight
|
||||||
$(NSIS_CMD) $(NSIS_OPTS) $(NSIS_SCRIPT)
|
$(NSIS_CMD) $(NSIS_OPTS) $(NSIS_SCRIPT)
|
||||||
|
|
||||||
gcs: uavobjects
|
gcs: uavobjects
|
||||||
|
@ -51,10 +51,13 @@
|
|||||||
!define INSTALLER_NAME "OpenPilot GCS Installer"
|
!define INSTALLER_NAME "OpenPilot GCS Installer"
|
||||||
|
|
||||||
; Read automatically generated version info
|
; Read automatically generated version info
|
||||||
; !define OUT_FILE "OpenPilotGCS-XXXX-install.exe"
|
; !define RELEASE_LBL "${DATE}-${TAG_OR_HASH8}"
|
||||||
|
; !define RELEASE_DIR "..\..\build\release-$${RELEASE_LBL}"
|
||||||
|
; !define OUT_FILE "OpenPilotGCS-$${RELEASE_LBL}-install.exe"
|
||||||
|
; !define FIRMWARE_DIR "firmware-$${RELEASE_LBL}"
|
||||||
; !define PRODUCT_VERSION "0.0.0.0"
|
; !define PRODUCT_VERSION "0.0.0.0"
|
||||||
; !define FILE_VERSION "0.0.0.0"
|
; !define FILE_VERSION "${TAG_OR_BRANCH}:${HASH8} ${DATETIME}"
|
||||||
; !define BUILD_DESCRIPTION "Unknown revision."
|
; !define BUILD_DESCRIPTION "${TAG_OR_BRANCH}:${HASH8} built using ${ORIGIN} as origin, committed ${DATETIME} as ${HASH}"
|
||||||
!include "${GCS_PKG_TREE}\openpilotgcs.nsh"
|
!include "${GCS_PKG_TREE}\openpilotgcs.nsh"
|
||||||
|
|
||||||
Name "${PRODUCT_NAME}"
|
Name "${PRODUCT_NAME}"
|
||||||
@ -149,6 +152,8 @@ Section "Core files" InSecCore
|
|||||||
SectionIn RO
|
SectionIn RO
|
||||||
SetOutPath "$INSTDIR\bin"
|
SetOutPath "$INSTDIR\bin"
|
||||||
File /r "${GCS_BUILD_TREE}\bin\*"
|
File /r "${GCS_BUILD_TREE}\bin\*"
|
||||||
|
SetOutPath "$INSTDIR\share\${FIRMWARE_DIR}"
|
||||||
|
File /r "${RELEASE_DIR}\${FIRMWARE_DIR}\*"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Plugins" InSecPlugins
|
Section "Plugins" InSecPlugins
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
!define RELEASE_LBL "${DATE}-${TAG_OR_HASH8}"
|
!define RELEASE_LBL "${DATE}-${TAG_OR_HASH8}"
|
||||||
!define RELEASE_DIR "..\..\build\release-$${RELEASE_LBL}"
|
!define RELEASE_DIR "..\..\build\release-$${RELEASE_LBL}"
|
||||||
!define OUT_FILE "OpenPilotGCS-$${RELEASE_LBL}-install.exe"
|
!define OUT_FILE "OpenPilotGCS-$${RELEASE_LBL}-install.exe"
|
||||||
|
!define FIRMWARE_DIR "firmware-$${RELEASE_LBL}"
|
||||||
|
|
||||||
; Installer version info
|
; Installer version info
|
||||||
!define PRODUCT_VERSION "0.0.0.0"
|
!define PRODUCT_VERSION "0.0.0.0"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user