From 220a96f9926788ed531717f78e44fdf1e7ab3b34 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 30 Dec 2010 22:45:29 +0100 Subject: rework architecture / embedded systems concept Make configuration of new targets cheap. Just add a new file in target/arch/sys-enabled/foo. See other files for syntax. While doing runtime tests with the new infrastructure I've updated a lot of other stuff: - gcc 4.5.2 - uClibc 0.9.32-rc1 (NPTL) - strongswan, php, miredo, parted, util-linux-ng, e2fsprogs I promise, this is the last big fat commit this year ;) --- package/firefox/Makefile | 9 +++++---- package/firefox/patches/patch-configure | 28 ++++++++++++++++++++++++++-- 2 files changed, 31 insertions(+), 6 deletions(-) (limited to 'package/firefox') diff --git a/package/firefox/Makefile b/package/firefox/Makefile index b5a195c6f..0e1c6fe9f 100644 --- a/package/firefox/Makefile +++ b/package/firefox/Makefile @@ -17,7 +17,7 @@ PKG_BUILDDEP+= nspr nss jpeg libXt fontconfig sqlite PKG_URL:= http://www.mozilla.org/ PKG_SITES:= http://releases.mozilla.org/pub/mozilla.org/firefox/releases/${PKG_VERSION}/source/ -PKG_TARGET_DEPENDS:= alix x86 x86_64 mips mipsel mips64 mips64el +PKG_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el PKG_HOST_DEPENDS:= !netbsd !freebsd !openbsd !cygwin DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.source.tar.bz2 @@ -38,8 +38,9 @@ endif CONFIGURE_ENV+= CROSS_COMPILE=1 HOST_CC="${HOSTCC}" HOST_CFLAGS="${HOSTCFLAGS}" \ HOST_CXX="${HOSTCXX}" HOST_CXXFLAGS="${HOSTCXXFLAGS}" \ HOST_LIBIDL_CONFIG="${HOST_LIBIDL_CONFIG}" \ + PKG_HOSTLIB_DIR="${PKG_HOSTLIB_DIR}" \ HOST_RANLIB="ranlib" HOST_AR="ar" \ - CPPFLAGS="-I${STAGING_DIR}/usr/include/freetype2" \ + CPPFLAGS="-I${STAGING_TARGET_DIR}/usr/include/freetype2" \ ac_cv_sqlite_secure_delete=yes \ ac_cv_thread_keyword=no \ ac_cv_sizeof_int_p=4 @@ -51,8 +52,8 @@ CONFIGURE_ARGS+= --enable-application=browser \ --with-system-nss \ --with-system-nspr \ --enable-system-sqlite \ - --with-libIDL-prefix=${STAGING_DIR}/usr \ - --with-glib-prefix=${STAGING_DIR}/usr \ + --with-libIDL-prefix=${STAGING_TARGET_DIR}/usr \ + --with-glib-prefix=${STAGING_TARGET_DIR}/usr \ --enable-libxul \ --disable-tests \ --disable-libconic \ diff --git a/package/firefox/patches/patch-configure b/package/firefox/patches/patch-configure index a5f6df0b9..4a3499a7b 100644 --- a/package/firefox/patches/patch-configure +++ b/package/firefox/patches/patch-configure @@ -1,5 +1,5 @@ ---- mozilla-1.9.2.orig/configure 2010-10-27 05:09:28.000000000 +0200 -+++ mozilla-1.9.2/configure 2010-12-12 12:03:54.000000000 +0100 +--- mozilla-1.9.2.orig/configure 2010-12-03 16:57:11.000000000 +0100 ++++ mozilla-1.9.2/configure 2010-12-29 21:52:34.000000000 +0100 @@ -3970,7 +3970,7 @@ else echo "$ac_t""yes" 1>&6 fi @@ -26,3 +26,27 @@ else cat > conftest.$ac_ext <