aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libeigen
AgeCommit message (Expand)Author
2022-03-04recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj
2021-09-29libeigen: backport fix for -Werror=class-memaccess issues when NEON is enabledMartin Jansa
2021-09-09libeigen: upgrade 3.3.9 -> 3.4.0zhengruoqin
2021-08-03Convert to new override syntaxMartin Jansa
2021-06-09libeigen: update LICENSE informationOvidiu Panait
2021-05-22libeigen: upgrade 3.3.7 -> 3.3.9Andreas Müller
2020-09-10libeigen: update SRC_URI to use gitlab gitDiego Rondini
2020-08-25libeigen: update SRC_URI to download from gitlabDiego Rondini
2019-09-16libeigen: Add native and nativesdk to BBCLASSEXTENDNathan Rossi
2019-01-30libeigen: update from 3.3.5 -> 3.3.7Maxime Roussin-Bélanger
2018-10-17libeigen: update to 3.3.5Maxime Roussin-Bélanger
2018-05-29libeigen: fix splitting files into packagesAdam Trhon
2018-03-16libeigen: remove unused patchMaxin John
2017-11-15libeigen: update to 3.3.4Lukas Bulwahn
2016-11-23libeigen: set tarball name as ${BP}.tar.bz2Wenzong Fan
2016-06-15libeigen: update to 3.2.8Lukas Bulwahn
2015-10-26libeigen: patch to install the find cmake scriptLukas Bulwahn
2015-10-26libeigen: update to 3.2.6Lukas Bulwahn
2014-07-21libeigen: remove obsolete setting for default out-of-tree buildLukas Bulwahn
2013-10-05libeigen: initial contribution required by opencvLukas Bulwahn
test-run-builtins-failed OpenEmbedded Core user contribution treesGrokmirror user
summaryrefslogtreecommitdiffstats
path: root/scripts/sysroot-relativelinks.py
blob: 56e36f3ad5492a1c800a539eb93f8239ed1691ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#

import sys
import os

# Take a sysroot directory and turn all the abolute symlinks and turn them into
# relative ones such that the sysroot is usable within another system.

if len(sys.argv) != 2:
    print("Usage is " + sys.argv[0] + "<directory>")
    sys.exit(1)

topdir = sys.argv[1]
topdir = os.path.abspath(topdir)

def handlelink(filep, subdir):
    link = os.readlink(filep)
    if link[0] != "/":
        return
    if link.startswith(topdir):
        return
    #print("Replacing %s with %s for %s" % (link, topdir+link, filep))
    print("Replacing %s with %s for %s" % (link, os.path.relpath(topdir+link, subdir), filep))
    os.unlink(filep)
    os.symlink(os.path.relpath(topdir+link, subdir), filep)

for subdir, dirs, files in os.walk(topdir):
    for f in dirs + files:
        filep = os.path.join(subdir, f)
        if os.path.islink(filep):
            #print("Considering %s" % filep)
            handlelink(filep, subdir)