we now have a much cleaner solution for building ShellInABox on OpenWRT.
+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.
AM_LDFLAGS = -g
OBJCOPY ?= objcopy
+OBJDUMP ?= objdump
noinst_LTLIBRARIES = libhttp.la \
liblogging.la
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';; \
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';; \
OBJCOPY ?= objcopy
+OBJDUMP ?= objdump
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
#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"
ac_compiler_gnu=$ac_cv_c_compiler_gnu
-VCS_REVISION=202
+VCS_REVISION=204
cat >>confdefs.h <<_ACEOF
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])
};
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");
};
};
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 ?
};
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");
};