mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Move PyMite makefile entries to Libraries/PyMyte/pymite.mk to simplify boards makefile.
This commit is contained in:
parent
e4ebdc4802
commit
d1c5da6c24
41
flight/Libraries/PyMite/pymite.mk
Normal file
41
flight/Libraries/PyMite/pymite.mk
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
#
|
||||||
|
# Rules to add PYMite to a PiOS target
|
||||||
|
#
|
||||||
|
|
||||||
|
PYMITE = $(FLIGHTLIB)/PyMite
|
||||||
|
PYMITELIB = $(PYMITE)/lib
|
||||||
|
PYMITEPLAT = $(PYMITE)/platform/openpilot
|
||||||
|
PYMITETOOLS = $(PYMITE)/tools
|
||||||
|
PYMITEVM = $(PYMITE)/vm
|
||||||
|
PYMITEINC = $(PYMITEVM)
|
||||||
|
PYMITEINC += $(PYMITEPLAT)
|
||||||
|
PYMITEINC += $(OUTDIR)
|
||||||
|
|
||||||
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
|
# use file-extension c for "c-only"-files
|
||||||
|
|
||||||
|
## PyMite files and modules
|
||||||
|
SRC += $(OUTDIR)/pmlib_img.c
|
||||||
|
SRC += $(OUTDIR)/pmlib_nat.c
|
||||||
|
SRC += $(OUTDIR)/pmlibusr_img.c
|
||||||
|
SRC += $(OUTDIR)/pmlibusr_nat.c
|
||||||
|
PYSRC += $(wildcard ${PYMITEVM}/*.c)
|
||||||
|
PYSRC += $(wildcard ${PYMITEPLAT}/*.c)
|
||||||
|
PYSRC += ${foreach MOD, ${PYMODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
||||||
|
SRC += $(PYSRC)
|
||||||
|
|
||||||
|
EXTRAINCDIRS += $(PYMITEINC)
|
||||||
|
|
||||||
|
# Generate intermediate code
|
||||||
|
gencode: ${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h
|
||||||
|
|
||||||
|
$(PYSRC): gencode
|
||||||
|
|
||||||
|
PYTHON = python
|
||||||
|
|
||||||
|
# Generate code for PyMite
|
||||||
|
${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h: $(wildcard ${PYMITELIB}/*.py) $(wildcard ${PYMITEPLAT}/*.py) $(wildcard ${FLIGHTPLANLIB}/*.py) $(wildcard ${FLIGHTPLANS}/*.py)
|
||||||
|
@echo $(MSG_PYMITEINIT) $(call toprel, $@)
|
||||||
|
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -s --memspace=flash -o $(OUTDIR)/pmlib_img.c --native-file=$(OUTDIR)/pmlib_nat.c $(PYMITELIB)/list.py $(PYMITELIB)/dict.py $(PYMITELIB)/__bi.py $(PYMITELIB)/sys.py $(PYMITELIB)/string.py $(wildcard $(FLIGHTPLANLIB)/*.py)
|
||||||
|
@$(PYTHON) $(PYMITETOOLS)/pmGenPmFeatures.py $(PYMITEPLAT)/pmfeatures.py > $(OUTDIR)/pmfeatures.h
|
||||||
|
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -u -o $(OUTDIR)/pmlibusr_img.c --native-file=$(OUTDIR)/pmlibusr_nat.c $(FLIGHTPLANS)/test.py
|
@ -94,14 +94,6 @@ STMSPDSRCDIR = $(STMSPDDIR)/src
|
|||||||
STMSPDINCDIR = $(STMSPDDIR)/inc
|
STMSPDINCDIR = $(STMSPDDIR)/inc
|
||||||
OPUAVOBJ = ../UAVObjects
|
OPUAVOBJ = ../UAVObjects
|
||||||
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
||||||
PYMITE = $(FLIGHTLIB)/PyMite
|
|
||||||
PYMITELIB = $(PYMITE)/lib
|
|
||||||
PYMITEPLAT = $(PYMITE)/platform/openpilot
|
|
||||||
PYMITETOOLS = $(PYMITE)/tools
|
|
||||||
PYMITEVM = $(PYMITE)/vm
|
|
||||||
PYMITEINC = $(PYMITEVM)
|
|
||||||
PYMITEINC += $(PYMITEPLAT)
|
|
||||||
PYMITEINC += $(OUTDIR)
|
|
||||||
FLIGHTPLANLIB = $(OPMODULEDIR)/FlightPlan/lib
|
FLIGHTPLANLIB = $(OPMODULEDIR)/FlightPlan/lib
|
||||||
FLIGHTPLANS = $(OPMODULEDIR)/FlightPlan/flightplans
|
FLIGHTPLANS = $(OPMODULEDIR)/FlightPlan/flightplans
|
||||||
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
||||||
@ -113,19 +105,8 @@ include $(PIOSCOMMONLIB)/FreeRTOS/library.mk
|
|||||||
#include $(PIOSCOMMONLIB)/dosfs/library.mk
|
#include $(PIOSCOMMONLIB)/dosfs/library.mk
|
||||||
include $(PIOSCOMMONLIB)/msheap/library.mk
|
include $(PIOSCOMMONLIB)/msheap/library.mk
|
||||||
|
|
||||||
|
## PYMite support
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
#include $(FLIGHTLIB)/PyMite/pymite.mk
|
||||||
# use file-extension c for "c-only"-files
|
|
||||||
|
|
||||||
## PyMite files and modules
|
|
||||||
SRC += $(OUTDIR)/pmlib_img.c
|
|
||||||
SRC += $(OUTDIR)/pmlib_nat.c
|
|
||||||
SRC += $(OUTDIR)/pmlibusr_img.c
|
|
||||||
SRC += $(OUTDIR)/pmlibusr_nat.c
|
|
||||||
PYSRC += $(wildcard ${PYMITEVM}/*.c)
|
|
||||||
PYSRC += $(wildcard ${PYMITEPLAT}/*.c)
|
|
||||||
PYSRC += ${foreach MOD, ${PYMODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
|
||||||
SRC += $(PYSRC)
|
|
||||||
|
|
||||||
## MODULES
|
## MODULES
|
||||||
SRC += ${foreach MOD, ${MODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
SRC += ${foreach MOD, ${MODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
||||||
@ -234,22 +215,8 @@ EXTRAINCDIRS += $(STMSPDINCDIR)
|
|||||||
EXTRAINCDIRS += $(CMSISDIR)
|
EXTRAINCDIRS += $(CMSISDIR)
|
||||||
EXTRAINCDIRS += $(OPUAVSYNTHDIR)
|
EXTRAINCDIRS += $(OPUAVSYNTHDIR)
|
||||||
EXTRAINCDIRS += $(BOOTINC)
|
EXTRAINCDIRS += $(BOOTINC)
|
||||||
EXTRAINCDIRS += $(PYMITEINC)
|
|
||||||
EXTRAINCDIRS += $(HWDEFSINC)
|
EXTRAINCDIRS += $(HWDEFSINC)
|
||||||
|
|
||||||
# Generate intermediate code
|
|
||||||
gencode: ${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h
|
|
||||||
|
|
||||||
$(PYSRC): gencode
|
|
||||||
|
|
||||||
PYTHON = python
|
|
||||||
|
|
||||||
# Generate code for PyMite
|
|
||||||
${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h: $(wildcard ${PYMITELIB}/*.py) $(wildcard ${PYMITEPLAT}/*.py) $(wildcard ${FLIGHTPLANLIB}/*.py) $(wildcard ${FLIGHTPLANS}/*.py)
|
|
||||||
@echo $(MSG_PYMITEINIT) $(call toprel, $@)
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -s --memspace=flash -o $(OUTDIR)/pmlib_img.c --native-file=$(OUTDIR)/pmlib_nat.c $(PYMITELIB)/list.py $(PYMITELIB)/dict.py $(PYMITELIB)/__bi.py $(PYMITELIB)/sys.py $(PYMITELIB)/string.py $(wildcard $(FLIGHTPLANLIB)/*.py)
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmGenPmFeatures.py $(PYMITEPLAT)/pmfeatures.py > $(OUTDIR)/pmfeatures.h
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -u -o $(OUTDIR)/pmlibusr_img.c --native-file=$(OUTDIR)/pmlibusr_nat.c $(FLIGHTPLANS)/test.py
|
|
||||||
EXTRAINCDIRS += ${foreach MOD, ${MODULES} ${PYMODULES}, $(OPMODULEDIR)/${MOD}/inc} ${OPMODULEDIR}/System/inc
|
EXTRAINCDIRS += ${foreach MOD, ${MODULES} ${PYMODULES}, $(OPMODULEDIR)/${MOD}/inc} ${OPMODULEDIR}/System/inc
|
||||||
|
|
||||||
# List any extra directories to look for library files here.
|
# List any extra directories to look for library files here.
|
||||||
@ -390,7 +357,6 @@ LDFLAGS += $(addprefix -T,$(LINKER_SCRIPTS_APP))
|
|||||||
|
|
||||||
# Define programs and commands.
|
# Define programs and commands.
|
||||||
REMOVE = $(REMOVE_CMD) -f
|
REMOVE = $(REMOVE_CMD) -f
|
||||||
PYTHON = python
|
|
||||||
|
|
||||||
# List of all source files.
|
# List of all source files.
|
||||||
ALLSRC = $(ASRCARM) $(ASRC) $(SRCARM) $(SRC) $(CPPSRCARM) $(CPPSRC)
|
ALLSRC = $(ASRCARM) $(ASRC) $(SRCARM) $(SRC) $(CPPSRCARM) $(CPPSRC)
|
||||||
|
@ -117,14 +117,6 @@ OPUAVOBJ = ../UAVObjects
|
|||||||
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
||||||
BOOT = ../Bootloaders/INS
|
BOOT = ../Bootloaders/INS
|
||||||
BOOTINC = $(BOOT)/inc
|
BOOTINC = $(BOOT)/inc
|
||||||
PYMITE = $(FLIGHTLIB)/PyMite
|
|
||||||
PYMITELIB = $(PYMITE)/lib
|
|
||||||
PYMITEPLAT = $(PYMITE)/platform/openpilot
|
|
||||||
PYMITETOOLS = $(PYMITE)/tools
|
|
||||||
PYMITEVM = $(PYMITE)/vm
|
|
||||||
PYMITEINC = $(PYMITEVM)
|
|
||||||
PYMITEINC += $(PYMITEPLAT)
|
|
||||||
PYMITEINC += $(OUTDIR)
|
|
||||||
FLIGHTPLANLIB = $(OPMODULEDIR)/FlightPlan/lib
|
FLIGHTPLANLIB = $(OPMODULEDIR)/FlightPlan/lib
|
||||||
FLIGHTPLANS = $(OPMODULEDIR)/FlightPlan/flightplans
|
FLIGHTPLANS = $(OPMODULEDIR)/FlightPlan/flightplans
|
||||||
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
||||||
@ -136,20 +128,12 @@ include $(PIOSCOMMONLIB)/FreeRTOS/library.mk
|
|||||||
#include $(PIOSCOMMONLIB)/dosfs/library.mk
|
#include $(PIOSCOMMONLIB)/dosfs/library.mk
|
||||||
include $(PIOSCOMMONLIB)/msheap/library.mk
|
include $(PIOSCOMMONLIB)/msheap/library.mk
|
||||||
|
|
||||||
|
## PYMite support
|
||||||
|
#include $(FLIGHTLIB)/PyMite/pymite.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
# use file-extension c for "c-only"-files
|
# use file-extension c for "c-only"-files
|
||||||
|
|
||||||
## PyMite files and modules
|
|
||||||
SRC += $(OUTDIR)/pmlib_img.c
|
|
||||||
SRC += $(OUTDIR)/pmlib_nat.c
|
|
||||||
SRC += $(OUTDIR)/pmlibusr_img.c
|
|
||||||
SRC += $(OUTDIR)/pmlibusr_nat.c
|
|
||||||
PYSRC += $(wildcard ${PYMITEVM}/*.c)
|
|
||||||
PYSRC += $(wildcard ${PYMITEPLAT}/*.c)
|
|
||||||
PYSRC += ${foreach MOD, ${PYMODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
|
||||||
SRC += $(PYSRC)
|
|
||||||
|
|
||||||
## MODULES
|
## MODULES
|
||||||
SRC += ${foreach MOD, ${OPTMODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
SRC += ${foreach MOD, ${OPTMODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
||||||
SRC += ${foreach MOD, ${MODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
SRC += ${foreach MOD, ${MODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
||||||
@ -249,22 +233,8 @@ EXTRAINCDIRS += $(STMSPDINCDIR)
|
|||||||
EXTRAINCDIRS += $(CMSISDIR)
|
EXTRAINCDIRS += $(CMSISDIR)
|
||||||
EXTRAINCDIRS += $(OPUAVSYNTHDIR)
|
EXTRAINCDIRS += $(OPUAVSYNTHDIR)
|
||||||
EXTRAINCDIRS += $(BOOTINC)
|
EXTRAINCDIRS += $(BOOTINC)
|
||||||
EXTRAINCDIRS += $(PYMITEINC)
|
|
||||||
EXTRAINCDIRS += $(HWDEFSINC)
|
EXTRAINCDIRS += $(HWDEFSINC)
|
||||||
|
|
||||||
# Generate intermediate code
|
|
||||||
gencode: ${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h
|
|
||||||
|
|
||||||
$(PYSRC): gencode
|
|
||||||
|
|
||||||
PYTHON = python
|
|
||||||
|
|
||||||
# Generate code for PyMite
|
|
||||||
${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h: $(wildcard ${PYMITELIB}/*.py) $(wildcard ${PYMITEPLAT}/*.py) $(wildcard ${FLIGHTPLANLIB}/*.py) $(wildcard ${FLIGHTPLANS}/*.py)
|
|
||||||
@echo $(MSG_PYMITEINIT) $(call toprel, $@)
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -s --memspace=flash -o $(OUTDIR)/pmlib_img.c --native-file=$(OUTDIR)/pmlib_nat.c $(PYMITELIB)/list.py $(PYMITELIB)/dict.py $(PYMITELIB)/__bi.py $(PYMITELIB)/sys.py $(PYMITELIB)/string.py $(wildcard $(FLIGHTPLANLIB)/*.py)
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmGenPmFeatures.py $(PYMITEPLAT)/pmfeatures.py > $(OUTDIR)/pmfeatures.h
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -u -o $(OUTDIR)/pmlibusr_img.c --native-file=$(OUTDIR)/pmlibusr_nat.c $(FLIGHTPLANS)/test.py
|
|
||||||
EXTRAINCDIRS += ${foreach MOD, ${OPTMODULES} ${MODULES} ${PYMODULES}, $(OPMODULEDIR)/${MOD}/inc} ${OPMODULEDIR}/System/inc
|
EXTRAINCDIRS += ${foreach MOD, ${OPTMODULES} ${MODULES} ${PYMODULES}, $(OPMODULEDIR)/${MOD}/inc} ${OPMODULEDIR}/System/inc
|
||||||
|
|
||||||
# List any extra directories to look for library files here.
|
# List any extra directories to look for library files here.
|
||||||
|
@ -85,14 +85,6 @@ OPUAVOBJ = ../UAVObjects
|
|||||||
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
OPUAVOBJINC = $(OPUAVOBJ)/inc
|
||||||
BOOT =
|
BOOT =
|
||||||
BOOTINC =
|
BOOTINC =
|
||||||
PYMITE = $(FLIGHTLIB)/PyMite
|
|
||||||
PYMITELIB = $(PYMITE)/lib
|
|
||||||
PYMITEPLAT = $(PYMITE)/platform/openpilot
|
|
||||||
PYMITETOOLS = $(PYMITE)/tools
|
|
||||||
PYMITEVM = $(PYMITE)/vm
|
|
||||||
PYMITEINC = $(PYMITEVM)
|
|
||||||
PYMITEINC += $(PYMITEPLAT)
|
|
||||||
PYMITEINC += $(OUTDIR)
|
|
||||||
FLIGHTPLANLIB = $(OPMODULEDIR)/FlightPlan/lib
|
FLIGHTPLANLIB = $(OPMODULEDIR)/FlightPlan/lib
|
||||||
FLIGHTPLANS = $(OPMODULEDIR)/FlightPlan/flightplans
|
FLIGHTPLANS = $(OPMODULEDIR)/FlightPlan/flightplans
|
||||||
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
HWDEFSINC = ../board_hw_defs/$(BOARD_NAME)
|
||||||
@ -104,20 +96,12 @@ include $(PIOSCOMMONLIB)/FreeRTOS/library.mk
|
|||||||
#include $(PIOSCOMMONLIB)/dosfs/library.mk
|
#include $(PIOSCOMMONLIB)/dosfs/library.mk
|
||||||
#include $(PIOSCOMMONLIB)/msheap/library.mk
|
#include $(PIOSCOMMONLIB)/msheap/library.mk
|
||||||
|
|
||||||
|
## PYMite support
|
||||||
|
#include $(FLIGHTLIB)/PyMite/pymite.mk
|
||||||
|
|
||||||
# List C source files here. (C dependencies are automatically generated.)
|
# List C source files here. (C dependencies are automatically generated.)
|
||||||
# use file-extension c for "c-only"-files
|
# use file-extension c for "c-only"-files
|
||||||
|
|
||||||
## PyMite files and modules
|
|
||||||
SRC += $(OUTDIR)/pmlib_img.c
|
|
||||||
SRC += $(OUTDIR)/pmlib_nat.c
|
|
||||||
SRC += $(OUTDIR)/pmlibusr_img.c
|
|
||||||
SRC += $(OUTDIR)/pmlibusr_nat.c
|
|
||||||
PYSRC += $(wildcard ${PYMITEVM}/*.c)
|
|
||||||
PYSRC += $(wildcard ${PYMITEPLAT}/*.c)
|
|
||||||
PYSRC += ${foreach MOD, ${PYMODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
|
||||||
SRC += $(PYSRC)
|
|
||||||
|
|
||||||
## MODULES
|
## MODULES
|
||||||
SRC += ${foreach MOD, ${MODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
SRC += ${foreach MOD, ${MODULES}, ${wildcard ${OPMODULEDIR}/${MOD}/*.c}}
|
||||||
SRC += ${OUTDIR}/InitMods.c
|
SRC += ${OUTDIR}/InitMods.c
|
||||||
@ -207,22 +191,8 @@ EXTRAINCDIRS += $(PIOSBOARDS)
|
|||||||
EXTRAINCDIRS += $(CMSISDIR)
|
EXTRAINCDIRS += $(CMSISDIR)
|
||||||
EXTRAINCDIRS += $(OPUAVSYNTHDIR)
|
EXTRAINCDIRS += $(OPUAVSYNTHDIR)
|
||||||
EXTRAINCDIRS += $(BOOTINC)
|
EXTRAINCDIRS += $(BOOTINC)
|
||||||
EXTRAINCDIRS += $(PYMITEINC)
|
|
||||||
EXTRAINCDIRS += $(HWDEFSINC)
|
EXTRAINCDIRS += $(HWDEFSINC)
|
||||||
|
|
||||||
# Generate intermediate code
|
|
||||||
gencode: ${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h
|
|
||||||
|
|
||||||
$(PYSRC): gencode
|
|
||||||
|
|
||||||
PYTHON = python
|
|
||||||
|
|
||||||
# Generate code for PyMite
|
|
||||||
${OUTDIR}/pmlib_img.c ${OUTDIR}/pmlib_nat.c ${OUTDIR}/pmlibusr_img.c ${OUTDIR}/pmlibusr_nat.c ${OUTDIR}/pmfeatures.h: $(wildcard ${PYMITELIB}/*.py) $(wildcard ${PYMITEPLAT}/*.py) $(wildcard ${FLIGHTPLANLIB}/*.py) $(wildcard ${FLIGHTPLANS}/*.py)
|
|
||||||
@echo $(MSG_PYMITEINIT) $(call toprel, $@)
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -s --memspace=flash -o $(OUTDIR)/pmlib_img.c --native-file=$(OUTDIR)/pmlib_nat.c $(PYMITELIB)/list.py $(PYMITELIB)/dict.py $(PYMITELIB)/__bi.py $(PYMITELIB)/sys.py $(PYMITELIB)/string.py $(wildcard $(FLIGHTPLANLIB)/*.py)
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmGenPmFeatures.py $(PYMITEPLAT)/pmfeatures.py > $(OUTDIR)/pmfeatures.h
|
|
||||||
@$(PYTHON) $(PYMITETOOLS)/pmImgCreator.py -f $(PYMITEPLAT)/pmfeatures.py -c -u -o $(OUTDIR)/pmlibusr_img.c --native-file=$(OUTDIR)/pmlibusr_nat.c $(FLIGHTPLANS)/test.py
|
|
||||||
EXTRAINCDIRS += ${foreach MOD, ${MODULES} ${PYMODULES}, $(OPMODULEDIR)/${MOD}/inc} ${OPMODULEDIR}/System/inc
|
EXTRAINCDIRS += ${foreach MOD, ${MODULES} ${PYMODULES}, $(OPMODULEDIR)/${MOD}/inc} ${OPMODULEDIR}/System/inc
|
||||||
|
|
||||||
# List any extra directories to look for library files here.
|
# List any extra directories to look for library files here.
|
||||||
@ -366,7 +336,6 @@ LDFLAGS += $(addprefix -T,$(LINKER_SCRIPTS_APP))
|
|||||||
|
|
||||||
# Define programs and commands.
|
# Define programs and commands.
|
||||||
REMOVE = $(REMOVE_CMD) -f
|
REMOVE = $(REMOVE_CMD) -f
|
||||||
PYTHON = python
|
|
||||||
|
|
||||||
# List of all source files.
|
# List of all source files.
|
||||||
ALLSRC = $(ASRCARM) $(ASRC) $(SRCARM) $(SRC) $(CPPSRCARM) $(CPPSRC)
|
ALLSRC = $(ASRCARM) $(ASRC) $(SRCARM) $(SRC) $(CPPSRCARM) $(CPPSRC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user