Skip to content

Update perf #1818

Merged
merged 3 commits into from
May 20, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 22 additions & 8 deletions perf.be0
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
#!/bin/env beesh
#!/usr/bin/env beesh

# BEE_VERSION perf-4.19.57-0
# BEE_VERSION perf-5.6.14-0

SRCURL[0]=https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-${PKGVERSION}.tar.xz
# more info: https://foo.bar.com

SRCURL[0]="https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${PKGVERSION}.tar.xz"

# PATCHURL+=()

# build_in_sourcedir

sourcesubdir_append tools/perf

Expand All @@ -12,6 +18,14 @@ mee_patch_post() {
sed -i 's/lib = lib64/lib = lib/' Makefile.config
}

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

#mee_configure() {
# bee_configure
#}
Expand All @@ -20,11 +34,11 @@ mee_patch_post() {
# bee_build
#}

#mee_install() {
# bee_install
#}
mee_install() {
bee_install prefix=$PREFIX
}

mee_install_post() {
rm -vrf ${D}/etc/bash_completion.d
rm -vrf ${D}/lib/perf/examples
}
rm -vrf ${D}${PREFIX}/lib/perf/examples
}