Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
8d3f3a1d
Commit
8d3f3a1d
authored
10 years ago
by
John Crispin
Browse files
Options
Downloads
Patches
Plain Diff
valgrind: add x86_64 support
Signed-off-by:
Alexandru Ardelean
<
aa@ocedo.com
>
SVN-Revision: 41934
parent
c6674722
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/devel/valgrind/Makefile
+12
-5
12 additions, 5 deletions
package/devel/valgrind/Makefile
with
12 additions
and
5 deletions
package/devel/valgrind/Makefile
+
12
−
5
View file @
8d3f3a1d
...
...
@@ -28,7 +28,7 @@ include $(INCLUDE_DIR)/kernel.mk
define
Package/valgrind
SECTION
:=
devel
CATEGORY
:=
Development
DEPENDS
:=
@mips||mipsel||i386||powerpc||arm_v7 +libpthread +librt
DEPENDS
:=
@mips||mipsel||i386||
x86_64||
powerpc||arm_v7 +libpthread +librt
TITLE
:=
debugging and profiling tools
for
Linux
URL
:=
http://www.valgrind.org
endef
...
...
@@ -77,13 +77,20 @@ define Package/valgrind/description
to
speed
up
and
reduce
memory
use
of
your
programs.
endef
CPU
:=
$(
patsubst x86,i386,
$(
LINUX_KARCH
))
CPU
:=
$(
patsubst
x86_64,amd64,
$(
patsubst
x86,i386,
$(
LINUX_KARCH
))
)
CONFIGURE_VARS
+=
\
UNAME_R
=
$(
LINUX_VERSION
)
ifeq
($(ARCH),x86_64)
BITS
:=
64bit
else
CONFIGURE_ARGS
+=
\
--enable-only32bit
BITS
:=
32bit
endif
CONFIGURE_ARGS
+=
\
--enable-only32bit
\
--enable-tls
\
--without-x
\
--without-uiout
\
...
...
@@ -101,8 +108,8 @@ define Package/valgrind/install
$(PKG_INSTALL_DIR)/usr/lib/valgrind/none-*
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/vgpreload_core*.so
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/$(CPU)-*.xml
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/
32bit
-core*.xml
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/
32bit
-linux*.xml
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/
$(BITS)
-core*.xml
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/
$(BITS)
-linux*.xml
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/memcheck-*
\
$(PKG_INSTALL_DIR)/usr/lib/valgrind/vgpreload_memcheck*.so
\
$(1)/usr/lib/valgrind/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment