Skip to contentSkip to conversation

meta-arago-distro: drop support for handling source IPKs in SDK

PATCH New Denys Dmytriyenko 1 participant 1 message Oct 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meta-arago-distro: drop support for handling source IPKs in SDK

From: Denys Dmytriyenko <[email protected]>

As support for top-level Makefile in SDK is being dropped, there's no need to generate source IPK packages to include sources in the SDK for cross-compiling. Generation of source IPKs is a bit kludgy as it's not supported upstream or by opkg, hence it often gets in the way of migrating the layer to the new release. Therefore, remove sourceipk.bbclass, arago-source-ipk.inc package configs and corresponding packagegroup-*-sdk-host.bb that pulled src packages to the SDK.

---
 meta-arago-distro/classes/sourceipk.bbclass   | 305 ---------------
 meta-arago-distro/conf/distro/arago.conf      |   3 -
 .../conf/distro/include/arago-source-ipk.inc  | 368 ------------------
 .../recipes-core/images/tisdk-core-bundle.inc |  10 +-
 ...ackagegroup-arago-tisdk-addons-sdk-host.bb | 104 -----
 ...packagegroup-arago-tisdk-amsdk-sdk-host.bb |  14 +-
 ...ackagegroup-arago-tisdk-crypto-sdk-host.bb |  18 -
 ...kagegroup-arago-tisdk-graphics-sdk-host.bb |  14 -
 .../packagegroup-arago-tisdk-hmi-sdk-host.bb  |  37 --
 ...ackagegroup-arago-tisdk-matrix-sdk-host.bb |  17 -
 ...gegroup-arago-tisdk-multimedia-sdk-host.bb |  41 --
 ...ackagegroup-arago-tisdk-opencl-sdk-host.bb |  22 --
 .../packagegroup-arago-tisdk-qte-sdk-host.bb  |  11 -
 .../recipes-kernel/linux/copy-defconfig.inc   |  22 --
 .../linux/linux-ti-staging-rt_%.bbappend      |   1 -
 .../linux/linux-ti-staging-systest_%.bbappend |   1 -
 .../linux/linux-ti-staging_%.bbappend         |   1 -
 17 files changed, 2 insertions(+), 987 deletions(-)
 delete mode 100644 meta-arago-distro/classes/sourceipk.bbclass
 delete mode 100644 meta-arago-distro/conf/distro/include/arago-source-ipk.inc
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb
 delete mode 100644 meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc
