Changeset 41934


Ignore:
Timestamp:
2014-08-01T13:19:42+02:00 (4 years ago)
Author:
blogic
Message:

valgrind: add x86_64 support

Signed-off-by: Alexandru Ardelean <aa@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/devel/valgrind/Makefile

    r37773 r41934  
    2929  SECTION:=devel 
    3030  CATEGORY:=Development 
    31   DEPENDS:=@mips||mipsel||i386||powerpc||arm_v7 +libpthread +librt 
     31  DEPENDS:=@mips||mipsel||i386||x86_64||powerpc||arm_v7 +libpthread +librt 
    3232  TITLE:=debugging and profiling tools for Linux 
    3333  URL:=http://www.valgrind.org 
     
    7878endef 
    7979 
    80 CPU := $(patsubst x86,i386,$(LINUX_KARCH)) 
     80CPU := $(patsubst x86_64,amd64,$(patsubst x86,i386,$(LINUX_KARCH))) 
    8181 
    8282CONFIGURE_VARS += \ 
    8383        UNAME_R=$(LINUX_VERSION) 
    8484 
     85ifeq ($(ARCH),x86_64) 
     86        BITS := 64bit 
     87else 
     88        CONFIGURE_ARGS += \ 
     89                --enable-only32bit 
     90        BITS := 32bit 
     91endif 
     92 
    8593CONFIGURE_ARGS += \ 
    86         --enable-only32bit \ 
    8794        --enable-tls \ 
    8895        --without-x \ 
     
    102109                $(PKG_INSTALL_DIR)/usr/lib/valgrind/vgpreload_core*.so \ 
    103110                $(PKG_INSTALL_DIR)/usr/lib/valgrind/$(CPU)-*.xml \ 
    104                 $(PKG_INSTALL_DIR)/usr/lib/valgrind/32bit-core*.xml \ 
    105                 $(PKG_INSTALL_DIR)/usr/lib/valgrind/32bit-linux*.xml \ 
     111                $(PKG_INSTALL_DIR)/usr/lib/valgrind/$(BITS)-core*.xml \ 
     112                $(PKG_INSTALL_DIR)/usr/lib/valgrind/$(BITS)-linux*.xml \ 
    106113                $(PKG_INSTALL_DIR)/usr/lib/valgrind/memcheck-* \ 
    107114                $(PKG_INSTALL_DIR)/usr/lib/valgrind/vgpreload_memcheck*.so \ 
Note: See TracChangeset for help on using the changeset viewer.