diff options
author | Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> | 2018-08-02 16:21:10 -0700 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2019-01-01 20:03:46 -0800 |
commit | d4adc242441bdf49e1a63418a56f086c9fa8efc9 (patch) | |
tree | f74a63a31aa1a8b9e11feac64952d07651ae615e | |
parent | dbefde1ee9aa7e9f2a6407131a3a4fd8b3377d37 (diff) | |
download | meta-xilinx-d4adc242441bdf49e1a63418a56f086c9fa8efc9.tar.gz |
newlib: Remove recipes because they are on oe-core
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
-rw-r--r-- | meta-xilinx-bsp/recipes-core/newlib/libgloss_3.0.0.bb | 27 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-core/newlib/newlib.inc | 58 | ||||
-rw-r--r-- | meta-xilinx-bsp/recipes-core/newlib/newlib_3.0.0.bb | 19 |
3 files changed, 0 insertions, 104 deletions
diff --git a/meta-xilinx-bsp/recipes-core/newlib/libgloss_3.0.0.bb b/meta-xilinx-bsp/recipes-core/newlib/libgloss_3.0.0.bb deleted file mode 100644 index cff4a265..00000000 --- a/meta-xilinx-bsp/recipes-core/newlib/libgloss_3.0.0.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | |||
2 | require newlib.inc | ||
3 | |||
4 | DEPENDS += "newlib" | ||
5 | |||
6 | do_configure() { | ||
7 | ${S}/libgloss/configure ${EXTRA_OECONF} | ||
8 | } | ||
9 | |||
10 | do_install_prepend() { | ||
11 | # install doesn't create this itself, avoid install error | ||
12 | install -d ${D}${prefix}/${TARGET_SYS}/lib | ||
13 | } | ||
14 | |||
15 | do_install_append() { | ||
16 | # Move libs to default directories so they can be picked up later | ||
17 | mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir} | ||
18 | |||
19 | # Remove original directory | ||
20 | rmdir ${D}${prefix}/${TARGET_SYS} | ||
21 | } | ||
22 | |||
23 | # Split packages correctly | ||
24 | FILES_${PN} += "${libdir}/*.ld ${libdir}/*.specs" | ||
25 | |||
26 | INHIBIT_PACKAGE_STRIP = "1" | ||
27 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
diff --git a/meta-xilinx-bsp/recipes-core/newlib/newlib.inc b/meta-xilinx-bsp/recipes-core/newlib/newlib.inc deleted file mode 100644 index 37ad6be1..00000000 --- a/meta-xilinx-bsp/recipes-core/newlib/newlib.inc +++ /dev/null | |||
@@ -1,58 +0,0 @@ | |||
1 | SUMMARY = "Newlib is a C library intended for use on embedded systems" | ||
2 | HOMEPAGE = "https://sourceware.org/newlib/" | ||
3 | DESCRIPTION = "It is a conglomeration of several library parts, all under free software licenses that make them easily usable on embedded products." | ||
4 | SECTION = "libs" | ||
5 | |||
6 | LICENSE = "GPLv2 & LGPLv3 & GPLv3 & LGPLv2" | ||
7 | LIC_FILES_CHKSUM = " \ | ||
8 | file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
9 | file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \ | ||
10 | file://COPYING3;md5=d32239bcb673463ab874e80d47fae504 \ | ||
11 | file://COPYING.LIBGLOSS;md5=73f5c98779aea7dba4a6c94a74ab0ae2 \ | ||
12 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
13 | file://COPYING.NEWLIB;md5=956a4b1487f7677cdcceeee8f05a21f0 \ | ||
14 | file://newlib/libc/posix/COPYRIGHT;md5=103468ff1982be840fdf4ee9f8b51bbf \ | ||
15 | file://newlib/libc/sys/linux/linuxthreads/LICENSE;md5=73640207fbc79b198c7ffd4ad4d97aa0 \ | ||
16 | " | ||
17 | |||
18 | SRC_URI = "ftp://sourceware.org/pub/newlib/newlib-${PV}.tar.gz" | ||
19 | SRC_URI[md5sum] = "81ec873108b8593c586f91ca65963952" | ||
20 | SRC_URI[sha256sum] = "c8566335ee74e5fcaeb8595b4ebd0400c4b043d6acb3263ecb1314f8f5501332" | ||
21 | |||
22 | INHIBIT_DEFAULT_DEPS = "1" | ||
23 | DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial" | ||
24 | |||
25 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" | ||
26 | STAGINGCC = "${MLPREFIX}gcc-cross-initial-${TARGET_ARCH}" | ||
27 | |||
28 | S = "${WORKDIR}/newlib-${PV}" | ||
29 | B = "${WORKDIR}/build" | ||
30 | |||
31 | # Disable use of a link hash style | ||
32 | TARGET_LINK_HASH_STYLE_microblaze = "" | ||
33 | |||
34 | # disable stdlib | ||
35 | TARGET_CC_ARCH_append = " -nostdlib" | ||
36 | |||
37 | EXTRA_OECONF = " \ | ||
38 | --build=${BUILD_SYS} \ | ||
39 | --target=${TARGET_SYS} \ | ||
40 | --host=${HOST_SYS} \ | ||
41 | --prefix=${prefix} \ | ||
42 | --exec-prefix=${exec_prefix} \ | ||
43 | --bindir=${bindir} \ | ||
44 | --libdir=${libdir} \ | ||
45 | --includedir=${includedir} \ | ||
46 | --enable-languages=c \ | ||
47 | --with-newlib \ | ||
48 | --with-gnu-as \ | ||
49 | --with-gnu-ld \ | ||
50 | --disable-multilib \ | ||
51 | " | ||
52 | |||
53 | do_configure[cleandirs] = "${B}" | ||
54 | |||
55 | do_install() { | ||
56 | oe_runmake install DESTDIR='${D}' | ||
57 | } | ||
58 | |||
diff --git a/meta-xilinx-bsp/recipes-core/newlib/newlib_3.0.0.bb b/meta-xilinx-bsp/recipes-core/newlib/newlib_3.0.0.bb deleted file mode 100644 index 3d313503..00000000 --- a/meta-xilinx-bsp/recipes-core/newlib/newlib_3.0.0.bb +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | require newlib.inc | ||
2 | |||
3 | do_configure_prepend_microblaze() { | ||
4 | # hack for microblaze, which needs xilinx.ld to literally do any linking (its hard coded in its LINK_SPEC) | ||
5 | export CC="${CC} -L${S}/libgloss/microblaze" | ||
6 | } | ||
7 | |||
8 | do_configure() { | ||
9 | ${S}/configure ${EXTRA_OECONF} | ||
10 | } | ||
11 | |||
12 | do_install_append() { | ||
13 | # Move include files and libs to default directories so they can be picked up later | ||
14 | mv -v ${D}${prefix}/${TARGET_SYS}/lib ${D}${libdir} | ||
15 | mv -v ${D}${prefix}/${TARGET_SYS}/include ${D}${includedir} | ||
16 | |||
17 | # Remove original directory | ||
18 | rmdir ${D}${prefix}/${TARGET_SYS} | ||
19 | } | ||