[rtems-source-builder commit] Allow external Newlib sources
Sebastian Huber
sebh at rtems.org
Tue Jul 24 07:06:33 UTC 2018
Module: rtems-source-builder
Branch: master
Commit: 100ddee92551ad973223cc9e5d2a6e2d969a13e2
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=100ddee92551ad973223cc9e5d2a6e2d969a13e2
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Fri Jul 20 07:33:54 2018 +0200
Allow external Newlib sources
---
source-builder/config/gcc-common-1.cfg | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source-builder/config/gcc-common-1.cfg b/source-builder/config/gcc-common-1.cfg
index 03d84bc..b432fdf 100644
--- a/source-builder/config/gcc-common-1.cfg
+++ b/source-builder/config/gcc-common-1.cfg
@@ -66,8 +66,8 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
cd ${build_top}
# newlib
- source_dir_newlib="newlib-%{newlib_version}"
- %source setup newlib -q -D -n newlib-%{newlib_version}
+ source_dir_newlib=%{?newlib_external:%{newlib_expand_name}}%{!?newlib_external:"newlib-%{newlib_version}"}
+ %source setup newlib -q -D -n ${source_dir_newlib}
%patch setup newlib -p1
cd ${build_top}
More information about the vc
mailing list