summaryrefslogtreecommitdiffstats
path: root/rules/oprofile.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-04-16 11:56:00 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-04-16 12:34:33 +0200
commit191c9e4b140b12ccd4d0ae4d7b2bc37de392a568 (patch)
treef822762cfd75ec1d5450ea5a2b8eeb18da228740 /rules/oprofile.make
parent54ce1718e7c90844cbd7280eb3a0a8b24bd8687a (diff)
downloadptxdist-191c9e4b140b12ccd4d0ae4d7b2bc37de392a568.tar.gz
ptxdist-191c9e4b140b12ccd4d0ae4d7b2bc37de392a568.tar.xz
[oprofile] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/oprofile.make')
-rw-r--r--rules/oprofile.make13
1 files changed, 3 insertions, 10 deletions
diff --git a/rules/oprofile.make b/rules/oprofile.make
index 9c1c33231..33e41040c 100644
--- a/rules/oprofile.make
+++ b/rules/oprofile.make
@@ -37,12 +37,6 @@ $(OPROFILE_SOURCE):
# Prepare
# ----------------------------------------------------------------------------
-OPROFILE_PATH := PATH=$(CROSS_PATH)
-OPROFILE_ENV := $(CROSS_ENV)
-
-#
-# autoconf
-#
OPROFILE_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--target=$(PTXCONF_GNU_TARGET) \
@@ -77,10 +71,9 @@ $(STATEDIR)/oprofile.targetinstall:
@$(call install_copy, oprofile, 0, 0, 0755, -, \
/usr/bin/oprofiled)
- @cd $(PKGDIR)/$(OPROFILE)/usr/share/oprofile && \
- find . -type f | while read file; do \
- $(call install_copy, oprofile, 0, 0, 0644, -, \
- /usr/share/oprofile/$$file) \
+ @cd $(OPROFILE_PKGIDR) && \
+ find usr/share/oprofile -type f | while read file; do \
+ $(call install_copy, oprofile, 0, 0, 0644, -, /$${file}) \
done
@$(call install_finish, oprofile)