From: <ting.liu@nxp.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-ppc][PATCH 04/13] u-boot-qoriq: sync with u-boot.inc from poky
Date: Fri, 17 Jun 2016 15:36:17 +0800 [thread overview]
Message-ID: <1466148986-926-5-git-send-email-ting.liu@nxp.com> (raw)
In-Reply-To: <1466148986-926-1-git-send-email-ting.liu@nxp.com>
From: Ting Liu <ting.liu@nxp.com>
* remove duplicate settings
* sync the definition of EXTRA_OEMAKE
Signed-off-by: Ting Liu <ting.liu@nxp.com>
---
recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb | 18 +++++-------------
1 file changed, 5 insertions(+), 13 deletions(-)
diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
index d43a4a6..9128c65 100644
--- a/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
+++ b/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb
@@ -2,9 +2,7 @@ require recipes-bsp/u-boot/u-boot.inc
inherit fsl-u-boot-localversion
DESCRIPTION = "U-boot provided by Freescale with focus on QorIQ boards"
-HOMEPAGE = "http://u-boot.sf.net"
-SECTION = "bootloaders"
-PROVIDES = "virtual/bootloader u-boot"
+PROVIDES += "u-boot"
LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1"
LIC_FILES_CHKSUM = " \
file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
@@ -19,20 +17,19 @@ INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "libgcc virtual/${TARGET_PREFIX}gcc"
DEPENDS_append_qoriq-ppc = " boot-format-native"
-inherit deploy
-
SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=sdk-v2.0.x \
file://fix-build-error-under-gcc6.patch \
"
SRCREV = "a9b437f50e2051f8d42ec9e1a6df52de4bc00e1e"
+S = "${WORKDIR}/git"
+
python () {
if d.getVar("TCMODE", True) == "external-fsl":
return
ml = d.getVar("MULTILIB_VARIANTS", True)
arch = d.getVar("OVERRIDES", True)
-
if "e5500-64b:" in arch or "e6500-64b:" in arch:
if not "lib32" in ml:
raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled")
@@ -44,16 +41,11 @@ python () {
}
WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-USRC ?= ""
-S = '${@base_conditional("USRC", "", "${WORKDIR}/git", "${USRC}", d)}'
+EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" V=1'
+EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"'
LOCALVERSION = "+fsl"
-EXTRA_OEMAKE = 'CROSS_COMPILE=${WRAP_TARGET_PREFIX} CC="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"'
-
do_compile_append_qoriq-ppc () {
unset i j
if [ -n "${UBOOT_CONFIG}" ];then
--
1.9.2
next prev parent reply other threads:[~2016-06-17 7:52 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 7:36 [meta-fsl-ppc][PATCH 00/13] QorIQ SDK V2.0 patches - Part I ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 01/13] remove not supported e500v2 machines ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 02/13] u-boot-qoriq: upgrade to 2016.01 ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 03/13] u-boot-qoriq: switch to new UBOOT_CONFIG format ting.liu
2016-06-17 7:36 ` ting.liu [this message]
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 05/13] p2041rdb: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 06/13] p3041ds: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 07/13] p4080ds: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 08/13] p5020: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 09/13] p5040: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 10/13] t1023: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 11/13] t1024: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 12/13] t104x: " ting.liu
2016-06-17 7:36 ` [meta-fsl-ppc][PATCH 13/13] t2080: " ting.liu
2016-06-21 13:47 ` [meta-fsl-ppc][PATCH 00/13] QorIQ SDK V2.0 patches - Part I Robert E. Cochran
2016-06-22 2:00 ` Ting Liu
2016-06-22 5:58 ` Zhenhua Luo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1466148986-926-5-git-send-email-ting.liu@nxp.com \
--to=ting.liu@nxp.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.