]> andersk Git - test.git/commitdiff
Thanks to some more testing and additional information provided by Jan Jaeger,
authorMarkus Gutschke <markus@shellinabox.com>
Wed, 31 Mar 2010 16:07:06 +0000 (16:07 +0000)
committerMarkus Gutschke <markus@shellinabox.com>
Wed, 31 Mar 2010 16:07:06 +0000 (16:07 +0000)
we now have a much cleaner solution for building ShellInABox on OpenWRT.

ChangeLog
Makefile.am
Makefile.in
config.h
configure
configure.ac
demo/vt100.js
shellinabox/shell_in_a_box.js
shellinabox/vt100.js

index 339feb0364467bc7284b111246003b991511e117..6f9168d8ad2e09305d36d44fa8df4d9d8b4f4341 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-31  Markus Gutschke  <markus@shellinabox.com>
+
+       * Tweaked the build system to work better on OpenWRT. This is largely
+       thanks to very helpful bug reports, and lots of testing by Jan Jaeger.
+
 2010-03-29  Markus Gutschke  <markus@shellinabox.com>
 
        * Started working on support for WebSockets.
index 1aac9359e6d114d1b35b18951d0b19d5655fc013..aa1affb645bb19d1a1db4f29827a3d76ddff3ca5 100644 (file)
@@ -3,6 +3,7 @@ AM_CFLAGS            = -g -std=gnu99 -Wall
 AM_LDFLAGS           = -g
 
 OBJCOPY             ?= objcopy
+OBJDUMP             ?= objdump
 
 noinst_LTLIBRARIES   = libhttp.la                                             \
                        liblogging.la
@@ -113,11 +114,10 @@ shellinaboxd_LDFLAGS = -static
 objcopyflags         = case "$(host_cpu)" in                                  \
                          i[0-9]86)echo '-O elf32-i386 -B i386';;              \
                          x86_64)  echo '-O elf64-x86-64 -B i386:x86-64';;     \
-                         mips*)   echo '-O elf32-tradlittlemips -B mips:isa32'\
                          *)       trap 'rm -f /tmp/probe$$$$.o' EXIT;         \
                                   $(CC) $(AM_CFLAGS) $(CFLAGS) -c -xc         \
                                         -o /tmp/probe$$$$.o /dev/null &&      \
-                                  objdump -f /tmp/probe$$$$.o |               \
+                                  $(OBJDUMP) -f /tmp/probe$$$$.o |            \
                                   sed -e 's/.*file format */-O /;t;           \
                                        s/architecture: *\([^,]*\).*/-B \1/;t; \
                                        d';;                                   \
index 6630572bef2ad6b3d27a53a44afb972c1c789483..9a797fd14e167bb8a1ddc5306a649116c92296ac 100644 (file)
@@ -375,11 +375,10 @@ shellinaboxd_LDFLAGS = -static
 objcopyflags = case "$(host_cpu)" in                                  \
                          i[0-9]86)echo '-O elf32-i386 -B i386';;              \
                          x86_64)  echo '-O elf64-x86-64 -B i386:x86-64';;     \
-                         mips*)   echo '-O elf32-tradlittlemips -B mips:isa32'\
                          *)       trap 'rm -f /tmp/probe$$$$.o' EXIT;         \
                                   $(CC) $(AM_CFLAGS) $(CFLAGS) -c -xc         \
                                         -o /tmp/probe$$$$.o /dev/null &&      \
-                                  objdump -f /tmp/probe$$$$.o |               \
+                                  $(OBJDUMP) -f /tmp/probe$$$$.o |            \
                                   sed -e 's/.*file format */-O /;t;           \
                                        s/architecture: *\([^,]*\).*/-B \1/;t; \
                                        d';;                                   \
@@ -1154,6 +1153,7 @@ uninstall-man: uninstall-man1
 
 
 OBJCOPY             ?= objcopy
+OBJDUMP             ?= objdump
 
 libtool: $(LIBTOOL_DEPS)
        $(SHELL) ./config.status --recheck
index 0b51859eaef60f4d41c78fca0d8111ba0ef969c0..95721482647d1cf3edca58427fb17b5c4882447e 100644 (file)
--- a/config.h
+++ b/config.h
 #define STDC_HEADERS 1
 
 /* Most recent revision number in the version control system */
-#define VCS_REVISION "202"
+#define VCS_REVISION "204"
 
 /* Version number of package */
 #define VERSION "2.10"
index b6178194ad59302cc5dddf22595989ef03160b42..b58739a04ef036ca143ee8ab41749d39f96c3e68 100755 (executable)
--- a/configure
+++ b/configure
@@ -2325,7 +2325,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-VCS_REVISION=202
+VCS_REVISION=204
 
 
 cat >>confdefs.h <<_ACEOF
index 70ffbc4c71f7a69304bdd1b7192f01e1aa3933f0..2e67ff2ae5d7cc85a9823b6eeee3d994b1f2b8b2 100644 (file)
@@ -2,7 +2,7 @@ AC_PREREQ(2.57)
 
 dnl This is the one location where the authoritative version number is stored
 AC_INIT(shellinabox, 2.10, markus@shellinabox.com)
-VCS_REVISION=202
+VCS_REVISION=204
 AC_SUBST(VCS_REVISION)
 AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}",
                    [Most recent revision number in the version control system])
index e6fbf7980510456e10d0ad5c53c93d1fdd380104..bd09662625b9c885f1fabdce018a3d2226d0b020 100644 (file)
@@ -1955,7 +1955,7 @@ VT100.prototype.toggleBell = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.10 (revision 202)" +
+  alert("VT100 Terminal Emulator " + "2.10 (revision 204)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
index 63b079a854531ebb1cf5ddce478a6051b2982380..e40414739eb0856f1eb464d6c1af80c5a68ef627 100644 (file)
@@ -358,7 +358,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) {
 };
 
 ShellInABox.prototype.about = function() {
-  alert("Shell In A Box version " + "2.10 (revision 202)" +
+  alert("Shell In A Box version " + "2.10 (revision 204)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com" +
         (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ?
index e6fbf7980510456e10d0ad5c53c93d1fdd380104..bd09662625b9c885f1fabdce018a3d2226d0b020 100644 (file)
@@ -1955,7 +1955,7 @@ VT100.prototype.toggleBell = function() {
 };
 
 VT100.prototype.about = function() {
-  alert("VT100 Terminal Emulator " + "2.10 (revision 202)" +
+  alert("VT100 Terminal Emulator " + "2.10 (revision 204)" +
         "\nCopyright 2008-2010 by Markus Gutschke\n" +
         "For more information check http://shellinabox.com");
 };
This page took 0.044768 seconds and 5 git commands to generate.