meta-arago-distro/classes/sourceipk.bbclass deleted +0 -305
deleted file mode 100644
index 5ffb75a8..00000000
@@ -1,305 +0,0 @@
-# sourceipk.bbclass enables the creation of an ipk file that contains the
-# sources used during the build.  The sources contained in the ipk are the
-# patched sources before configuration has been done.
-#
-# This class is used to provide an easy method to ship the corresponding
-# sources for a package to end users so that they can install them on their
-# host or target systems.
-#
-# This package uses the following variables to control its operations:
-#   - CREATE_SRCIPK         = When set to 1 this variable indicates that 
-#                             a source ipk should be generated for the package.
-#   - SRCIPK_INSTALL_DIR    = This variable indicates the directory to install
-#                             the sources into.
-#   - SRCIPK_PACKAGE_ARCH   = This variable allows specific recipies to
-#                             specify an architecture for the sourcetree
-#                             package, defaults to the same as binary pkg
-#   - SRCIPK_INC_EXTRAFILES = When set to 1 this variable indicates that
-#                             the source ipk should contain extra files
-#                             such as the README file and recipe.
-#
-# The default installation directory for the sources is:
-#   /usr/src/${PN}-source
-#
-# By setting the SRCIPK_INSTALL_DIR this default can be changed to any
-# location desired.  When combined with the opkg -o option this allows for the
-# system building to specify a relative package install location to the
-# install root given to opkg.  Each source ipk can have a different directory.
-# 
-# Creation of the source ipk can be controlled per package by setting
-# CREATE_SRCIPK = "1" in the package recipe or by setting
-# CREATE_SRCIPK:pn-<package name> = "1" in your local.conf
-#
-#TODO: 
-# Need to figure out how to use opkg-build in this class.
-# I tried adding it as a dependency for the do_create_srcipk
-# task using:
-#   do_create_srcipk[depends] += "opkg-utils-native:do_populate_sysroot"
-# But then there is a circular dependency between sourcipk.bbclass and
-# opkg-utils-native.  Until I can figure out how to resolve this
-# circular dependency I am extracting the needed pieces from opkg-build
-# into this class and building the source ipk myself.
-
-
-# Default is to not create the source ipk
-CREATE_SRCIPK ?= "0"
-
-# Default installation prefix
-SRCIPK_INSTALL_DIR ?= "/usr/src/${PN}-source"
-
-# Directory to preserve sources until they can be installed for packaging
-SRCIPK_STAGING_DIR = "${WORKDIR}/srcipk-staging"
-
-# Specify the directory of the sources
-SRCIPK_SRC_DIR ?= "${S}"
-
-# Default PACKAGE_ARCH for sources is "all"
-SRCIPK_PACKAGE_ARCH ?= "${PACKAGE_ARCH}"
-
-# Default section matches the recipe section
-SRCIPK_SECTION ?= "${SECTION}"
-
-# Default SRCIPK_INCLUDE_EXTRAFILES is to include the extra files
-SRCIPK_INCLUDE_EXTRAFILES ?= "1"
-
-SRCIPK_PRESERVE_GIT ?= "false"
-
-# Git commit message that explains the purpose of the custom git branch
-SRCIPK_CUSTOM_GIT_MESSAGE ?= ""
-
-# File that will store the same information as the commit message but is also
-# used to add something to insure a commit can be committed.
-SRCIPK_SDK_README ?= "TISDK-README"
-
-# Name used when creating the custom branch
-SRCIPK_CUSTOM_GIT_BRANCH ?= ""
-
-# Create a shallow clone of the git repository to reduce the size of
-# the sourceipk
-SRCIPK_SHALLOW_CLONE ?= "false"
-
-# By default limit the history to 1 commit since the user can always
-# use git pull --unshallow to fetch the rest of history.  The depth
-# level of 1 is set to keep from tracking through all merges and
-# pulling excess history
-SRCIPK_SHALLOW_DEPTH ?= "1"
-
-# This function will return the fetch URL for a git repository passed as
-# the first parameter.
-get_remote() {
-    git_repo="$1"
-
-    if [ "$git_repo" = "" ]
-    then
-        echo "git_repo not passed to get_remote"
-        exit 1
-    fi
-
-    cd $git_repo
-
-    # Get the remote repository fetch URL
-    remote=`git remote -v | grep "(fetch)" | cut -d ' ' -f 1   | cut -c 7- | tr -d ' '`
-
-    # Since the echo'ed value of this statment is the returned value redirect
-    # the output of this command to /dev/null
-    cd - > /dev/null
-
-    # echo back the remote repository URL as the output of this function
-    echo $remote
-
-    return 0
-}
-
-# Some git repositories are very large and we do not want to ship the
-# full history.  Instead we want to limit history to reduce the size while
-# still keeping the git repository in place.  The full history can be
-# fetched using git pull --unshallow or just git pull
-# NOTE: This function depends on a git version >= 1.7.10.  It will work
-#       with older versions but the size will be larger because rather
-#       than just a single branch the limited history will be a depth of
-#       1 for all branches and tags.
-limit_git_history() {
-
-    # Temporary directory to make shallow clones in
-    gitshallowclone="${WORKDIR}/temp-git-shallow-clone"
-
-    # Change directory to the git repository to be safe
-    cd ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}
-
-    # Create a temporary directory to hold the shallow git clone
-    mkdir -p $gitshallowclone
-
-    remote=`get_remote $PWD`
-
-    # Clone a shallow version of the workdir repo so that the preserved git
-    # points to the commit used in the build.
-    git clone --depth ${SRCIPK_SHALLOW_DEPTH} --branch ${BRANCH} file://$PWD/.git $gitshallowclone
-
-    # remove original kernel clone since we will replace it with the shallow
-    # clone
-    rm -rf ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/.git
-
-    # replace the original kernel git data with the shallow clone git data
-    mv $gitshallowclone/.git ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/
-    rm -rf $gitshallowclone
-
-    # Remove the local remote
-    git remote rm origin
-
-    # This is forceful, but unfortuantely, removing the origin remote does not
-    # remove all origin refs, and that causes problems.
-    rm -rf ./.git/refs/remotes/origin
-
-    # Point remote back to upstream
-    git remote add origin $remote
-
-    cd -
-}
-
-adjust_git() {
-    orig_dir="$PWD"
-
-    cd ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}
-
-    if [ -d ".git" ]
-    then
-        if [ "${SRCIPK_PRESERVE_GIT}" = "true" ]
-        then
-            # If SRCIPK_SHALLOW_CLONE is true then make a shallow copy of the
-            # git repository and then fix up the git URLs
-            if [ "${SRCIPK_SHALLOW_CLONE}" = "true" ]
-            then
-                limit_git_history
-            fi
-
-            # Repackage the repository so its a proper clone of the original
-            # (remote) git repository
-            git repack -a -d
-
-            if [ "${SRCIPK_CUSTOM_GIT_BRANCH}" != "" -a "${SRCIPK_CUSTOM_GIT_MESSAGE}" != "" ]
-            then
-                # Create local git config settings to create commit
-                git config user.email "<>"
-                git config user.name "Texas Instruments SDK Builder"
-
-                # For recipes like the kernel which may end up running
-                # sourceipk more than once.
-                branch_exist=`git branch | grep ${SRCIPK_CUSTOM_GIT_BRANCH}` || echo ""
-                if [ "$branch_exist" != "" -a -f ${SRCIPK_SDK_README} ]
-                then
-                    git add -A
-                    git commit --amend
-                else
-                    echo -e ${SRCIPK_CUSTOM_GIT_MESSAGE} > ${SRCIPK_SDK_README}
-                    git add -A
-                    git commit -F ${SRCIPK_SDK_README}
-                    git checkout -b "${SRCIPK_CUSTOM_GIT_BRANCH}"
-                fi
-
-                # Delete local git config settings previously set
-                git config --unset user.email
-                git config --unset user.name
-
-            fi
-
-            rm -f .git/objects/info/alternates
-
-        else
-            rm -rf .git
-        fi
-
-    fi
-
-    cd $orig_dir
-}
-
-# Create a README file that describes the contents of the source ipk
-sourceipk_create_readme() {
-    readme="$1/README.${PN}-source"
-    touch $readme
-    echo 'This package contains the patched sources for ${PN} that' >> $readme
-    echo 'were used to generate the ${PN} binary ipk package(s).' >> $readme
-    echo 'This package does not build or generate the binaries' >> $readme
-    echo 'directly.  To build the binaries you must either' >> $readme
-    echo 'configure and build the sources yourself or use:' >> $readme
-    echo '    bitbake ${PN}' >> $readme
-    echo '' >> $readme
-    echo 'NOTE: The patches applied to the sources can be found in' >> $readme
-    echo "      the \"patches\" directory" >> $readme
-}
-
-do_create_srcipk[dirs] = "${SRCIPK_SRC_DIR} ${SRCIPK_STAGING_DIR}"
-do_create_srcipk[cleandirs] = "${SRCIPK_STAGING_DIR}"
-do_create_srcipk[umask] = "022"
-
-# Create the source ipk file.  The ipk is manually created here instead
-# of using the normal ipk system because some recipes will over write
-# the PACKAGES variable.  Thus if this class added a -source package
-# to the list of packages to be created that package would be lost.
-# See the linux kernel recipe for an example of this issue.
-sourceipk_do_create_srcipk() {
-    if [ ${CREATE_SRCIPK} != "0" ]
-    then
-        # Copy sources for packaging
-        mkdir -p ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}
-        if [ -e ${SRCIPK_SRC_DIR} ]; then
-            if [ "${SRCIPK_SRC_DIR}" = "${WORKDIR}" ]; then
-                excludes='--exclude ./temp --exclude ${SRCIPK_STAGING_DIR}'
-            fi
-            tar -C ${SRCIPK_SRC_DIR} -cO $excludes . | tar -C ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR} -xpf -
-        fi
-
-        # Fix up patches/ directory to contain actual patches instead of symlinks
-        if [ -e ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/patches ]
-        then
-            mv ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/patches ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/patches-links
-            cp -rL ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/patches-links ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/patches
-            rm -rf ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/patches-links
-        fi
-
-        if [ ${SRCIPK_INCLUDE_EXTRAFILES} != "0" ]
-        then
-            sourceipk_create_readme ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/
-            cp ${FILE} ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/
-        fi
-
-        # Adjust the git repository if there is one.  Do this adjustment
-        # here so we don't have to modify the original sources.
-        adjust_git
-    fi
-}
-
-EXPORT_FUNCTIONS do_create_srcipk
-
-do_create_srcipk[deptask] = "do_patch"
-
-addtask create_srcipk after do_patch before do_configure
-
-python () {
-    if d.getVar('do_compileconfigs', False):
-        deps = d.getVarFlag('do_compileconfigs', 'deps') or []
-        deps.append('do_create_srcipk')
-        d.setVarFlag('do_compileconfigs', 'deps', deps)
-}
-
-#Add source packages to list of packages OE knows about
-PACKAGES_DYNAMIC += "${PN}-source"
-
-# Do not perform any QA checks on sourceipk packages
-INSANE_SKIP:${PN}-source += "${@oe.utils.conditional("${CREATE_SRCIPK}", "0", "", "${ALL_QA}", d)}"
-
-python __anonymous () {
-    if d.getVar("CREATE_SRCIPK") != "0":
-        if '${PN}-source' not in d.getVar("PACKAGES", False):
-            d.appendVar('PACKAGES', ' ${PN}-source')
-        pn = d.getVar("PN")
-        d.setVar('FILES:%s-source' % (pn), '${SRCIPK_INSTALL_DIR}')
-}
-
-PACKAGESPLITFUNCS:append = " ${@oe.utils.conditional('CREATE_SRCIPK','0','','populate_srcipk_package',d)}"
-populate_srcipk_package() {
-    install -d ${PKGDEST}/${PN}-source/${SRCIPK_INSTALL_DIR}
-    cp -Prf --preserve=mode,timestamps --no-preserve=ownership \
-        ${SRCIPK_STAGING_DIR}/${SRCIPK_INSTALL_DIR}/. \
-        ${PKGDEST}/${PN}-source/${SRCIPK_INSTALL_DIR}
-}
meta-arago-distro/conf/distro/arago.conf +0 -3
index 088faa16..c1eb8f6d 100644
@@ -189,9 +189,6 @@ INHERIT += "recipe-data"
 # Load default preferences
 require conf/distro/include/arago-prefs.inc
 
