mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 12:59:04 +02:00
Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc subdirectory to this layer's root, merging the contents of common files, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
62e212fe48
commit
6a868a6714
|
@ -9,6 +9,9 @@ BBFILE_COLLECTIONS += "freescale-layer"
|
|||
BBFILE_PATTERN_freescale-layer := "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_freescale-layer = "5"
|
||||
|
||||
# Add the Freescale-specific licenses into the metadata
|
||||
LICENSE_PATH += "${LAYERDIR}/custom-licenses"
|
||||
|
||||
FSL_EULA_FILE = "${LAYERDIR}/EULA"
|
||||
|
||||
FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/"
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
OpenEmbedded/Yocto BSP layer for Freescale's PPC platforms
|
||||
==========================================================
|
||||
|
||||
This layer provides support for Freescale's PPC platforms for use with
|
||||
OpenEmbedded and/or Yocto.
|
||||
|
||||
This layer depends on:
|
||||
|
||||
URI: git://git.openembedded.org/openembedded-core
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
URI: git://git.openembedded.org/meta-openembedded
|
||||
branch: master
|
||||
revision: HEAD
|
||||
|
||||
Contributing
|
||||
------------
|
||||
|
||||
To contribute to this layer you should the patches for review to the
|
||||
mailing list.
|
||||
|
||||
Mailing list:
|
||||
|
||||
https://lists.yoctoproject.org/listinfo/meta-freescale
|
||||
|
||||
Source code:
|
||||
|
||||
git://git.yoctoproject.org/meta-fsl-ppc
|
||||
http://git.yoctoproject.org/git/meta-fsl-ppc
|
||||
|
||||
When creating patches, please use something like:
|
||||
|
||||
git format-patch -s --subject-prefix='meta-fsl-ppc dylan][PATCH' origin
|
||||
optionally include a branch if the patch applies to multiple branches,
|
||||
otherwise master is assumed
|
||||
|
||||
When sending patches, please use something like:
|
||||
|
||||
git send-email --to meta-freescale@yoctoproject.org <generated patch>
|
||||
|
||||
git.yoctoproject.org vs. git.freescale.com:
|
||||
-------------------------------------------
|
||||
|
||||
git.yoctoproject.org hosts the official upstream work of Freescale's OE/YP repos,
|
||||
for official SDK releases at times we need to do last minute fixes or include things
|
||||
not supported upstream so we have a different repo on git.freescale.com for the
|
||||
official release. git.freescale.com should be based off repos from git.yoctoproject.org
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
# We have a packages directory, add to BBFILES
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb*"
|
||||
BBFILES += "${LAYERDIR}/images/*.bb*"
|
||||
BBFILES += "${LAYERDIR}/classes/*.bb*"
|
||||
|
||||
BBFILE_COLLECTIONS += "fsl-ppc"
|
||||
BBFILE_PATTERN_fsl-ppc = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_fsl-ppc = "5"
|
||||
|
||||
LICENSE_PATH += "${LAYERDIR}/custom-licenses"
|
||||
|
||||
# Let us add layer-specific bbappends which are only applied when that
|
||||
# layer is included in our configuration
|
||||
BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \
|
||||
for layer in BBFILE_COLLECTIONS.split())}"
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
DESCRIPTION = "Userspace debug agent for PA CodeWarrior"
|
||||
LICENSE = "Freescale-EULA"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=95560debfde180684364319811cc1421"
|
||||
|
||||
DEPENDS = "elfutils"
|
||||
|
||||
SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;nobranch=1"
|
||||
SRCREV = "cbed10997c5e2a4aaa004fb0e1efec858bf1bbe1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
CFLAGS += " -I${STAGING_INCDIR} -ISource/Linux -ISource/Portable \
|
||||
-ISource/Linux_PA -ISource/PA -DPPC \
|
||||
"
|
||||
CFLAGS_append_powerpc64 = " -DENABLE_64BIT_SUPPORT"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/usr/bin
|
||||
oe_runmake install DESTDIR=${D}
|
||||
}
|
|
@ -1,35 +0,0 @@
|
|||
DESCRIPTION = "qe microcode binary"
|
||||
SECTION = "qe-ucode"
|
||||
LICENSE = "Freescale-EULA"
|
||||
LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c"
|
||||
|
||||
python () {
|
||||
if not d.getVar("QE_UCODE", True):
|
||||
machine = d.getVar("MACHINE", True)
|
||||
raise bb.parse.SkipPackage("QE_UCODE not set in \
|
||||
meta-fsl-ppc/conf/machine/%s.conf" % machine)
|
||||
}
|
||||
|
||||
inherit deploy
|
||||
|
||||
SRC_URI = "git://git.freescale.com/ppc/sdk/qe-ucode.git;nobranch=1"
|
||||
SRCREV= "49efc94b553de5c2a9bd28093592eff0068e161c"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}/boot
|
||||
install -m 644 ${QE_UCODE} ${D}/boot/
|
||||
}
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}/boot
|
||||
install -m 644 ${QE_UCODE} ${DEPLOYDIR}/boot/
|
||||
}
|
||||
addtask deploy before do_build after do_install
|
||||
|
||||
PACKAGES += "${PN}-image"
|
||||
FILES_${PN}-image += "/boot/*"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
COMPATIBLE_MACHINE = "(p1021rdb|p1025twr|t1)"
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
From f2e796c903b2a3f81dbd38da3dc087cb7539d307 Mon Sep 17 00:00:00 2001
|
||||
From: Zhenhua Luo <zhenhua.luo@freescale.com>
|
||||
Date: Wed, 3 Sep 2014 03:03:42 -0500
|
||||
Subject: [PATCH] Makefile: make BOARDS/DESTDIR overidable and add endian
|
||||
switch
|
||||
|
||||
1. For one specific board, no need to build the rcw for all supported
|
||||
targets, make BOARDS and DESTDIR overridable to achieve this.
|
||||
2. Add the endian swap for qspiboot rcw
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
|
||||
---
|
||||
Makefile | 4 ++--
|
||||
Makefile.inc | 9 +++++++--
|
||||
2 files changed, 9 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 6ec1697..0f94293 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,5 +1,5 @@
|
||||
-DESTDIR = .
|
||||
-BOARDS = b4420qds b4860qds \
|
||||
+DESTDIR ?= .
|
||||
+BOARDS ?= b4420qds b4860qds \
|
||||
ls1021aqds ls1021atwr \
|
||||
p2041rdb p3041ds p4080ds p5020ds p5040ds \
|
||||
t1024qds t1023rdb t1024rdb t1040rdb t1042rdb t1042rdb_pi t1040qds \
|
||||
diff --git a/Makefile.inc b/Makefile.inc
|
||||
index 4cadb2e..6e8b78f 100644
|
||||
--- a/Makefile.inc
|
||||
+++ b/Makefile.inc
|
||||
@@ -1,4 +1,4 @@
|
||||
-DESTDIR = .
|
||||
+DESTDIR ?= .
|
||||
INSTALL = install
|
||||
PYTHON ?= python2
|
||||
RCW = $(PYTHON) ../rcw.py
|
||||
@@ -18,7 +18,12 @@ all: $(targets)
|
||||
install: $(targets)
|
||||
$(INSTALL) -d $(DESTDIR)
|
||||
@for file in $^; do \
|
||||
- $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \
|
||||
+ case $$file in \
|
||||
+ *qspiboot*) file_swap="`echo $$file | sed -e 's/qspiboot/qspiboot_swap/'`"; \
|
||||
+ tclsh byte_swap.tcl $$file $$file_swap 8 ; \
|
||||
+ $(INSTALL) -m 644 -D $$file_swap $(DESTDIR)/$$file_swap ;; \
|
||||
+ *) $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \
|
||||
+ esac \
|
||||
done
|
||||
$(INSTALL) -m 644 -D README $(DESTDIR)
|
||||
|
||||
--
|
||||
1.7.9.7
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
SUMMARY = "Reset Configuration Word"
|
||||
DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets"
|
||||
LICENSE = "BSD"
|
||||
PR = "r8"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e"
|
||||
|
||||
inherit deploy
|
||||
|
||||
SRCBRANCH = "master"
|
||||
SRCREV = "426f7a6535d93dac76f5125035e0938a85e778d2"
|
||||
SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH} \
|
||||
file://rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch \
|
||||
"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR=${D}/boot/rcw/"
|
||||
|
||||
do_install () {
|
||||
oe_runmake install
|
||||
}
|
||||
|
||||
do_deploy () {
|
||||
install -d ${DEPLOYDIR}/rcw
|
||||
cp -r ${D}/boot/rcw/* ${DEPLOYDIR}/rcw/
|
||||
}
|
||||
addtask deploy after do_install
|
||||
|
||||
PACKAGES += "${PN}-image"
|
||||
FILES_${PN}-image += "/boot"
|
||||
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(qoriq-ppc)"
|
|
@ -1,2 +0,0 @@
|
|||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
|
|
@ -18,6 +18,7 @@ S = "${WORKDIR}/git"
|
|||
EXTRA_OEMAKE = ""
|
||||
|
||||
CFLAGS += " -I${STAGING_INCDIR}"
|
||||
CFLAGS_append_powerpc64 = " -DENABLE_64BIT_SUPPORT"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D}
|
||||
|
|
|
@ -33,4 +33,4 @@ addtask deploy before do_build after do_install
|
|||
PACKAGES += "${PN}-image"
|
||||
FILES_${PN}-image += "/boot/*"
|
||||
ALLOW_EMPTY_${PN} = "1"
|
||||
COMPATIBLE_MACHINE = "(ls102xa)"
|
||||
COMPATIBLE_MACHINE = "(ls102xa|p1021rdb|p1025twr|t1)"
|
||||
|
|
|
@ -33,4 +33,4 @@ FILES_${PN}-image += "/boot"
|
|||
ALLOW_EMPTY_${PN} = "1"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ls102xa)"
|
||||
COMPATIBLE_MACHINE = "(ls102xa|qoriq-ppc)"
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user