summaryrefslogtreecommitdiff
path: root/nuttx/examples/pashello/mkhello.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/examples/pashello/mkhello.sh')
-rwxr-xr-xnuttx/examples/pashello/mkhello.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/examples/pashello/mkhello.sh b/nuttx/examples/pashello/mkhello.sh
index a0aab89b9..7dfa6bbab 100755
--- a/nuttx/examples/pashello/mkhello.sh
+++ b/nuttx/examples/pashello/mkhello.sh
@@ -1,6 +1,6 @@
#!/bin/sh
############################################################################
-# mkhello.sh
+# examples/pashello/mkhello.sh
#
# Copyright (C) 2008 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr>
@@ -44,6 +44,7 @@ PLINK=${BINDIR}/plink
PRUN=${BINDIR}/prun
PASFILENAME=hello.pas
+OUFILE=hello.h
STRSTKSZ=1024
function sanity_check ()
@@ -127,8 +128,14 @@ function test_hello ()
fi
}
+function make_include ()
+{
+ xxd -i hello.pex >hello.pas
+}
+
sanity_check
compile_hello
rm *.o *.o1 *.lst *.err
test_hello
+make_include