You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
tumbili 736f57f436 Merge branch 'master' of https://github.com/PX4/Firmware into vtol_merge 10 years ago
..
README.txt Change the way modules are built so that object paths are relative and use vpath for locating sources (so source paths are also shorter). 12 years ago
board_aerocore.mk Add Gumstix AeroCore device 11 years ago
board_px4fmu-v1.mk Remove our depdenency on CONFIG_ARCH_BOARD_* coming from <nuttx/config.h> 12 years ago
board_px4fmu-v2.mk Merge commit 'de749a3602423f5ee6ca56f3cf2dfff04e31ec6d' (kconfig-cleanup) into fmuv2_bringup 12 years ago
board_px4io-v1.mk Remove our depdenency on CONFIG_ARCH_BOARD_* coming from <nuttx/config.h> 12 years ago
board_px4io-v2.mk Merge commit 'de749a3602423f5ee6ca56f3cf2dfff04e31ec6d' (kconfig-cleanup) into fmuv2_bringup 12 years ago
config_aerocore_default.mk Revert "Remove old TECS implementation - we can really only decently flight-test and support one." 11 years ago
config_px4fmu-v1_default.mk Added TeraRanger one sensor 10 years ago
config_px4fmu-v2_default.mk added vtol attitude control module to FMU makefile 10 years ago
config_px4fmu-v2_test.mk Enable examples by default to ensure they get maintained on API changes 10 years ago
config_px4io-v1_default.mk Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver. 12 years ago
config_px4io-v2_default.mk Restructure things so that the PX4 configs move out of the NuttX tree, and most of the PX4-specific board configuration data moves out of the config and into the board driver. 12 years ago
firmware.mk Parameter xml metadata in .px4 10 years ago
library.mk Teach the PX4 build system how to handle pre-built libraries. 12 years ago
module.mk Fix handling of board config files. Treat CONFIG_BOARD like CONFIG_ARCH in the toolchain configuration. 12 years ago
nuttx.mk Fixed hardcoded include path 11 years ago
setup.mk Merge branch 'master' into uavcan 11 years ago
toolchain_gnu-arm-eabi.mk Toolchain: Allow GCC 4.7 and 4.8 variants 10 years ago
upload.mk make upload on Linux much more reliable 12 years ago

README.txt

PX4 Build System
================

The files in this directory implement the PX4 runtime firmware build system
and configuration for the standard PX4 boards and software, in conjunction
with Makefile in the parent directory.

../Makefile

Top-level makefile for the PX4 build system. This makefile supports
building NuttX archives, as well as supervising the building of all
of the defined PX4 firmware configurations.

Try 'make help' in the parent directory for documentation.

firmware.mk

Manages the build for one specific firmware configuration.
See the comments at the top of this file for detailed documentation.

Builds modules, builtin command lists and the ROMFS (if configured).

This is the makefile directly used by external build systems; it can
be configured to compile modules both inside and outside the PX4
source tree. When used in this mode, at least BOARD, MODULES and
CONFIG_FILE must be set.

module.mk

Called by firmware.mk to build individual modules.
See the comments at the top of this file for detailed documentation.

Not normally used other than by firmware.mk.

nuttx.mk

Called by ../Makefile to build or download the NuttX archives.

upload.mk

Called by ../Makefile to upload files to a target board. Can be used
by external build systems as well.

setup.mk

Provides common path and tool definitions. Implements host system-specific
compatibility hacks.

board_<boardname>.mk

Board-specific configuration for <boardname>. Typically sets CONFIG_ARCH
and then includes the toolchain definition for the board.

config_<boardname>_<configname>.mk

Parameters for a specific configuration on a specific board.
The board name is derived from the filename. Sets MODULES to select
source modules to be included in the configuration, may also set
ROMFS_ROOT to build a ROMFS and BUILTIN_COMMANDS to include non-module
commands (e.g. from NuttX)

toolchain_<toolchainname>.mk

Provides macros used to compile and link source files.
Accepts EXTRADEFINES to add additional pre-processor symbol definitions,
EXTRACFLAGS, EXTRACXXFLAGS, EXTRAAFLAGS and EXTRALDFLAGS to pass
additional flags to the C compiler, C++ compiler, assembler and linker
respectively.

Defines the COMPILE, COMPILEXX, ASSEMBLE, PRELINK, ARCHIVE and LINK
macros that are used elsewhere in the build system.