1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

packaging: put only CC firmware into the distributable package

All firmware still will be built, but only CC firmware is packaged
to prevent abuse of bootloader updaters etc.
This commit is contained in:
Oleg Semyonov 2011-08-01 12:40:45 +03:00
parent 2f79e4fa76
commit 9a882811a2
2 changed files with 6 additions and 3 deletions

View File

@ -20,7 +20,8 @@ device=$(hdiutil attach "${TEMP_FILE}" | \
# packaging goes here
cp -r "${APP_PATH}" "/Volumes/${VOL_NAME}"
cp -r "${FW_DIR}" "/Volumes/${VOL_NAME}/firmware"
#cp -r "${FW_DIR}" "/Volumes/${VOL_NAME}/firmware"
cp "${FW_DIR}/fw_coptercontrol-${PACKAGE_LBL}.opfw" "/Volumes/${VOL_NAME}/firmware"
"${ROOT_DIR}/package/osx/libraries" \
"/Volumes/${VOL_NAME}/OpenPilot GCS.app" || exit 1

View File

@ -185,8 +185,10 @@ Section "Localization" InSecLocalization
SectionEnd
Section "Firmware" InSecFirmware
SetOutPath "$INSTDIR\firmware\${FIRMWARE_DIR}"
File /r "${PACKAGE_DIR}\${FIRMWARE_DIR}\*"
; SetOutPath "$INSTDIR\firmware\${FIRMWARE_DIR}"
; File /r "${PACKAGE_DIR}\${FIRMWARE_DIR}\*"
SetOutPath "$INSTDIR\firmware"
File /r "${PACKAGE_DIR}\${FIRMWARE_DIR}\fw_coptercontrol-${PACKAGE_LBL}.opfw"
SectionEnd
Section "Shortcuts" InSecShortcuts