[meta-arago] [zeus/master][PATCH 1/3] mbedtls: make trivial bbappend version-agnostic
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- .../mbedtls/{mbedtls_2.16.2.bbappend => mbedtls_%.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename meta-arago-distro/recipes-connectivity/mbedtls/{mbedtls_2.16.2.bbappend => mbedtls_%.bbappend} (100%) diff --git a/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_2.16.2.bbappend b/meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend similarity index 100% rename from meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_2.16.2.bbappend rename to meta-arago-distro/recipes-connectivity/mbedtls/mbedtls_%.bbappend -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [zeus/master][PATCH 3/3] toolchain-arm: update for 9.2-2019.12 external Arm gcc9 toolchain
From: Denys Dmytriyenko https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads Signed-off-by: Denys Dmytriyenko --- .../conf/distro/include/toolchain-arm.inc | 28 +++--- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/meta-arago-distro/conf/distro/include/toolchain-arm.inc b/meta-arago-distro/conf/distro/include/toolchain-arm.inc index fca44c5..b9cd55a 100644 --- a/meta-arago-distro/conf/distro/include/toolchain-arm.inc +++ b/meta-arago-distro/conf/distro/include/toolchain-arm.inc @@ -2,9 +2,9 @@ TCMODE = "external-arm" TCLIBC = "external-arm-toolchain" -EAT_TARGET_SYS_ARMV5 ?= "arm-linux-gnueabi" -EAT_TARGET_SYS_ARMV7 ?= "arm-linux-gnueabihf" -EAT_TARGET_SYS_ARMV8 ?= "aarch64-linux-gnu" +EAT_TARGET_SYS_ARMV5 ?= "arm-none-linux-gnueabi" +EAT_TARGET_SYS_ARMV7 ?= "arm-none-linux-gnueabihf" +EAT_TARGET_SYS_ARMV8 ?= "aarch64-none-linux-gnu" EAT_TARGET_SYS_arm = "${EAT_TARGET_SYS_ARMV5}" EAT_TARGET_SYS_armv7a = "${EAT_TARGET_SYS_ARMV7}" @@ -16,9 +16,9 @@ SECONDARY_TARGET_ARCH_k3 = "armv7a" TARGET_VENDOR = "" TOOLCHAIN_BASE ?= "/opt" -TOOLCHAIN_PATH_ARMV5 ?= "${TOOLCHAIN_BASE}/gcc-arm-8.3-ti2019.01-armv5-x86_64-${EAT_TARGET_SYS_ARMV5}" -TOOLCHAIN_PATH_ARMV7 ?= "${TOOLCHAIN_BASE}/gcc-arm-8.3-2019.03-x86_64-${EAT_TARGET_SYS_ARMV7}" -TOOLCHAIN_PATH_ARMV8 ?= "${TOOLCHAIN_BASE}/gcc-arm-8.3-2019.03-x86_64-${EAT_TARGET_SYS_ARMV8}" +TOOLCHAIN_PATH_ARMV5 ?= "${TOOLCHAIN_BASE}/gcc-arm-9.2-ti2020.01-armv5-x86_64-${EAT_TARGET_SYS_ARMV5}" +TOOLCHAIN_PATH_ARMV7 ?= "${TOOLCHAIN_BASE}/gcc-arm-9.2-2019.12-x86_64-${EAT_TARGET_SYS_ARMV7}" +TOOLCHAIN_PATH_ARMV8 ?= "${TOOLCHAIN_BASE}/gcc-arm-9.2-2019.12-x86_64-${EAT_TARGET_SYS_ARMV8}" DEF_TOOLCHAIN_PATH_arm = "${TOOLCHAIN_PATH_ARMV5}" DEF_TOOLCHAIN_PATH_armv7a = "${TOOLCHAIN_PATH_ARMV7}" @@ -47,10 +47,10 @@ PREFERRED_PROVIDER_libgcc = "external-arm-toolchain" PREFERRED_PROVIDER_gcc-runtime = "external-arm-toolchain" # Set Cross and SDK toolchain preferences -SDKGCCVERSION ?= "arm-8.3%" -SDKGDBVERSION ?= "8.2%" -SDKBINUVERSION ?= "2.31%" -SDKGLIBCVERSION ?= "2.28%" +SDKGCCVERSION ?= "arm-9.2%" +SDKGDBVERSION ?= "8.3%" +SDKBINUVERSION ?= "2.32%" +SDKGLIBCVERSION ?= "2.30%" SDKLINUXLIBCVERSION ?= "4.19%" PREFERRED_VERSION_gcc-crosssdk-${SDK_SYS} ?= "${SDKGCCVERSION}" @@ -69,10 +69,10 @@ PREFERRED_VERSION_nativesdk-glibc-initial ?= "${SDKGLIBCVERSION}" # Set target toolchain preferences to match Cross/SDK by default # Can be overwritten globally, if needed -GCCVERSION ?= "arm-8.3%" -GDBVERSION ?= "8.2%" -BINUVERSION ?= "2.31%" -GLIBCVERSION ?= "2.28%" +GCCVERSION ?= "arm-9.2%" +GDBVERSION ?= "8.3%" +BINUVERSION ?= "2.32%" +GLIBCVERSION ?= "2.30%" PREFERRED_VERSION_gcc ?= "${GCCVERSION}" PREFERRED_VERSION_gdb ?= "${GDBVERSION}" -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [zeus/master][PATCH 2/3] external-arm-toolchain: update to accomodate latest upstream changes
From: Denys Dmytriyenko Signed-off-by: Denys Dmytriyenko --- .../recipes-core/meta/external-arm-toolchain.bbappend | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend index b88c337..5bf8090 100644 --- a/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend +++ b/meta-arago-extras/recipes-core/meta/external-arm-toolchain.bbappend @@ -26,9 +26,9 @@ do_install_append() { ln -sf libgfortran.so.5 ${D}${libdir}/libgfortran.so } -FILES_libgcc-dev += "\ -${libdir}/gcc/${TARGET_SYS} \ -" +# Below FILES_* overrides are due to TARGET_SYS -> ORIG_TARGET_SYS move in ${libdir}/gcc +# to enable native compile on the target +FILES_libgcov-staticdev = "${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/libgcov.a" FILES_libgfortran-dev = "\ ${libdir}/libgfortran*.so \ @@ -39,6 +39,18 @@ FILES_libgfortran-dev = "\ ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/finclude/ \ " +FILES_gcc-sanitizers = "${libdir}/*.spec ${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include/sanitizer/*.h" + +# This is provided by gcc: +#${libdir}/gcc/${ORIG_TARGET_SYS}/${BINV}/include +FILES_libgcc-dev = "\ +${base_libdir}/libgcc*.so \ +${@oe.utils.conditional('BASETARGET_SYS', '${ORIG_TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ +${libdir}/${TARGET_SYS}/${BINV}* \ +${libdir}/${TARGET_ARCH}${TARGET_VENDOR}* \ +${libdir}/gcc/${TARGET_SYS} \ +" + FILES_libssp-dev = "\ ${libdir}/libssp*.so \ ${libdir}/libssp*_nonshared.a \ -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
Re: [meta-arago] [RFC][PATCH 1/2] opkg-bash-completion: add simple completions for opkg
On Tue, Jan 21, 2020 at 11:58:42AM -0500, Jacob Stiffler wrote: > This is a simpe start to bash completions for opkg. Initialy, this can > complete current supported verbs (static) and complete package names > (dynamic). Oh, nice! Thanks for taking a stab at it! > Signed-off-by: Jacob Stiffler > --- > .../recipes-devtools/opkg/opkg-bash-completion.bb | 15 + > .../opkg/opkg-bash-completion/opkg-bash-completion | 26 > ++ > 2 files changed, 41 insertions(+) > create mode 100644 > meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb > create mode 100644 > meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion > > diff --git a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb > b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb > new file mode 100644 > index 000..74e4964 > --- /dev/null > +++ b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb > @@ -0,0 +1,15 @@ > +SUMMARY = "bash-completions for opkg" > +LICENSE = "MIT" > + > +LIC_FILES_CHKSUM = > "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" > + > +SRC_URI = "file://opkg-bash-completion" > + > +do_install() { > +install -d ${D}${datadir}/bash-completion/completions > +install -m 0644 ${WORKDIR}/opkg-bash-completion \ > +${D}${datadir}/bash-completion/completions/opkg > +} > + > +FILES_${PN} = "${datadir}/bash-completion/completions/opkg" > +RDEPENDS_${PN} = "bash-completion" > diff --git > a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion > > b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion > new file mode 100644 > index 000..5b0b4e1 > --- /dev/null > +++ > b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion > @@ -0,0 +1,26 @@ > +#!/bin/bash > + > +# TBD: parse "opkg --help" to get this list > +OPKG_COMMANDS="update upgrade install configure remove clean flag list > list-installed list-upgradable list-changed-conffiles files search find info > status download compare-versions print-architecture depends whatdepends > whatdependsrec whatrecommends whatsuggests whatprovides whatconflicts > whatreplaces" > + > +_opkg_completions() { > +if [ ${#COMP_WORDS[@]} -eq 2 ] > +then > +COMPREPLY=($(compgen -W "${OPKG_COMMANDS}" "${COMP_WORDS[1]}")) > +return > +fi > + > +# TBD: add more cases, support options > +case "${COMP_WORDS[1]}" in > +install|files|info|status|download) > +COMPREPLY=($(compgen -W "$(opkg list | sed -e 's| .*$||')" -- > "${COMP_WORDS[$COMP_CWORD]}"));; > + > depends|whatdepends|whatdependsrec|whatrecommends|whatsuggests|whatprovides|whatconflicts|whatreplaces) > +COMPREPLY=($(compgen -W "-A $(opkg list | sed -e 's| .*$||')" -- > "${COMP_WORDS[$COMP_CWORD]}"));; > +remove) > +COMPREPLY=($(compgen -W "$(opkg list-installed | sed -e 's| > .*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));; > +upgrade) > +COMPREPLY=($(compgen -W "$(opkg list-upgradable | sed -e 's| > .*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));; > +esac > +} > + > +complete -F _opkg_completions opkg > -- > 2.7.4 > > ___ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [RFC][PATCH 1/2] opkg-bash-completion: add simple completions for opkg
This is a simpe start to bash completions for opkg. Initialy, this can complete current supported verbs (static) and complete package names (dynamic). Signed-off-by: Jacob Stiffler --- .../recipes-devtools/opkg/opkg-bash-completion.bb | 15 + .../opkg/opkg-bash-completion/opkg-bash-completion | 26 ++ 2 files changed, 41 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb create mode 100644 meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion diff --git a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb new file mode 100644 index 000..74e4964 --- /dev/null +++ b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion.bb @@ -0,0 +1,15 @@ +SUMMARY = "bash-completions for opkg" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = "file://opkg-bash-completion" + +do_install() { +install -d ${D}${datadir}/bash-completion/completions +install -m 0644 ${WORKDIR}/opkg-bash-completion \ +${D}${datadir}/bash-completion/completions/opkg +} + +FILES_${PN} = "${datadir}/bash-completion/completions/opkg" +RDEPENDS_${PN} = "bash-completion" diff --git a/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion new file mode 100644 index 000..5b0b4e1 --- /dev/null +++ b/meta-arago-extras/recipes-devtools/opkg/opkg-bash-completion/opkg-bash-completion @@ -0,0 +1,26 @@ +#!/bin/bash + +# TBD: parse "opkg --help" to get this list +OPKG_COMMANDS="update upgrade install configure remove clean flag list list-installed list-upgradable list-changed-conffiles files search find info status download compare-versions print-architecture depends whatdepends whatdependsrec whatrecommends whatsuggests whatprovides whatconflicts whatreplaces" + +_opkg_completions() { +if [ ${#COMP_WORDS[@]} -eq 2 ] +then +COMPREPLY=($(compgen -W "${OPKG_COMMANDS}" "${COMP_WORDS[1]}")) +return +fi + +# TBD: add more cases, support options +case "${COMP_WORDS[1]}" in +install|files|info|status|download) +COMPREPLY=($(compgen -W "$(opkg list | sed -e 's| .*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));; + depends|whatdepends|whatdependsrec|whatrecommends|whatsuggests|whatprovides|whatconflicts|whatreplaces) +COMPREPLY=($(compgen -W "-A $(opkg list | sed -e 's| .*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));; +remove) +COMPREPLY=($(compgen -W "$(opkg list-installed | sed -e 's| .*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));; +upgrade) +COMPREPLY=($(compgen -W "$(opkg list-upgradable | sed -e 's| .*$||')" -- "${COMP_WORDS[$COMP_CWORD]}"));; +esac +} + +complete -F _opkg_completions opkg -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
[meta-arago] [RFC][PATCH 2/2] packagegroup-arago-base: add opkg-bash-completion
Signed-off-by: Jacob Stiffler --- meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb index 4094d90..e3f1916 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb @@ -20,6 +20,7 @@ ARAGO_BASE = "\ ethtool \ thermal-init \ bash \ +opkg-bash-completion \ udev-extraconf \ " -- 2.7.4 ___ meta-arago mailing list meta-arago@arago-project.org http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago