summaryrefslogtreecommitdiffstats
path: root/recipes-enea/bitcalc/bitcalc_1.0.bb
blob: 5030c32ee02960008b3251cb7ad153a73b506c35 (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
SUMMARY = "Translate CPU list to a CPU mask"
DESCRIPTION = "Translate CPU list given on command line to a hexadecimal CPU mask. Can use kernel boot parameters isolcpus or nohz_full as input as well as a list given on command line."
SECTION = "utils"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b52bab7a403562f36be803f11489f1a4"

PR = "r0"

DEPENDS = "gcc-sanitizers"
RDEPENDS:${PN} = "bash"

FILESEXTRAPATHS:append := "${THISDIR}/${PN}"

SRC_URI = "git://github.com/OpenEneaLinux/rt-tools.git;branch=master;protocol=https \
           file://0001-bitcalc-resolved-compilation-warnings.patch \
           file://0001-bitcalc-resolved-memory-leaks.patch \
           file://0001-Fix-implicit-fallthrough-warnings.patch \
           "

DEPENDS:remove:aarch64 = "gcc-sanitizers"
SRC_URI:append:aarch64 = "file://0001-bitcalc-disable-gcc-address-sanitizer.patch"

SRCREV = "9d4d1ce26b58ada516466c30e53c75c2961d6f0a"

S = "${WORKDIR}/git"

EXTRA_OEMAKE += "'DESTDIR=${D}/usr/bin'"

inherit pkgconfig cmake