diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-04-14 01:01:17 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-04-14 01:02:14 +0200 |
commit | af22a51437678d5dcf24e0e0eed1823ad63c5420 (patch) | |
tree | 2cc9e1f79f7cb05a1ccd775b38a27524fa18339d | |
parent | b691a55f2c425a5a7b3d9f67bc5f24f680e023f0 (diff) | |
download | embtoolkit-af22a51437678d5dcf24e0e0eed1823ad63c5420.tar.gz embtoolkit-af22a51437678d5dcf24e0e0eed1823ad63c5420.tar.bz2 embtoolkit-af22a51437678d5dcf24e0e0eed1823ad63c5420.tar.xz |
Build system: host development machine: also take into account netbsd and openbsd
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | mk/targetsys.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mk/targetsys.mk b/mk/targetsys.mk index 9096718..286ae6a 100644 --- a/mk/targetsys.mk +++ b/mk/targetsys.mk @@ -36,8 +36,16 @@ embtk_clib_version := $(call embtk_get_pkgversion,$(embtk_clib)) # ifeq ($(findstring linux,$(HOST_ARCH)),linux) embtk_buildhost_os := linux +embtk_buildhost_os_type := linux else ifeq ($(findstring freebsd,$(HOST_ARCH)),freebsd) embtk_buildhost_os := freebsd +embtk_buildhost_os_type := bsd +else ifeq ($(findstring netbsd,$(HOST_ARCH)),netbsd) +embtk_buildhost_os := netbsd +embtk_buildhost_os_type := bsd +else ifeq ($(findstring openbsd,$(HOST_ARCH)),openbsd) +embtk_buildhost_os := openbsd +embtk_buildhost_os_type := bsd else embtk_buildhost_os := unknown-host-os endif |