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

13 Commits

Author SHA1 Message Date
Oleg Semyonov
66804076b8 build: fix release/Makefile for *.opf files and changed targets 2011-05-24 23:49:51 -04:00
Stacey Sheldon
0a67730d0f build: refactor fw, bl and bu rules
- New macros for fw, bl and bu rules in top-level make
- Per-board info factored into make/board/*/board-info.mk
- Per-board info now shared btw. fw, bl and blupd for each board
   - BOARD_TYPE, BOARD_REVISION, BOOTLOADER_VERSION, HW_TYPE
   - MCU, CHIP, BOARD, MODEL, MODEL_SUFFIX
   - START_OF_BL_CODE, START_OF_FW_CODE
- blupd_* goals renamed to bu_*
- all_blupd goal renamed to all_bu
- firmware goals renamed to fw_*, board name goals are preserved
- bu_*_program now writes updater to correct address for all boards
- BL updater firmware builds now produce .opf format including
  version info blob.
- BL updater firmware name now includes board name.
- INS makefile brought up to date w.r.t. linker scripts
2011-05-23 18:21:42 -04:00
Oleg Semyonov
ebca7f6bac OP-483: add CLEAN_BUILD=NEVER make release option for test builds
CLEAN_BUILD=YES (default) - clean all, then build all
CLEAN_BUILD=NO - clean only multi-input targets (CC, OP), usually safe
CLEAN_BUILD=NEVER - no clean at all, invalid multi-input targes, but fast
2011-05-22 13:35:34 +03:00
Oleg Semyonov
5c085550cb OP-483: include dirty state of repository into the version string 2011-05-22 12:00:49 +03:00
Oleg Semyonov
285c429589 OP-483: add Windows installer target to 'make release' 2011-05-19 01:05:12 +03:00
Oleg Semyonov
8535ae52b8 OP-483: rename win32 to winx86 (it works on 64-bit too) 2011-05-18 22:03:10 +03:00
Oleg Semyonov
25c44d3d0d OP-483: polish comments in scripts 2011-05-18 21:48:55 +03:00
Oleg Semyonov
bf9a3ef7d3 OP-483: add version-info.py script for software, firmware and release packaging 2011-05-17 21:29:22 +03:00
Oleg Semyonov
5e03cd5801 OP-483: clean up sequential build order, add CC-FlashEraser tool to the builds 2011-05-15 19:46:31 +03:00
Oleg Semyonov
b33d093a7a OP-483: update Windows build system, provide install replacement
Since msysGit lacks the install command, simple cp -f replacement
is provided. Don't forget to copy it into the msysGit bin subdirectory.

Introduced CLEAN_BUILD=NO make option to test packaging w/o cleaning.
Recommended for test builds only, not for production run.

make -j works great after PyMite dependency fix by commit
0005729056
So comment is updated as well.
2011-05-15 14:54:24 +03:00
Oleg Semyonov
32c7f07175 OP-483: convert line endings to Unix format (no other changes) 2011-05-13 17:40:28 +03:00
Oleg Semyonov
405cac36ad OP-483: add some platform-specific hooks for ground packaging 2011-05-13 16:55:18 +03:00
Oleg Semyonov
c9fdbd580b OP-483: initial Makefile, no support for ground and git version info
This Makefile should support parallel builds (-j) as much as possible
(not an easy task, though).
2011-05-13 11:47:05 +03:00