summaryrefslogtreecommitdiff
path: root/bit
diff options
context:
space:
mode:
Diffstat (limited to 'bit')
-rwxr-xr-xbit16
1 files changed, 13 insertions, 3 deletions
diff --git a/bit b/bit
index a1aef70..3c16885 100755
--- a/bit
+++ b/bit
@@ -1,13 +1,23 @@
#!/bin/sh
+#
+# Build all add-on packages for the current RTEMS_MAKEFILE_PATH architecture.
+#
set -ex
-PACKAGES="avl-1.4.0 ncurses-5.2 readline-4.2"
+PACKAGES="avl-1.4.0 ncurses-5.2 readline-4.3 libtecla-1.4.1"
for p in $PACKAGES
do
- pname=`echo $p | sed -e '/-.*/s///'`
- (cd $p ; make -f ../RTEMS_Makefiles/Makefile.$pname)
+ (
+ cd $p
+ makefile="../RTEMS_Makefiles/Makefile.$p"
+ if [ \! -r "$makefile" ]
+ then
+ makefile="`echo $makefile | sed -e '/-.*/s///'`"
+ fi
+ make -f "$makefile"
+ )
done
for p in $PACKAGES