Initial pass at fixing the appWeb crosscompile. No install target yet, and I'm certa...
authorChris Larson <clarson@kergoth.com>
Thu, 29 Jan 2004 01:50:45 +0000 (01:50 +0000)
committerChris Larson <clarson@kergoth.com>
Thu, 29 Jan 2004 01:50:45 +0000 (01:50 +0000)
BKrev: 401866f5Agynu7l_Rl5aZ2AliKNCXg

nonworking/appweb/appweb-1.0.0/charsignedness.patch [new file with mode: 0644]
nonworking/appweb/appweb-1.0.0/makerules.patch [new file with mode: 0644]
nonworking/appweb/appweb_1.0.0.oe

diff --git a/nonworking/appweb/appweb-1.0.0/charsignedness.patch b/nonworking/appweb/appweb-1.0.0/charsignedness.patch
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/nonworking/appweb/appweb-1.0.0/makerules.patch b/nonworking/appweb/appweb-1.0.0/makerules.patch
new file mode 100644 (file)
index 0000000..e69de29
index e69de29..6826589 100644 (file)
@@ -0,0 +1,77 @@
+SRC_URI = http://www.mbedthis.com/software/appWeb-${PV}.LINUX-i386.self.tar.gz 
+SRC_URI_EXTRA = 'file://${WORKDIR}/appWeb-src-${PV}-5.tar.gz \
+                file://${FILESDIR}/charsignedness.patch;patch=1 \
+                file://${FILESDIR}/makerules.patch;patch=1'
+S = ${WORKDIR}/appWeb-${PV}
+
+python do_unpack () {
+       oe.build.exec_func('base_do_unpack', d)
+       src_uri = oe.data.getVar('SRC_URI', d)
+       oe.data.setVar('SRC_URI', '${SRC_URI_EXTRA}', d)
+       oe.build.exec_func('base_do_unpack', d)
+       oe.data.setVar('SRC_URI', src_uri, d)
+       oe.build.exec_func('do_unpack_cleanup', d)
+}
+
+do_unpack_cleanup () {
+       (
+               set -e
+               cd ${WORKDIR}
+               rm -f README.HTML install remove
+       )
+}
+
+python do_patch () {
+       oe.build.exec_func('base_do_patch', d)
+       src_uri = oe.data.getVar('SRC_URI', d)
+       oe.data.setVar('SRC_URI', '${SRC_URI_EXTRA}', d)
+       oe.build.exec_func('base_do_patch', d)
+       oe.data.setVar('SRC_URI', src_uri, d)
+}
+#       --enable-access-log
+#       --enable-admin
+#       --enable-all-static
+#       --enable-assert
+#       --enable-c-api
+#       --enable-dll
+#       --enable-fast-malloc
+#       --enable-goahead-compat
+#       --enable-if-modified
+#       --enable-log
+#       --enable-rom-fs
+#       --enable-run-as-service
+#       --enable-safe-strings
+#       --enable-squeeze
+#       --enable-ssl
+#       --enable-session
+
+APPWEB_TARGET = ${TARGET_ARCH}
+APPWEB_OS = ${TARGET_OS}
+APPWEB_OS_linux = LINUX
+EXTRA_OECONF = '--os ${APPWEB_OS} --target ${APPWEB_TARGET} \
+               --enable-keep-alive \
+               --enable-multi-thread \
+               --enable-cgi \
+               --enable-cookie \
+               --enable-config \
+               --enable-digest-auth \
+               --disable-ssl'
+EXTRA_OEMAKE = "'CC=${CC}' 'AR=${AR}' 'CPP=${CXX}' 'LD=${CC}'"
+
+export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH}
+do_configure () {
+       ./configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+       oe_runmake build
+       oe_runmake compile
+}
+
+do_stage () {
+       :
+}
+
+do_install () {
+       :
+}