Some versions of make have bugs. Add a way to provide a make tarball
that can be used on it's own in these cases.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/conf/distro/include/maintainers.inc         |  1 +
 .../recipes-core/meta/buildtools-make-tarball.bb | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 meta/recipes-core/meta/buildtools-make-tarball.bb

diff --git a/meta/conf/distro/include/maintainers.inc 
b/meta/conf/distro/include/maintainers.inc
index 2c5e7308275..09a75933e26 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -84,6 +84,7 @@ RECIPE_MAINTAINER:pn-builder = "Richard Purdie 
<[email protected]
 RECIPE_MAINTAINER:pn-buildtools-extended-tarball = "Richard Purdie 
<[email protected]>"
 RECIPE_MAINTAINER:pn-buildtools-tarball = "Richard Purdie 
<[email protected]>"
 RECIPE_MAINTAINER:pn-buildtools-docs-tarball = "Richard Purdie 
<[email protected]>"
+RECIPE_MAINTAINER:pn-buildtools-make-tarball = "Richard Purdie 
<[email protected]>"
 RECIPE_MAINTAINER:pn-busybox = "Andrej Valek <[email protected]>"
 RECIPE_MAINTAINER:pn-busybox-inittab = "Denys Dmytriyenko <[email protected]>"
 RECIPE_MAINTAINER:pn-bzip2 = "Denys Dmytriyenko <[email protected]>"
diff --git a/meta/recipes-core/meta/buildtools-make-tarball.bb 
b/meta/recipes-core/meta/buildtools-make-tarball.bb
new file mode 100644
index 00000000000..e278f682719
--- /dev/null
+++ b/meta/recipes-core/meta/buildtools-make-tarball.bb
@@ -0,0 +1,16 @@
+require recipes-core/meta/buildtools-tarball.bb
+
+DESCRIPTION = "SDK type target for building a standalone tarball containing 
build-essentials, python3, chrpath, \
+               make, git and tar. The tarball can be used to run bitbake 
builds on systems which don't meet the \
+               usual version requirements and have ancient compilers."
+SUMMARY = "Standalone tarball for running builds on systems with inadequate 
software and ancient compilers"
+LICENSE = "MIT"
+
+# Add nativesdk equivalent of build-essentials
+TOOLCHAIN_HOST_TASK = "\
+    nativesdk-sdk-provides-dummy \
+    nativesdk-make \
+    "
+TOOLCHAIN_OUTPUTNAME = 
"${SDK_ARCH}-buildtools-make-nativesdk-standalone-${DISTRO_VERSION}"
+
+SDK_TITLE = "Make build tool"
-- 
2.32.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#164354): 
https://lists.openembedded.org/g/openembedded-core/message/164354
Mute This Topic: https://lists.openembedded.org/mt/90446806/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to