Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 66 lines (48 sloc) 1.4 KB
#!/usr/bin/env beesh
# BEE_VERSION perf-5.15.94-0
# more info: https://foo.bar.com
# SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${PKGVERSION}.tar.xz"
SRCURL[0]="https://beehive.molgen.mpg.de/3ca1edded3502e9d2c30debb35b83c18/mariux-5.15.94-447.tar.gz"
# PATCHURL+=()
# build_in_sourcedir
sourcesubdir_append tools/perf
OPT_ARCHIVE_BUILD=no
# honor -j
while getopts ":j:" bmf ${BEE_MAKEFLAGS[@]}; do
[ $bmf == 'j' ] && export JOBS=${OPTARG}
done
PATH=/usr/local/system/perl/bin:/usr/local/system/python2/bin:${PATH}
mee_patch_post() {
sed -i 's/lib = lib64/lib = lib/' Makefile.config
for i in \
Makefile.perf \
Documentation/Makefile \
scripts/perl/rw-by-file.pl \
scripts/perl/rw-by-pid.pl \
scripts/perl/rwtop.pl \
scripts/perl/wakeup-latency.pl \
; do
sed -i 's,/usr/bin/perl,/usr/local/system/perl/bin/perl,' ${i}
done
sed -i 's,/usr/bin/python2,/usr/local/system/python2/bin/python2,' scripts/python/export-to-postgresql.py
}
#mee_extract() {
# bee_extract "${@}"
#}
#mee_patch() {
# bee_patch "${@}"
#}
mee_configure() {
p=/pkg/python-3.9.12-0/profile; [ -e $p ] && . $p
bee_configure
}
mee_build() {
NO_LIBBFD=1 bee_build
}
mee_install() {
NO_LIBBFD=1 bee_install prefix=$PREFIX
}
mee_install_post() {
rm -vrf ${D}/etc/bash_completion.d
rm -vrf ${D}${PREFIX}/lib/perf/examples
}