-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
62,760 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
################################################################################ | ||
################################################################################ | ||
## | ||
## Makefile -- makefile for FreeRTOS modules. | ||
## | ||
## Mandatory settings: | ||
## | ||
## o TOPDIR = the toplevel directory (using slashes as path separator) | ||
## o TARGET = the machine qualifier to generate code for | ||
## o DIRECTORIES = the list of sub directories to build | ||
## | ||
################################################################################ | ||
################################################################################ | ||
|
||
TOPDIR = .. | ||
SUBDIR = FreeRTOS | ||
|
||
include $(TOPDIR)/env/make/Makefile.config | ||
|
||
################################################################################ | ||
# project specific settings | ||
################################################################################ | ||
|
||
DIRECTORIES += portable | ||
|
||
LIBRARY = libFreeRTOS | ||
|
||
################################################################################ | ||
# source files | ||
################################################################################ | ||
|
||
HEADERS += include/FreeRTOS.h | ||
HEADERS += include/deprecated_definitions.h | ||
HEADERS += include/list.h | ||
HEADERS += include/mpu_wrappers.h | ||
HEADERS += include/portable.h | ||
HEADERS += include/projdefs.h | ||
HEADERS += include/stack_macros.h | ||
HEADERS += include/task.h | ||
HEADERS += include/timers.h | ||
HEADERS += include/queue.h | ||
|
||
SOURCES += portable/MemMang/heap_1.c | ||
SOURCES += portable/MemMang/heap_2.c | ||
SOURCES += portable/MemMang/heap_3.c | ||
SOURCES += portable/MemMang/heap_4.c | ||
SOURCES += portable/MemMang/heap_5.c | ||
|
||
SOURCES += list.c | ||
SOURCES += queue.c | ||
SOURCES += tasks.c | ||
|
||
################################################################################ | ||
# define user targets | ||
################################################################################ | ||
|
||
default: all | ||
|
||
clean: clean-objects clean-library $(DIRECTORIES:%=subdir-clean-%) | ||
|
||
build: build-objects build-library $(DIRECTORIES:%=subdir-build-%) | ||
|
||
headers: install-headers $(DIRECTORIES:%=subdir-headers-%) | ||
|
||
install: build install-library $(DIRECTORIES:%=subdir-install-%) | ||
|
||
depend: $(DIRECTORIES:%=subdir-depend-%) | ||
|
||
all: clean build install | ||
|
||
################################################################################ | ||
# include internal definitions and rules | ||
################################################################################ | ||
|
||
include $(TOPDIR)/env/make/Makefile.rules | ||
|
||
################################################################################ | ||
# local directory specific rules | ||
################################################################################ | ||
|
||
subdir-clean-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking clean [$(SUBDIR)/$(@:subdir-clean-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-clean-%=%) clean TARGET=$(TARGET) | ||
|
||
subdir-depend-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking depend [$(SUBDIR)/$(@:subdir-depend-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-depend-%=%) depend TARGET=$(TARGET) | ||
|
||
subdir-headers-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking headers [$(SUBDIR)/$(@:subdir-headers-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-headers-%=%) headers TARGET=$(TARGET) | ||
|
||
subdir-build-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking build [$(SUBDIR)/$(@:subdir-build-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-build-%=%) build TARGET=$(TARGET) | ||
|
||
subdir-install-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking install [$(SUBDIR)/$(@:subdir-install-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-install-%=%) install TARGET=$(TARGET) | ||
|
||
subdir-release-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking release [$(SUBDIR)/$(@:subdir-release-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-release-%=%) release TARGET=$(TARGET) | ||
|
||
subdir-doc-%: | ||
@$(NEWLINE) | ||
@$(ECHO) $(ECHOPREFIX) Submaking doc [$(SUBDIR)/$(@:subdir-doc-%=%)] for target [$(TARGET)] | ||
@$(SUBMAKE) -C $(@:subdir-doc-%=%) doc TARGET=$(TARGET) | ||
|
Oops, something went wrong.