[kernel] r18132 - dists/trunk/linux-tools/debian/build/tools/perf
Bastian Blank
waldi at alioth.debian.org
Mon Sep 26 13:22:19 UTC 2011
Author: waldi
Date: Mon Sep 26 13:22:17 2011
New Revision: 18132
Log:
debian/build/tools/perf/Makefile
- Workaround file-overwrite in documentation makefile.
- Remove debugging output.
Modified:
dists/trunk/linux-tools/debian/build/tools/perf/Makefile
Modified: dists/trunk/linux-tools/debian/build/tools/perf/Makefile
==============================================================================
--- dists/trunk/linux-tools/debian/build/tools/perf/Makefile Mon Sep 26 12:54:45 2011 (r18131)
+++ dists/trunk/linux-tools/debian/build/tools/perf/Makefile Mon Sep 26 13:22:17 2011 (r18132)
@@ -26,7 +26,7 @@
KERNEL_ARCH_PERF = sparc
endif
-MAKE_PERF := $(MAKE) -C $(top_srcdir)/tools/perf O=$(CURDIR)/out prefix=/usr perfexecdir=share/perf_$(VERSION)-core NO_PERL=1 V=2 HAVE_CPLUS_DEMANGLE=1 ARCH=$(KERNEL_ARCH_PERF) EXTRA_WARNINGS=-Wno-error
+MAKE_PERF := $(MAKE) prefix=/usr perfexecdir=share/perf_$(VERSION)-core NO_PERL=1 V=2 HAVE_CPLUS_DEMANGLE=1 ARCH=$(KERNEL_ARCH_PERF) EXTRA_WARNINGS=-Wno-error
$(warning $(KERNEL_ARCH_PERF))
$(warning $(DEB_HOST_ARCH_CPU))
@@ -34,13 +34,17 @@
all:
ifdef KERNEL_ARCH_PERF
-mkdir out
- +$(MAKE_PERF) all man VERSION=$(VERSION)
+ # upstream makefile is broken
+ cp -al $(top_srcdir)/tools/perf/Documentation doc
+ +$(MAKE_PERF) -C $(top_srcdir)/tools/perf O=$(CURDIR)/out all VERSION=$(VERSION)
+ +$(MAKE_PERF) -C doc man VERSION=$(VERSION)
endif
install:
ifdef KERNEL_ARCH_PERF
- +$(MAKE_PERF) install install-man VERSION=$(VERSION)
+ +$(MAKE_PERF) -C $(top_srcdir)/tools/perf O=$(CURDIR)/out install VERSION=$(VERSION)
+ +$(MAKE_PERF) -C doc install-man VERSION=$(VERSION)
endif
clean:
- rm -rf out
+ rm -rf doc out
More information about the Kernel-svn-changes
mailing list