mirror of
https://github.com/Freescale/meta-freescale-3rdparty.git
synced 2025-07-19 12:09:01 +02:00
u-boot-kontron: Add 2020.01 recipe
This includes the recipe and a backported patch (from 2020.04) to fix the build using GCC 10. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
d6effb049b
commit
641272021e
|
@ -0,0 +1,31 @@
|
|||
From 94e01f12ee60f7781ec3635a147d68c1e8baccd8 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Robinson <pbrobinson@gmail.com>
|
||||
Date: Thu, 30 Jan 2020 09:37:15 +0000
|
||||
Subject: [PATCH] Remove redundant YYLOC global declaration
|
||||
Organization: O.S. Systems Software LTDA.
|
||||
|
||||
Same as the upstream fix for building dtc with gcc 10.
|
||||
|
||||
Upstream-Status: Backport [2020.04]
|
||||
|
||||
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
||||
(cherry picked from commit 018921ee79d3f30893614b3b2b63b588d8544f73)
|
||||
---
|
||||
scripts/dtc/dtc-lexer.l | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l
|
||||
index fd825ebba69..24af5499775 100644
|
||||
--- a/scripts/dtc/dtc-lexer.l
|
||||
+++ b/scripts/dtc/dtc-lexer.l
|
||||
@@ -38,7 +38,6 @@ LINECOMMENT "//".*\n
|
||||
#include "srcpos.h"
|
||||
#include "dtc-parser.tab.h"
|
||||
|
||||
-YYLTYPE yylloc;
|
||||
extern bool treesource_error;
|
||||
|
||||
/* CAUTION: this will stop working if we ever use yyless() or yyunput() */
|
||||
--
|
||||
2.26.2
|
||||
|
1
recipes-bsp/u-boot/u-boot-kontron/fw_env.config
Normal file
1
recipes-bsp/u-boot/u-boot-kontron/fw_env.config
Normal file
|
@ -0,0 +1 @@
|
|||
/dev/mmcblk0 0xf0000 0x10000
|
37
recipes-bsp/u-boot/u-boot-kontron_2020.01.bb
Normal file
37
recipes-bsp/u-boot/u-boot-kontron_2020.01.bb
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Copyright (C) 2012-2019 O.S. Systems Software LTDA.
|
||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||
|
||||
inherit fsl-u-boot-localversion
|
||||
|
||||
require recipes-bsp/u-boot/u-boot.inc
|
||||
|
||||
SUMMARY = "U-Boot for Kontron based boards"
|
||||
DEPENDS += "bison-native bc-native dtc-native lzop-native"
|
||||
|
||||
LICENSE = "GPLv2+"
|
||||
LIC_FILES_CHKSUM = "file://Licenses/README;md5=30503fd321432fc713238f582193b78e"
|
||||
|
||||
SRC_URI = "git://git.kontron-electronics.de/linux/u-boot.git;protocol=https;branch=${SRCBRANCH} \
|
||||
file://fw_env.config \
|
||||
file://Remove-redundant-YYLOC-global-declaration.patch"
|
||||
SRCREV = "438e0ad034813d38228ace8f1d311459933d1125"
|
||||
SRCBRANCH = "v2020.01-ktn"
|
||||
LOCALVERSION = "-ktn"
|
||||
|
||||
PROVIDES += "u-boot"
|
||||
|
||||
PV .= "+git${SRCPV}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
B = "${WORKDIR}/build"
|
||||
|
||||
# FIXME: Allow linking of 'tools' binaries with native libraries
|
||||
# used for generating the boot logo and other tools used
|
||||
# during the build process.
|
||||
EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \
|
||||
HOSTLDFLAGS="${BUILD_LDFLAGS}" \
|
||||
HOSTSTRIP=true'
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(imx6ul-kontron)"
|
||||
|
Loading…
Reference in New Issue
Block a user