RTEMS Logo

RTEMS 4.7.2 On-Line Library


Makefiles Directory Makefiles

PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

3.1.1: Directory Makefiles

The Directory class of Makefiles directs the build process through a set of subdirectories in a particular order. This order is usually chosen to insure that build dependencies are properly processed. Most BSPs only have one Directory class Makefile. The Makefile.am in the BSP root directory (c/src/lib/libbsp/CPU/BSP) specifies following Makefile fragment shows how a BSP would specify the directories to be built and their order:

SUB_DIRS=include start340 startup clock console timer \
    network wrapup


PREV UP NEXT Bookshelf BSP and Device Driver Development Guide

Copyright © 1988-2004 OAR Corporation