diff options
author | Chris Johns <chrisj@rtems.org> | 2019-07-17 22:19:04 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2019-07-19 17:50:05 +1000 |
commit | 270c5df5dbaf93c19e2f66a27f4bb73c7e625629 (patch) | |
tree | 50c493a2212276ab93948412f18feaf949f85cc2 /make/custom/default.cfg | |
parent | score/interr: Fix comments. (diff) | |
download | rtems-270c5df5dbaf93c19e2f66a27f4bb73c7e625629.tar.bz2 |
Makefile.inc: Add support for staged builds.
- Allow the RTEMS_ROOT to be conditionally supplied. This
can be a staging area before being moved to the final
install prefix location.
- Update the default.cfg to use RTEMS_ROOT and to not rely on
the exec_prefix so it's paths can be staged.
- Fix and add the needed configure subs.
Closes #3768
Diffstat (limited to '')
-rw-r--r-- | make/custom/default.cfg | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/custom/default.cfg b/make/custom/default.cfg index bbe8e05e07..96bb9afb5e 100644 --- a/make/custom/default.cfg +++ b/make/custom/default.cfg @@ -5,11 +5,13 @@ # Created by Jiri Gaisler, 16-03-97 (who is owed a debt of gratitude # for the initial RTEMS autoconf support. Thanks. --joel) -include $(exec_prefix)/$(RTEMS_BSP)/make/target.cfg +RTEMS_TARGET = $(RTEMS_CPU)-rtems$(RTEMS_API) + +include $(RTEMS_ROOT)/$(RTEMS_TARGET)/$(RTEMS_BSP)/make/target.cfg include $(RTEMS_SHARE)/make/host.cfg include $(RTEMS_ROOT)/make/main.cfg -include $(exec_prefix)/$(RTEMS_BSP)/make/bsp.cfg +include $(RTEMS_ROOT)/$(RTEMS_TARGET)/$(RTEMS_BSP)/make/bsp.cfg ## Target compiler config file, if any CONFIG.CC = $(RTEMS_SHARE)/make/compilers/gcc-target-default.cfg |