summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-05-24 20:41:10 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-05-24 20:41:10 +0200
commit20b401a5770e6cb1da538b2af7ae16145bc167eb (patch)
tree4bbbcc3849c3f0fb3e772bc29bf69d2d1713e52d /mk
parent0ba2dbcd96ee1cee70b06dff452396f24f0857fc (diff)
downloadembtoolkit-20b401a5770e6cb1da538b2af7ae16145bc167eb.tar.gz
embtoolkit-20b401a5770e6cb1da538b2af7ae16145bc167eb.tar.bz2
embtoolkit-20b401a5770e6cb1da538b2af7ae16145bc167eb.tar.xz
Build system/kconfig entries: specify that linux system will be built
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/target-mcu.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/mk/target-mcu.mk b/mk/target-mcu.mk
index 04cb396..0113532 100644
--- a/mk/target-mcu.mk
+++ b/mk/target-mcu.mk
@@ -23,16 +23,15 @@
# \date May 2009
################################################################################
-embtk_os := linux
+embtk_os-$(CONFIG_EMBTK_OS_LINUX) := linux
+embtk_os := $(or $(embtk_os-y),invalid-os)
-#ARM
+# ARM
ifeq ($(CONFIG_EMBTK_ARCH_ARM),y)
include $(EMBTK_ROOT)/mk/arch/arm/arm.mk
endif
-#M68K
-
-#MIPS
+# MIPS
ifeq ($(CONFIG_EMBTK_ARCH_MIPS),y)
include $(EMBTK_ROOT)/mk/arch/mips/mips.mk
endif