diff --git a/make/defs.mk b/make/defs.mk index 8aff6ac4..1c1af4a3 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -56,6 +56,7 @@ endif GET_OS_SH ?= /bin/bash $(MOD_SCRIPT_DIR)/get-os.sh OS ?= $(shell $(GET_OS_SH)) OS_NAME ?= $(shell $(GET_OS_SH) name) +OSTYPE ?= $(shell $(GET_OS_SH) type) CREATE_DEVEL ?= true #COMPILER_SUITE ?= clang diff --git a/scripts/get-os.sh b/scripts/get-os.sh index 367c90f1..da180ba1 100755 --- a/scripts/get-os.sh +++ b/scripts/get-os.sh @@ -122,6 +122,11 @@ cmd_name() echo ${nv%%-*} } +cmd_type() +{ + echo linux +} + # --- here we go myname=`basename $0`