mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-17 02:52:12 +01:00
Add AHRS firmware build to the "all" target + misc
Add the AHRS firmware to the "all" target since it is once again compiling successfully. Fix reinstall of QT SDK, Create placeholder for uavobjects. Reinstall of the QT SDK prompted to remove the read-only license file. Use rm -rf to avoid the prompt. The uavobjects target now creates a directory in the build tree. This will eventually hold the generated .c/.h/.cpp/.py files that are generated from the UAVObjects xml files. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@621 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
e3d59b8c90
commit
a43f579265
5
Makefile
5
Makefile
@ -78,7 +78,7 @@ qt_sdk_install: qt_sdk_clean $(TOOLS_DIR)
|
||||
|
||||
.PHONY: qt_sdk_clean
|
||||
qt_sdk_clean:
|
||||
[ ! -d "$(QT_SDK_DIR)" ] || $(RM) -r $(QT_SDK_DIR)
|
||||
[ ! -d "$(QT_SDK_DIR)" ] || $(RM) -rf $(QT_SDK_DIR)
|
||||
|
||||
# Set up ARM (STM32) SDK
|
||||
ARM_SDK_DIR := $(TOOLS_DIR)/arm-2009q3
|
||||
@ -191,6 +191,7 @@ uavobjgenerator:
|
||||
|
||||
.PHONY: uavobjects
|
||||
uavobjects: uavobjgenerator
|
||||
mkdir -p $(BUILD_DIR)/$@
|
||||
"$(BUILD_DIR)/uavobjgenerator/uavobjgenerator" "$(ROOT_DIR)/"
|
||||
|
||||
##############################
|
||||
@ -200,7 +201,7 @@ uavobjects: uavobjgenerator
|
||||
##############################
|
||||
|
||||
.PHONY: all_flight
|
||||
all_flight: openpilot_elf # ahrs_elf
|
||||
all_flight: openpilot_elf ahrs_elf
|
||||
|
||||
.PHONY: openpilot
|
||||
openpilot: openpilot_elf
|
||||
|
Loading…
x
Reference in New Issue
Block a user