[PATCH] sb/setbuilder: Control buildsets using the --with-* command line option

Frank Kühndel frank.kuehndel at embedded-brains.de
Thu May 5 12:48:54 UTC 2022


Hi Chris,

On 5/5/22 04:52, chrisj at rtems.org wrote:
> From: Chris Johns <chrisj at rtems.org>
> 
> - Expand macros in buildset file names
> 
> - Add support to buildsets for `%defineifnot`
> 
> - Update 6 and 7 to support command line build overrides
> 
> Closes #4646

Useful feature. Just two comments:

1) There exist other packages. Have these been forgotten or are they
irrelevant for this purpose?

mips: mipstx39-rtems6-gdb-11.2-x86_64-linux-gnu-1
riscv: sis-2.29-x86_64-linux-gnu-1
sparc: sis-2.29-x86_64-linux-gnu-1
x86_64: grub2-2.06-x86_64-linux-gnu-1

2) Are these new options worth documenting? Currently:

source-builder/sb-set-builder --help
[...]
--with-<label>         : Add the --with-<label> to the build
--without-<label>      : Add the --without-<label> to the build
[...]

There at least exist the following (from source-builder/config/checks.cfg):

#
# Process the command line --with-/--without- options.
#
%{?with_cxx:%define enable_cxx 1}
%{?without_cxx:%define enable_cxx 0}
%{?with_ada:%define enable_ada 1}
%{?without_ada:%define enable_ada 0}
%{?with_fortran:%define enable_fortran 1}
%{?without_fortran:%define enable_fortran 0}
%{?with_java:%define enable_java 1}
%{?without_java:%define enable_java 0}
%{?with_objc:%define enable_objc 1}
%{?without_objc:%define enable_objc 0}

(Note: --with-java does not work. GCC configure does not known language
"java". See https://gcc.gnu.org/install/configure.html option
--enable-languages)

Greetings
fk

-- 
embedded brains GmbH
Herr Frank KÜHNDEL
Dornierstr. 4
82178 Puchheim
Germany
email: frank.kuehndel at embedded-brains.de
phone: +49-89-18 94 741 - 23
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list