From 7fbbb6e546c56e44e8137e15a406dc33bdbae54f Mon Sep 17 00:00:00 2001 From: Vladimir Prus Date: Tue, 30 Jun 2009 15:41:42 +0000 Subject: [PATCH] Add 'elf' value of target-os. [SVN r54536] --- src/tools/builtin.jam | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tools/builtin.jam b/src/tools/builtin.jam index f0109e6cb..02f2c3f9c 100644 --- a/src/tools/builtin.jam +++ b/src/tools/builtin.jam @@ -39,7 +39,13 @@ import generate ; .os-names = aix bsd cygwin darwin freebsd hpux iphone linux netbsd - openbsd osf qnx qnxnto sgi solaris unix unixware windows ; + openbsd osf qnx qnxnto sgi solaris unix unixware windows + elf # Not actually an OS -- used for targeting bare metal where + # object format is ELF. This catches both -elf and -eabi gcc + # targets and well as other compilers targeting ELF. It is not + # clear how often do we need to key of ELF specifically as opposed + # to other bare metal targets, but let's stick with gcc naming. + ; # Feature used to determine which OS we're on. New and # features should be used instead.