Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 23 additions & 18 deletions classes/mozilla.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ SRC_URI += "file://mozconfig"

inherit pkgconfig

EXTRA_OEMAKE += "SHELL=/bin/sh"
EXTRA_OECONF = "--target=${TARGET_SYS} --host=${BUILD_SYS} \
--with-toolchain-prefix=${TARGET_SYS}- \
--prefix=${prefix}"
Expand All @@ -15,17 +14,9 @@ EXTRA_OECONF_append_x86-64 = " --disable-elf-hack"
SELECTED_OPTIMIZATION = "-Os -fsigned-char -fno-strict-aliasing"

export CROSS_COMPILE = "1"

export MOZCONFIG = "${B}/mozconfig"
export OBJDIR = "${S}/firefox-build-dir"
export MOZ_OBJDIR = "${S}/firefox-build-dir"
export FOUND_MOZCONFIG = "${B}/mozconfig"

export TARGET_SYS
export STAGING_INCDIR
export STAGING_LIBDIR

export CONFIGURE_ARGS = "${EXTRA_OECONF}"
export HOST_CC = "${BUILD_CC}"
export HOST_CXX = "${BUILD_CXX}"
export HOST_CFLAGS = "${BUILD_CFLAGS}"
Expand All @@ -34,32 +25,46 @@ export HOST_LDFLAGS = "${BUILD_LDFLAGS}"
export HOST_RANLIB = "${BUILD_RANLIB}"
export HOST_AR = "${BUILD_AR}"

mozilla_run_mach() {
export SHELL="/bin/sh"

export RUST_TARGET="${RUST_TARGET_SYS}"
export RUST_TARGET_PATH="${STAGING_LIBDIR_NATIVE}/rustlib"
export BINDGEN_INCCPP="${STAGING_INCDIR}"
export BINDGEN_LLVM_BASE="/usr/lib"

export INSTALL_SDK=0
export DESTDIR="${D}"

./mach "$@"
}

mozilla_do_configure() {
install -D -m 0644 ${WORKDIR}/mozconfig ${MOZCONFIG}
# Put PARALLEL_MAKE into mozconfig
if [ ! -z "${PARALLEL_MAKE}" ] ; then
echo mk_add_options MOZ_MAKE_FLAGS=\"${PARALLEL_MAKE}\" \
>> ${MOZCONFIG}
fi
if [ ! -z "${EXTRA_OECONF}" ] ; then
for f in ${EXTRA_OECONF}
do
echo ac_add_options $f >> ${MOZCONFIG}
done

fi
if [ ! -z "${PACKAGECONFIG_CONFARGS}" ] ; then
for f in ${PACKAGECONFIG_CONFARGS}
do
echo ac_add_options $f >> ${MOZCONFIG}
done
fi
echo ac_add_options --enable-optimize=\"${SELECTED_OPTIMIZATION}\" \
>> ${MOZCONFIG}

oe_runmake -f client.mk -s configure
mozilla_run_mach configure
}

mozilla_do_compile() {
oe_runmake -f client.mk build
mozilla_run_mach build
}

mozilla_do_install() {
oe_runmake -f client.mk install INSTALL_SDK= DESTDIR="${D}"
mozilla_run_mach install
}

EXPORT_FUNCTIONS do_configure do_compile do_install
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

require firefox-l10n.inc

SRC_URI[md5sum] = "63e954da9967baa335281e5bbed5a28f"
SRC_URI[sha256sum] = "f0430c3a56a450f4bf5c21caf847a279cb19e8a5373939a13f537f8b7bab7367"
SRC_URI[md5sum] = "12500da05035fef6432e604a76e47a24"
SRC_URI[sha256sum] = "867c8917c20bd264ec7388438468c861b0684980640ee9f2d35e90ffc78bc48c"
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

require firefox-l10n.inc

SRC_URI[md5sum] = "24537d244c8582821145cae3fe94d071"
SRC_URI[sha256sum] = "e271fa624527ff760878cd420942c704077fecbf723de22d3dd9287a60e076af"
SRC_URI[md5sum] = "ca3d6e9569def0b676c02e0074faeb6c"
SRC_URI[sha256sum] = "c632cda90a84f2513615758af6590ab9a742d0cc8118cd15a463482663ec7100"
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

require firefox-l10n.inc

SRC_URI[md5sum] = "7b21773d429adaee688a71d11e247637"
SRC_URI[sha256sum] = "0d58ab44168656d85fc4d2a726ab39f7a79a5e3d161cd21c32b190bbae05e560"
SRC_URI[md5sum] = "eb9111f31f1af8f8e18aaf08f911152c"
SRC_URI[sha256sum] = "2bda3e03f74015d7d7e8af3b437c8c11bbc6f6d6ad915871c8f9fbeae3dd6863"
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

require firefox-l10n.inc

