diff --git a/recipes-avr/avr-binutils/avr-binutils_2.38.bb b/recipes-avr/avr-binutils/avr-binutils_2.38.bb index 80c9eb3..e9665aa 100644 --- a/recipes-avr/avr-binutils/avr-binutils_2.38.bb +++ b/recipes-avr/avr-binutils/avr-binutils_2.38.bb @@ -23,7 +23,7 @@ SRC_URI[sha256sum] = "e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048e S = "${WORKDIR}/binutils-${PV}" -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" DEPENDS += "zlib" diff --git a/recipes-avr/avr-gcc/avr-gcc_8.4.0.bb b/recipes-avr/avr-gcc/avr-gcc_8.4.0.bb index 31d4b5c..9f3baaf 100644 --- a/recipes-avr/avr-gcc/avr-gcc_8.4.0.bb +++ b/recipes-avr/avr-gcc/avr-gcc_8.4.0.bb @@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "\ inherit autotools gettext texinfo -BBCLASSEXTEND = "native" +BBCLASSEXTEND = "native nativesdk" DEPENDS = " \ flex-native \ @@ -25,6 +25,7 @@ DEPENDS = " \ libmpc \ " DEPENDS:append:class-target = " ${BPN}-native" +DEPENDS:append:class-nativesdk = " ${BPN}-native" PE = "1" diff --git a/recipes-avr/avr-libc/avr-libc.bb b/recipes-avr/avr-libc/avr-libc.bb index 09caf52..a8c9561 100644 --- a/recipes-avr/avr-libc/avr-libc.bb +++ b/recipes-avr/avr-libc/avr-libc.bb @@ -2,5 +2,7 @@ require ${BPN}.inc inherit allarch +BBCLASSEXTEND = "nativesdk" + # Although we ship libraries this is allarch INSANE_SKIP:${PN} = "arch" diff --git a/recipes-avr/packagegroups/nativesdk-packagegroup-avr-toolchain.bb b/recipes-avr/packagegroups/nativesdk-packagegroup-avr-toolchain.bb new file mode 100644 index 0000000..9cfc9f8 --- /dev/null +++ b/recipes-avr/packagegroups/nativesdk-packagegroup-avr-toolchain.bb @@ -0,0 +1,12 @@ +SUMMARY = "Packages for the avr-gcc toolchain in a stanalone SDK" +LICENSE = "MIT" + +inherit packagegroup + +PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" + +RDEPENDS:${PN} += " \ + nativesdk-avr-gcc \ + nativesdk-avr-binutils \ + nativesdk-avr-libc \ + "