Remove BITMODE stuff for ppc64 as it is no longer needed libpfm4 is a helper library for use with the perf_events kernel subsystem, which is only available with relatively new Linux distributions. For the ppc64 architecture, perf_events was first made available in SLES 11 SP1 and RHEL 6.0. For both of these distros, the default for the gcc compiler is to build 64-bit binaries. This fact, along with the previous patch in this series having made LIBDIR behave correctly, means that there's no further need for the ppc64-specific BITMODE variable to pass to make.
Signed-off-by: Maynard Johnson <mayna...@us.ibm.com> --- README | 5 ----- config.mk | 12 ------------ 2 files changed, 0 insertions(+), 17 deletions(-) diff --git a/README b/README index cf2fcc3..8a7e994 100644 --- a/README +++ b/README @@ -127,11 +127,6 @@ INSTALLATION follows (assuming you have the multilib version of gcc): $ make OPTIM="-m32 -O2" - - to compile and install the library for 64-bit Power processors, - invoke make as follows: - $ make BITMODE=64 - $ make BITMODE=64 install - PACKAGING --------- The library comes with the config files necessary to generate RPMs or diff --git a/config.mk b/config.mk index 1a38d87..819d874 100644 --- a/config.mk +++ b/config.mk @@ -162,12 +162,6 @@ ifeq ($(ARCH),cell) CONFIG_PFMLIB_CELL=y endif -# handle special cases for 64-bit builds -ifeq ($(BITMODE),64) -ifeq ($(ARCH),powerpc) -CONFIG_PFMLIB_ARCH_POWERPC64=y -endif -endif # # you shouldn't have to touch anything beyond this point @@ -206,12 +200,6 @@ CFLAGS+=$(OPTIM) $(DBG) -I$(SYSINCDIR) -I$(PFMINCDIR) MKDEP=makedepend PFMLIB=$(PFMLIBDIR)/libpfm.a -ifeq ($(CONFIG_PFMLIB_ARCH_POWERPC64),y) -CFLAGS+= -m64 -LDFLAGS+= -m64 -LIBDIR=$(DESTDIR)/lib64 -endif - ifeq ($(CONFIG_PFMLIB_DEBUG),y) CFLAGS += -DCONFIG_PFMLIB_DEBUG endif -- 1.7.1 ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel