mirror of
https://github.com/AetherDroid/android_kernel_samsung_on5xelte.git
synced 2025-10-29 07:18:51 +01:00
Fixed MTP to work with TWRP
This commit is contained in:
commit
f6dfaef42e
50820 changed files with 20846062 additions and 0 deletions
21
tools/perf/tests/perf-targz-src-pkg
Executable file
21
tools/perf/tests/perf-targz-src-pkg
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/sh
|
||||
# Test one of the main kernel Makefile targets to generate a perf sources tarball
|
||||
# suitable for build outside the full kernel sources.
|
||||
#
|
||||
# This is to test that the tools/perf/MANIFEST file lists all the files needed to
|
||||
# be in such tarball, which sometimes gets broken when we move files around,
|
||||
# like when we made some files that were in tools/perf/ available to other tools/
|
||||
# codebases by moving it to tools/include/, etc.
|
||||
|
||||
PERF=$1
|
||||
cd ${PERF}/../..
|
||||
make perf-targz-src-pkg > /dev/null
|
||||
TARBALL=$(ls -rt perf-*.tar.gz)
|
||||
TMP_DEST=$(mktemp -d)
|
||||
tar xf ${TARBALL} -C $TMP_DEST
|
||||
rm -f ${TARBALL}
|
||||
cd - > /dev/null
|
||||
make -C $TMP_DEST/perf*/tools/perf > /dev/null 2>&1
|
||||
RC=$?
|
||||
rm -rf ${TMP_DEST}
|
||||
exit $RC
|
||||
Loading…
Add table
Add a link
Reference in a new issue