-# Enable generation of source packages for SDKs
-require conf/distro/include/arago-source-ipk.inc
-
 # Allow branding on top of Arago Distro and Core TI-SDK
 # If ARAGO_BRAND is not set in local.conf, default to core
 ARAGO_BRAND ??= "core"
meta-arago-distro/conf/distro/include/arago-source-ipk.inc deleted +0 -368

368 lines not on this page · raw message

meta-arago-distro/recipes-core/images/tisdk-core-bundle.inc +1 -9
index 3c31ba18..90b5ccef 100644
@@ -33,13 +33,5 @@ TISDK_TOOLCHAIN = "${@bb.utils.contains('MACHINE_FEATURES','gpu','meta-toolchain
 TOOLCHAIN_SUFFIX = "${@bb.utils.contains('MACHINE_FEATURES','gpu','-tisdk','-tisdk-server',d)}"
 
 IMAGE_INSTALL = "\
-    packagegroup-arago-tisdk-addons-sdk-host \
-    ${@['','packagegroup-arago-tisdk-opencl-sdk-host'][oe.utils.all_distro_features(d, 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, False, d)]} \
-    packagegroup-arago-tisdk-crypto-sdk-host \
-    ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics-sdk-host','',d)} \
-    packagegroup-arago-tisdk-matrix-sdk-host \
-    packagegroup-arago-tisdk-multimedia-sdk-host \
-    ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-hmi-sdk-host','',d)} \
-    packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX} \
-    ${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-qte-sdk-host','',d)} \
+    packagegroup-arago-tisdk-amsdk-sdk-host \
 "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-addons-sdk-host.bb deleted +0 -104

