diff options
Diffstat (limited to 'meta/recipes-core/musl')
-rw-r--r-- | meta/recipes-core/musl/bsd-headers.bb | 3 | ||||
-rw-r--r-- | meta/recipes-core/musl/gcompat_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/musl/libc-test_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/musl/libssp-nonshared.bb | 3 | ||||
-rw-r--r-- | meta/recipes-core/musl/libucontext_1.3.2.bb | 8 | ||||
-rw-r--r-- | meta/recipes-core/musl/musl-legacy-error.bb | 3 | ||||
-rw-r--r-- | meta/recipes-core/musl/musl-locales_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/musl/musl-obstack.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/musl/musl-utils.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/musl/musl_git.bb | 2 |
10 files changed, 9 insertions, 20 deletions
diff --git a/meta/recipes-core/musl/bsd-headers.bb b/meta/recipes-core/musl/bsd-headers.bb index 7d0bdee870..ad9ba81e4f 100644 --- a/meta/recipes-core/musl/bsd-headers.bb +++ b/meta/recipes-core/musl/bsd-headers.bb | |||
@@ -15,8 +15,7 @@ do_compile[noexec] = "1" | |||
15 | 15 | ||
16 | INHIBIT_DEFAULT_DEPS = "1" | 16 | INHIBIT_DEFAULT_DEPS = "1" |
17 | 17 | ||
18 | S = "${WORKDIR}/sources" | 18 | S = "${UNPACKDIR}" |
19 | UNPACKDIR = "${S}" | ||
20 | 19 | ||
21 | do_install() { | 20 | do_install() { |
22 | install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h | 21 | install -Dm 0644 ${S}/sys-queue.h ${D}${includedir}/sys/queue.h |
diff --git a/meta/recipes-core/musl/gcompat_git.bb b/meta/recipes-core/musl/gcompat_git.bb index 40fe8c6a5f..6f9710e71a 100644 --- a/meta/recipes-core/musl/gcompat_git.bb +++ b/meta/recipes-core/musl/gcompat_git.bb | |||
@@ -16,8 +16,6 @@ SRC_URI:append:powerpc = "\ | |||
16 | PV = "1.1.0" | 16 | PV = "1.1.0" |
17 | SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6" | 17 | SRCREV = "b7bfe0b08c52fdc72e0c1d9d4dcb2129f1642bd6" |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit pkgconfig linuxloader siteinfo | 19 | inherit pkgconfig linuxloader siteinfo |
22 | 20 | ||
23 | DEPENDS += "musl-obstack" | 21 | DEPENDS += "musl-obstack" |
diff --git a/meta/recipes-core/musl/libc-test_git.bb b/meta/recipes-core/musl/libc-test_git.bb index f55a125a89..71a111cfa4 100644 --- a/meta/recipes-core/musl/libc-test_git.bb +++ b/meta/recipes-core/musl/libc-test_git.bb | |||
@@ -18,8 +18,6 @@ SRC_URI = " \ | |||
18 | 18 | ||
19 | PV = "0+git" | 19 | PV = "0+git" |
20 | 20 | ||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | # libc-test 'make' or 'make run' command is designed to build and run tests. It | 21 | # libc-test 'make' or 'make run' command is designed to build and run tests. It |
24 | # reports both build and test failures. The commands should be run on target. | 22 | # reports both build and test failures. The commands should be run on target. |
25 | do_compile() { | 23 | do_compile() { |
diff --git a/meta/recipes-core/musl/libssp-nonshared.bb b/meta/recipes-core/musl/libssp-nonshared.bb index fde3bc97b4..4bcbaef7ea 100644 --- a/meta/recipes-core/musl/libssp-nonshared.bb +++ b/meta/recipes-core/musl/libssp-nonshared.bb | |||
@@ -17,8 +17,7 @@ DEPENDS = "virtual/cross-binutils \ | |||
17 | 17 | ||
18 | do_configure[noexec] = "1" | 18 | do_configure[noexec] = "1" |
19 | 19 | ||
20 | S = "${WORKDIR}/sources" | 20 | S = "${UNPACKDIR}" |
21 | UNPACKDIR = "${S}" | ||
22 | 21 | ||
23 | do_compile() { | 22 | do_compile() { |
24 | ${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c stack_chk.c -o stack_chk.o | 23 | ${CC} ${CPPFLAGS} ${CFLAGS} -fPIE -c stack_chk.c -o stack_chk.o |
diff --git a/meta/recipes-core/musl/libucontext_1.3.2.bb b/meta/recipes-core/musl/libucontext_1.3.2.bb index 65ee77d06e..c5b802207b 100644 --- a/meta/recipes-core/musl/libucontext_1.3.2.bb +++ b/meta/recipes-core/musl/libucontext_1.3.2.bb | |||
@@ -12,8 +12,6 @@ SRCREV = "a0323579ac50b9a9d4033754d089f1fed0f59a00" | |||
12 | SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \ | 12 | SRC_URI = "git://github.com/kaniini/libucontext;branch=master;protocol=https \ |
13 | " | 13 | " |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | COMPATIBLE_HOST = ".*-musl.*" | 15 | COMPATIBLE_HOST = ".*-musl.*" |
18 | 16 | ||
19 | valid_archs = " \ | 17 | valid_archs = " \ |
@@ -50,3 +48,9 @@ def map_kernel_arch(a, d): | |||
50 | 48 | ||
51 | EXTRA_OEMESON = "-Dcpu=${@map_kernel_arch(d.getVar('TARGET_ARCH'), d)}" | 49 | EXTRA_OEMESON = "-Dcpu=${@map_kernel_arch(d.getVar('TARGET_ARCH'), d)}" |
52 | inherit meson | 50 | inherit meson |
51 | |||
52 | ARM_TARGET_CPPFLAGS = "" | ||
53 | ARM_TARGET_CPPFLAGS:append:arm = "${@bb.utils.contains('TARGET_FPU', 'hard', ' -DFORCE_HARD_FLOAT', '', d)}" | ||
54 | ARM_TARGET_CPPFLAGS:append:arm = "${@bb.utils.contains('TARGET_FPU', 'soft', ' -DFORCE_SOFT_FLOAT', '', d)}" | ||
55 | |||
56 | TARGET_CPPFLAGS .= "${ARM_TARGET_CPPFLAGS}" | ||
diff --git a/meta/recipes-core/musl/musl-legacy-error.bb b/meta/recipes-core/musl/musl-legacy-error.bb index 11a838a6e8..b40075c0b6 100644 --- a/meta/recipes-core/musl/musl-legacy-error.bb +++ b/meta/recipes-core/musl/musl-legacy-error.bb | |||
@@ -13,8 +13,7 @@ do_compile[noexec] = "1" | |||
13 | 13 | ||
14 | INHIBIT_DEFAULT_DEPS = "1" | 14 | INHIBIT_DEFAULT_DEPS = "1" |
15 | 15 | ||
16 | S = "${WORKDIR}/sources" | 16 | S = "${UNPACKDIR}" |
17 | UNPACKDIR = "${S}" | ||
18 | 17 | ||
19 | do_install() { | 18 | do_install() { |
20 | install -Dm 0644 ${S}/error.h -t ${D}${includedir} | 19 | install -Dm 0644 ${S}/error.h -t ${D}${includedir} |
diff --git a/meta/recipes-core/musl/musl-locales_git.bb b/meta/recipes-core/musl/musl-locales_git.bb index 2815e2ddf0..c8510596cf 100644 --- a/meta/recipes-core/musl/musl-locales_git.bb +++ b/meta/recipes-core/musl/musl-locales_git.bb | |||
@@ -12,8 +12,6 @@ SRC_URI = "git://git.adelielinux.org/adelie/musl-locales;protocol=https;branch=m | |||
12 | PV = "1.0+git" | 12 | PV = "1.0+git" |
13 | SRCREV = "5663f5bfd30bf9e1e0ba3fc5fe2da6725969f30e" | 13 | SRCREV = "5663f5bfd30bf9e1e0ba3fc5fe2da6725969f30e" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | DEPENDS = "virtual/libintl gettext-native" | 15 | DEPENDS = "virtual/libintl gettext-native" |
18 | 16 | ||
19 | PROVIDES = "virtual/libc-locale" | 17 | PROVIDES = "virtual/libc-locale" |
diff --git a/meta/recipes-core/musl/musl-obstack.bb b/meta/recipes-core/musl/musl-obstack.bb index 4c71a141b2..d8a5ae8d82 100644 --- a/meta/recipes-core/musl/musl-obstack.bb +++ b/meta/recipes-core/musl/musl-obstack.bb | |||
@@ -16,7 +16,5 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
16 | 16 | ||
17 | inherit autotools pkgconfig | 17 | inherit autotools pkgconfig |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | COMPATIBLE_HOST = ".*-musl.*" | 19 | COMPATIBLE_HOST = ".*-musl.*" |
22 | 20 | ||
diff --git a/meta/recipes-core/musl/musl-utils.bb b/meta/recipes-core/musl/musl-utils.bb index 8280333daf..4b685640c8 100644 --- a/meta/recipes-core/musl/musl-utils.bb +++ b/meta/recipes-core/musl/musl-utils.bb | |||
@@ -17,8 +17,6 @@ UPSTREAM_CHECK_COMMITS = "1" | |||
17 | 17 | ||
18 | inherit autotools | 18 | inherit autotools |
19 | 19 | ||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | PACKAGES =+ "${PN}-iconv" | 20 | PACKAGES =+ "${PN}-iconv" |
23 | 21 | ||
24 | FILES:${PN}-iconv = "${bindir}/iconv" | 22 | FILES:${PN}-iconv = "${bindir}/iconv" |
diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index afc459bf1c..51e429b093 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb | |||
@@ -16,8 +16,6 @@ SRC_URI = "git://git.musl-libc.org/musl;branch=master \ | |||
16 | file://0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch \ | 16 | file://0001-Update-syscalls-for-r32-rv64-from-kernel-6.4-through.patch \ |
17 | " | 17 | " |
18 | 18 | ||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt" | 19 | PROVIDES += "virtual/libc virtual/libiconv virtual/libintl virtual/crypt" |
22 | 20 | ||
23 | DEPENDS = "virtual/cross-binutils \ | 21 | DEPENDS = "virtual/cross-binutils \ |