SRC_URI[md5sum] = "d58977fcdaea11fad31264750624b76f"
SRC_URI[sha256sum] = "1658b2782ff9ba538f9215d1214be2d201293739fba29cade86205506465aab4"
SRC_URI[md5sum] = "17692125b44fa98521d21dfdc5befe95"
SRC_URI[sha256sum] = "db903ff36e7e4636b7042f166003e17d797d613248e4e5f5a17eeceba89218f5"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-as_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-as_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "2af12d6803d04866ae8f8c7b1478a69a"
SRC_URI[sha256sum] = "efc5fc41c22d96e1e3827d997e418277cf1e3de453aec02734ba513639543eb0"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-ast_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-ast_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "8b16766560055e9f7b7ea11508e89941"
SRC_URI[sha256sum] = "b573efa4c86ad03c2750c17cdd1733fff0ef648578331ee669abf060cefecbad"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-az_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-az_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "b26e9d86fa2e573583f062e9150b8f38"
SRC_URI[sha256sum] = "e7eeea07d9dbc66d403b4b1d6dab762002efbfd94db8c609896e43c746090aa8"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-bg_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-bg_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "8bb8fd79ee166c70e1f7d70f4d0217a1"
SRC_URI[sha256sum] = "8ae009506eeafbece65b118a237df7c91039be5debf7c513625d735f2677780d"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-bn-bd_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-bn-bd_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "15e5ec069ac86af8d8f867098b815d4a"
SRC_URI[sha256sum] = "8b579f446ef0521b83448cf2b284a8bfdb64e024c690929049916c018566064f"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-bn-in_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-bn-in_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "5c49ae6631eeea03ecffdfab763b1d23"
SRC_URI[sha256sum] = "544db0c07e39c402c09c69e485697305234cdcdb3a8cda100c411f063ab845d6"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-br_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-br_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "7fd236291abf4e74b963cdfd6cbc513d"
SRC_URI[sha256sum] = "8ba1ce2937b77409c4021a97587b1766de8df07123eb76f33c01085a97d25014"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-bs_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-bs_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "2a6814e6aa6f27d9632a33582b99d7eb"
SRC_URI[sha256sum] = "4ff6cc7c2ce855bdc5adb81c182c07c20f857e78b89a8202ec6c82f7e987f9f1"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-ca_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-ca_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "9cf0f4564c65dbe766622ad0e2bded77"
SRC_URI[sha256sum] = "0d6dcfeec6ce9e4dba40d9dc0aa0d8e0f5d47949693efedc426d59c051da20da"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-cak_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-cak_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "da27cf2e78c1cb935b77b8329b5a2125"
SRC_URI[sha256sum] = "52122df2048402996e66704a58f6ca49059f75eccc945a4ba189dcbfc013411c"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-cs_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-cs_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "080b098bbc52e0dcc51b5b9a715a15b8"
SRC_URI[sha256sum] = "f4fa1c7bb1e276c7220f0c33a5968c660f00fb5aa2c412c033034355fcba9934"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-cy_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-cy_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "8c6ca269e468bdb039449e4e99d3da59"
SRC_URI[sha256sum] = "a122b18fce6809d68f6ccfe94c4f6d8d84a709036fe5d4ff50f679eed87c4577"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-da_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-da_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "e03044e073fa98f38924cfd421c7888b"
SRC_URI[sha256sum] = "72ed880f72b10526259c4843ebc6ebb92184548de645f409b397949a50fe4b5e"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-de_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-de_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "9b98777d5cb0ff8fcd47f8c1d8df3462"
SRC_URI[sha256sum] = "9938e29a27ce91c3a9349a04848acc39107283b47c4c01a4517b3cbcfbb31bf7"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-dsb_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-dsb_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "a3d3584ab9b8f9347eb08a0ab34ccc66"
SRC_URI[sha256sum] = "c95156a1857a6169851f56961b1b4eed0b5b5315ebb653a2f2d8196f8f3bfdd1"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-el_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-el_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "86daebb604ed4f51105660faae5f4d64"
SRC_URI[sha256sum] = "911f062ff50c4a5e4f4a7a7683fd6cd5b269e1522a09ae3af3afe76e4717862a"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-en-gb_52.9.0esr.bb

This file was deleted.

7 changes: 7 additions & 0 deletions recipes-browser/firefox-l10n/firefox-l10n-en-gb_60.1.0esr.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright (C) 2009-2018, O.S. Systems Software Ltda. All Rights Reserved
# Released under the MIT license (see packages/COPYING)

require firefox-l10n.inc

SRC_URI[md5sum] = "402071a9b84fe6c1f892e485daa5ae7f"
SRC_URI[sha256sum] = "3e5c1015b2b12cd6dd65010a6ef41eef040b2d2ecad38528ad36be900b2a0c24"
7 changes: 0 additions & 7 deletions recipes-browser/firefox-l10n/firefox-l10n-en-us_52.9.0esr.bb

This file was deleted.

Loading