104 lines not on this page · raw message

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-amsdk-sdk-host.bb +1 -13
index 2870d7ed..1a43d0ef 100644
@@ -1,20 +1,11 @@
 DESCRIPTION = "Task to install additional scripts and applications into the SDK"
 LICENSE = "MIT"
-PR = "r29"
-
-PN = "packagegroup-arago-tisdk-amsdk-sdk-host${ARAGO_KERNEL_SUFFIX}"
+PR = "r30"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
-# Choose the kernel and u-boot recipe sources to use
-UBOOT_SRC = "${PREFERRED_PROVIDER_virtual/bootloader}-source"
-KERNEL_SRC = "${PREFERRED_PROVIDER_virtual/kernel}-source"
-
-KERNEL_SHADOW_CLONE := "${PREFERRED_PROVIDER_virtual/kernel}"
-KERNEL_SHADOW_CLONE_ENABLED := "${SRCIPK_SHALLOW_CLONE:pn-${KERNEL_SHADOW_CLONE}}"
-
 EXTRA_FILES = ""
 EXTRA_FILES:ti43x = "tisdk-uenv"
 EXTRA_FILES:omap-a15 = "tisdk-readme tisdk-uenv"
@@ -23,8 +14,5 @@ EXTRA_FILES:k3 = "tisdk-readme tisdk-uenv"
 RDEPENDS:${PN} = "\
     ti-tisdk-setup \
     ${EXTRA_FILES} \
-    ${UBOOT_SRC} \
-    ${KERNEL_SRC} \
-    ${@oe.utils.conditional('KERNEL_SHADOW_CLONE_ENABLED','true','unshallow-repositories','',d)} \
     tisdk-install \
 "
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto-sdk-host.bb deleted +0 -18
deleted file mode 100644
index 2dad8bd7..00000000
@@ -1,18 +0,0 @@
-DESCRIPTION = "Task to install crypto sources in SDK"
-LICENSE = "MIT"
-PR = "r11"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup
-
-CRYPTO_RDEPENDS = ""
-
-CRYPTO_RDEPENDS:append:ti33x = " cryptodev-module-source"
-CRYPTO_RDEPENDS:append:ti43x = " cryptodev-module-source"
-CRYPTO_RDEPENDS:append:dra7xx = " cryptodev-module-source"
-CRYPTO_RDEPENDS:append:k3 = " cryptodev-module-source"
-
-RDEPENDS:${PN} = "\
-    ${CRYPTO_RDEPENDS} \
-"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb deleted +0 -14
deleted file mode 100644
index 01ccd7d5..00000000
@@ -1,14 +0,0 @@
-SUMMARY = "Task to install graphics sources in SDK"
-LICENSE = "MIT"
-PR = "r8"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup features_check
-
-REQUIRED_MACHINE_FEATURES = "gpu"
-
-RDEPENDS:${PN} = "\
-    ${PREFERRED_PROVIDER_virtual/gpudriver}-source \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'gc320', 'ti-gc320-driver-source', '', d)} \
-"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb deleted +0 -37
deleted file mode 100644
index 2cd7ae6b..00000000
@@ -1,37 +0,0 @@
-SUMMARY = "Task to add HMI related sources into the SDK"
-LICENSE = "MIT"
-PR = "r1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup features_check
-
-REQUIRED_MACHINE_FEATURES = "gpu"
-
-HMI = ""
-
-HMI:append:ti43x = " \
-    evse-hmi-source \
-    mmwavegesture-hmi-source \
-"
-
-HMI:append:ti33x = " \
-    evse-hmi-source \
-    protection-relays-hmi-source \
-    mmwavegesture-hmi-source \
-"
-
-
-HMI:append:omap-a15 = " \
-    evse-hmi-source \
-    mmwavegesture-hmi-source \
-"
-
-HMI:append:am65xx = " \
-    evse-hmi-source \
-    mmwavegesture-hmi-source \
-"
-
-RDEPENDS:${PN} = "\
-    ${HMI} \
-"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix-sdk-host.bb deleted +0 -17
deleted file mode 100644
index c32966bb..00000000
@@ -1,17 +0,0 @@
-DESCRIPTION = "Task to install Matrix v2 and associated applications sources in the SDK"
-LICENSE = "MIT"
-PR = "r7"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup
-
-MATRIX_GUI = " \
-    matrix-gui-browser-source \
-    refresh-screen-source \
-"
-
-RDEPENDS:${PN} = "\
-    matrix-gui-source \
-    ${@bb.utils.contains('MACHINE_FEATURES','gpu',"${MATRIX_GUI}",'',d)} \
-"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-multimedia-sdk-host.bb deleted +0 -41

