Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5531fa5f
Commit
5531fa5f
authored
Feb 27, 2016
by
Andy Whitcroft
Committed by
Tim Gardner
Apr 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBUNTU: [Debian] perf -- build in the context of the full generated local headers
Signed-off-by:
Andy Whitcroft
<
apw@canonical.com
>
parent
3ca12ac0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
4 deletions
+9
-4
debian/rules.d/2-binary-arch.mk
debian/rules.d/2-binary-arch.mk
+9
-4
No files found.
debian/rules.d/2-binary-arch.mk
View file @
5531fa5f
...
...
@@ -569,9 +569,7 @@ $(stampdir)/stamp-prepare-perarch:
ifeq
($(do_any_tools),true)
rm
-rf
$(builddirpa)
install
-d
$(builddirpa)
for
i
in
*
;
do
$(LN)
$(CURDIR)
/
$$
i
$(builddirpa)
;
done
rm
$(builddirpa)
/tools
rsync
-a
tools/
$(builddirpa)
/tools/
rsync
-a
--exclude
debian
--exclude
debian.master
--exclude
$(DEBIAN)
--exclude
.git
-a
./
$(builddirpa)
/
endif
touch
$@
...
...
@@ -594,8 +592,15 @@ ifeq ($(do_tools_cpupower),true)
LIB_MIN
=
$(abi_release)
CPUFREQ_BENCH
=
false
endif
ifeq
($(do_tools_perf),true)
cd
$(builddirpa)
&&
$(kmake)
$(defconfig)
mv
$(builddirpa)
/.config
$(builddirpa)
/.config.old
sed
-e
's/^# \(CONFIG_MODVERSIONS\) is not set$$/\1=y/'
\
-e
's/.*CONFIG_LOCALVERSION_AUTO.*/# CONFIG_LOCALVERSION_AUTO is not set/'
\
$(builddirpa)
/.config.old
>
$(builddirpa)
/.config
cd
$(builddirpa)
&&
$(kmake)
silentoldconfig
cd
$(builddirpa)
&&
$(kmake)
prepare
cd
$(builddirpa)
/tools/perf
&&
\
make
prefix
=
/usr
HAVE_CPLUS_DEMANGLE
=
1
CROSS_COMPILE
=
$(CROSS_COMPILE)
NO_LIBPYTHON
=
1
NO_LIBPERL
=
1
PYTHON
=
python2.7
$(kmake)
prefix
=
/usr
HAVE_CPLUS_DEMANGLE
=
1
CROSS_COMPILE
=
$(CROSS_COMPILE)
NO_LIBPYTHON
=
1
NO_LIBPERL
=
1
PYTHON
=
python2.7
endif
ifeq
($(do_tools_x86),true)
cd
$(builddirpa)
/tools/power/x86/x86_energy_perf_policy
&&
make
CROSS_COMPILE
=
$(CROSS_COMPILE)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment