diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-29 12:48:14 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-29 12:48:14 +0100 |
commit | 4c5aa6b015227ce1639ed0948f794bc69f826fb4 (patch) | |
tree | bf07f9090940db5235597ca174c15aaa31e42dd1 /mk | |
parent | d0af6badfdb07ae98c5852576cc27ef61f2948d6 (diff) | |
download | embtoolkit-4c5aa6b015227ce1639ed0948f794bc69f826fb4.tar.gz embtoolkit-4c5aa6b015227ce1639ed0948f794bc69f826fb4.tar.bz2 embtoolkit-4c5aa6b015227ce1639ed0948f794bc69f826fb4.tar.xz |
Build system: give ability to know on which host os EmbToolkit is running
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/targetsys.mk | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mk/targetsys.mk b/mk/targetsys.mk index 66cb45f..9096718 100644 --- a/mk/targetsys.mk +++ b/mk/targetsys.mk @@ -30,3 +30,14 @@ embtk_clib-$(CONFIG_EMBTK_CLIB_EGLIBC) := eglibc embtk_clib-$(CONFIG_EMBTK_CLIB_UCLIBC) := uclibc embtk_clib := $(or $(embtk_clib-y),invalid-clib) embtk_clib_version := $(call embtk_get_pkgversion,$(embtk_clib)) + +# +# Host development machine info +# +ifeq ($(findstring linux,$(HOST_ARCH)),linux) +embtk_buildhost_os := linux +else ifeq ($(findstring freebsd,$(HOST_ARCH)),freebsd) +embtk_buildhost_os := freebsd +else +embtk_buildhost_os := unknown-host-os +endif |