41 lines not on this page · raw message

meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-opencl-sdk-host.bb deleted +0 -22
deleted file mode 100644
index ee5bb610..00000000
@@ -1,22 +0,0 @@
-DESCRIPTION = "Task to install sources for OpenCL/MP apps and demos"
-LICENSE = "MIT"
-PR = "r1"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup features_check
-
-REQUIRED_DISTRO_FEATURES = "opencl"
-
-UTILS = " \
-    opencl-examples-source \
-    ${@oe.utils.all_distro_features(d, 'openmp', 'openmpacc-examples-source')} \
-"
-
-UTILS:append:dra7xx = " \
-    ${@oe.utils.all_distro_features(d, 'openmp', 'linalg-examples-source')} \
-"
-
-RDEPENDS:${PN} = "\
-    ${UTILS} \
-"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb deleted +0 -11
deleted file mode 100644
index 538ec80a..00000000
@@ -1,11 +0,0 @@
-DESCRIPTION = "Task to add Qt embedded related sources into the sdk"
-LICENSE = "MIT"
-PR = "r8"
-
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit packagegroup
-
-RDEPENDS:${PN} = "\
-    qt-tstat-source \
-"
meta-arago-distro/recipes-kernel/linux/copy-defconfig.inc deleted +0 -22
deleted file mode 100644
index 4347a88a..00000000
@@ -1,22 +0,0 @@
-CONFIG_NAME ?= "tisdk_${MACHINE}${ARAGO_KERNEL_SUFFIX}_defconfig"
-
-# Copy the configuration file used during the SDK build in Arago to
-# the kernel sources to be packaged into the sourceipk.  Then call
-# the function to build the sourceipk again.  This is done as a
-# do_compile:prepend so that we can pick up any changes to the
-# defconfig thay may have been done by the sanitizer code.
-do_configure:append() {
-    cp ${B}/.config ${S}/arch/${ARCH}/configs/${CONFIG_NAME}
-
-    # Remove defconfig generated by defconfig_builder to avoid confusion. This
-    # may not match the config used in the build due to KERNEL_CONFIG_FRAGMENTS.
-    config=`cat ${WORKDIR}/defconfig | grep use-tisdk-config | cut -d= -f2`
-    if [ -n "$config" ]
-    then
-        rm ${S}/arch/${ARCH}/configs/${config}_defconfig
-    fi
-}
-
-# Move create_srcipk task so that the release defconfig is included.
-deltask do_create_srcipk
-addtask create_srcipk after do_configure before do_compile
meta-arago-distro/recipes-kernel/linux/linux-ti-staging-rt_%.bbappend +0 -1
index 402362c2..df55594e 100644
@@ -2,7 +2,6 @@ MACHINE_KERNEL_PR:append = ".arago1"
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-require copy-defconfig.inc
 require docker.inc
 
 ALLOW_EMPTY:kernel-devicetree = "1"
meta-arago-distro/recipes-kernel/linux/linux-ti-staging-systest_%.bbappend +0 -1
index 402362c2..df55594e 100644
@@ -2,7 +2,6 @@ MACHINE_KERNEL_PR:append = ".arago1"
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-require copy-defconfig.inc
 require docker.inc
 
 ALLOW_EMPTY:kernel-devicetree = "1"
meta-arago-distro/recipes-kernel/linux/linux-ti-staging_%.bbappend +0 -1
index f4fac19a..031a8b05 100644
@@ -2,7 +2,6 @@ MACHINE_KERNEL_PR:append = ".arago5"
 
 FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
 
-require copy-defconfig.inc
 require docker.inc
 
 ALLOW_EMPTY:kernel-devicetree = "1"
Signature · 1 line
2.25.1