[meta-freescale] [PATCH v2 05/41] ppa: remove ppa

C.r. Guo chunrong.guo at nxp.com
Thu Jan 10 19:14:06 PST 2019


From: Chunrong Guo <chunrong.guo at nxp.com>

*This pkg will not be supported anymore

Signed-off-by: Chunrong Guo <chunrong.guo at nxp.com>
---
 recipes-bsp/ppa/ppa-optee_git.bb | 18 --------------
 recipes-bsp/ppa/ppa.inc          | 54 ----------------------------------------
 recipes-bsp/ppa/ppa_git.bb       | 20 ---------------
 3 files changed, 92 deletions(-)
 delete mode 100644 recipes-bsp/ppa/ppa-optee_git.bb
 delete mode 100644 recipes-bsp/ppa/ppa.inc
 delete mode 100644 recipes-bsp/ppa/ppa_git.bb

diff --git a/recipes-bsp/ppa/ppa-optee_git.bb b/recipes-bsp/ppa/ppa-optee_git.bb
deleted file mode 100644
index 41896ba..0000000
--- a/recipes-bsp/ppa/ppa-optee_git.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-require ppa.inc
-
-DEPENDS += "optee-os-qoriq"
-
-PPA_PATH_ls1046a = "ls1046"
-PPA_PATH_ls1043a = "ls1043"
-PPA_PATH_ls1012a = "ls1012"
-PPA_PATH_ls2088a = "ls2088"
-
-do_compile() {
-    export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
-    cp ${RECIPE_SYSROOT}/lib/firmware/tee_${MACHINE}.bin ${S}/ppa/soc-${PPA_PATH}/tee.bin
-    cd ${S}/ppa
-    ./build rdb-fit spd=on ${PPA_PATH}
-    cd ${S}
-}
-
-COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls1012a|ls2088a)"
diff --git a/recipes-bsp/ppa/ppa.inc b/recipes-bsp/ppa/ppa.inc
deleted file mode 100644
index 8125375..0000000
--- a/recipes-bsp/ppa/ppa.inc
+++ /dev/null
@@ -1,54 +0,0 @@
-SUMMARY = "Primary Protected Application"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://license.txt;md5=2ecf925c01a48f61c88f78c30fe2ee3b"
-
-DEPENDS += "u-boot-mkimage-native dtc-native"
-
-inherit deploy
-
-SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/ppa-generic;nobranch=1 \
-"
-SRCREV = "90e13c9e148972f75f5f2e7f7a904dabf1586049"
-
-S = "${WORKDIR}/git"
-
-python () {
-    ml = d.getVar("MULTILIB_VARIANTS", True)
-    arch = d.getVar("OVERRIDES", True)
-    if "fsl-lsch2-32b:" in arch:
-        if not "lib64" in ml:
-            raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled")
-        sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux'
-        sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS')
-        workdir = d.getVar('WORKDIR').replace(sys_original,sys_multilib)
-        d.setVar('DEPENDS_append', ' lib64-gcc-cross-aarch64 lib64-libgcc')
-        d.setVar('PATH_append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib)
-        d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot')
-        d.setVar("WRAP_TARGET_PREFIX", 'aarch64' + sys_multilib + '-')
-}
-
-WRAP_TARGET_PREFIX ?= "${TARGET_PREFIX}"
-EXTRA_OEMAKE = 'CC64="${WRAP_TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" LD64="${WRAP_TARGET_PREFIX}ld ${TOOLCHAIN_OPTIONS}"  OBJ64="${WRAP_TARGET_PREFIX}objcopy"'
-
-PPA_NAME = "${PN}-${MACHINE}-${DATETIME}"
-PPA_NAME[vardepsexclude] = "DATETIME"
-
-do_install() {
-    install -d ${D}/boot/
-    install ${S}/ppa/soc-${PPA_PATH}/build/obj/ppa.itb ${D}/boot/${PPA_NAME}.itb
-    ln -sfT ${PPA_NAME}.itb ${D}/boot/${PN}.itb
-}
-
-do_deploy(){
-    install -d ${DEPLOYDIR}
-    install ${S}/ppa/soc-${PPA_PATH}/build/obj/ppa.itb ${DEPLOYDIR}/${PPA_NAME}.itb
-    ln -sfT ${PPA_NAME}.itb ${DEPLOYDIR}/${PN}.itb
-}
-addtask deploy before do_build after do_install
-
-PACKAGES += "${PN}-image"
-FILES_${PN}-image += "/boot"   
-
-CLEANBROKEN = "1"
-PARALLEL_MAKE = ""
-PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-bsp/ppa/ppa_git.bb b/recipes-bsp/ppa/ppa_git.bb
deleted file mode 100644
index 5413d7d..0000000
--- a/recipes-bsp/ppa/ppa_git.bb
+++ /dev/null
@@ -1,20 +0,0 @@
-require ppa.inc
-
-PPA_PATH_ls1012a = "ls1012"
-PPA_PATH_ls1043a = "ls1043"
-PPA_PATH_ls1046a = "ls1046"
-PPA_PATH_ls2088a = "ls2088"
-PPA_PATH_ls1088a = "ls1088"
-
-do_compile () {
-    export CROSS_COMPILE="${WRAP_TARGET_PREFIX}"
-    cd ${S}/ppa
-    if [ ${MACHINE} = ls1012afrdm ];then
-        ./build  frdm-fit ${PPA_PATH}
-    else
-        ./build  rdb-fit ${PPA_PATH}
-    fi
-    cd ${S}
-}
-
-COMPATIBLE_MACHINE = "(ls1043a|ls1046a|ls2088a|ls1012a|ls1088a)"
-- 
2.7.4



More information about the meta-freescale mailing list