forked from Imagelibrary/rtems
<corsepiu@faw.uni-ulm.de> which does the following: This is the configuration cleanup patch: Main changes: * TARGET_ARCH removed * target.cfg.in moved to c/make/target.cfg.in (Only configured once for all BSPs of a target) * BARE_XXX variables appended to bsp.cfg.in * autogen renamed to bootstrap * removed stray variables from make/custom/*.cfg To apply: cd <source-tree> rm c/src/make/target.cfg.in cp autogen bootstrap mkdir c/make cp make/target.cfg.in c/make/target.cfg.in rm make/target.cfg.in rm autogen patch -p1 < rtems-rc-19991105-1.diff
80 lines
1.4 KiB
INI
80 lines
1.4 KiB
INI
#
|
|
# $Id$
|
|
#
|
|
# make/main.cfg
|
|
#
|
|
# Make(1) configuration file include'd by all Makefile's
|
|
#
|
|
|
|
#
|
|
# where things are relative to PROJECT_ROOT; shouldn't need to change,
|
|
# but could be overridden in custom files.
|
|
#
|
|
|
|
PROJECT_RELEASE=$(PROJECT_ROOT)/$(RTEMS_BSP)
|
|
PROJECT_BIN=$(PROJECT_RELEASE)/bin
|
|
PROJECT_INCLUDE=$(PROJECT_RELEASE)/lib/include
|
|
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
|
|
|
#
|
|
# Target architecture; may be changed as per 'make "ARCH=debug"'
|
|
# This is where the object files get put.
|
|
#
|
|
|
|
ARCH=o-optimize
|
|
|
|
VARIANT=
|
|
|
|
#
|
|
# Initial target for make(1)
|
|
# Once this is established we can safely include other targets
|
|
# within this make-include file.
|
|
#
|
|
|
|
default_target: all
|
|
|
|
#
|
|
# Default makefile name
|
|
# May be overridden by command line macro assignment
|
|
#
|
|
|
|
MAKEFILE=Makefile
|
|
|
|
#
|
|
# Target variant names
|
|
#
|
|
TARGET_VARIANTS = optimize debug profile
|
|
|
|
#
|
|
# Generate list of object directories: o-optimize, o-debug, o-profile
|
|
#
|
|
VARIANTS=${TARGET_VARIANTS:%=o-%}
|
|
|
|
#
|
|
# List of "recursion-able" targets for directory Makefiles
|
|
#
|
|
|
|
RECURSE_TARGETS=all depend install \
|
|
preinstall-recursive \
|
|
$(TARGET_VARIANTS)
|
|
|
|
${ARCH}:
|
|
test -d ${ARCH} || mkdir ${ARCH}
|
|
|
|
# general purpose forcing dependency; try to use .PHONY instead
|
|
FORCEIT:
|
|
|
|
FORCE:
|
|
|
|
distclean-generic:
|
|
-$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
|
|
-$(RM) -r $(CLOBBER_ADDITIONS)
|
|
|
|
clean-generic:
|
|
-$(RM) a.out core mon.out gmon.out
|
|
-$(RM) -r $(CLEAN_ADDITIONS)
|
|
|
|
.PHONY: $(RECURSE_TARGETS)
|
|
.PHONY: clean-generic
|
|
.PHONY: distclean-generic
|