summaryrefslogtreecommitdiffstats
path: root/nuttx/configs/sim/nsh/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-02-11 01:30:40 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2011-02-11 01:30:40 +0000
commitf2081952dbb4614754cd15c16dddf78e41b5fca5 (patch)
tree8e38d33246ba4ab549dbdfb4085a2e7dffac93e9 /nuttx/configs/sim/nsh/Make.defs
parente4ff91b8c71e5fd44a31c0c05700c8d900a22852 (diff)
Don' depend on uname -o working
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@3281 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/sim/nsh/Make.defs')
-rw-r--r--nuttx/configs/sim/nsh/Make.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sim/nsh/Make.defs b/nuttx/configs/sim/nsh/Make.defs
index 163224b7af..74086dccd9 100644
--- a/nuttx/configs/sim/nsh/Make.defs
+++ b/nuttx/configs/sim/nsh/Make.defs
@@ -1,7 +1,7 @@
############################################################################
# configs/sim/nsh/Make.defs
#
-# Copyright (C) 2008 Gregory Nutt. All rights reserved.
+# Copyright (C) 2008, 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
#
# Redistribution and use in source and binary forms, with or without
@@ -35,7 +35,7 @@
include ${TOPDIR}/.config
-HOSTOS = ${shell uname -o}
+HOSTOS = ${shell uname -o 2>/dev/null || echo "Other"}
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)
ARCHOPTIMIZATION = -g