summaryrefslogtreecommitdiff
path: root/obsolete-buildroot/make/valgrind.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2005-10-17 12:24:08 +0000
committerImre Kaloz <kaloz@openwrt.org>2005-10-17 12:24:08 +0000
commit15bee86fc3df92f0bbdf0a17eac3915965983396 (patch)
tree6a621c91d22f093f023a29c72252ea47ba9fb32a /obsolete-buildroot/make/valgrind.mk
parent487c71693d31836144cd0a55ae73b76c64f71561 (diff)
downloadmtk-20170518-15bee86fc3df92f0bbdf0a17eac3915965983396.zip
mtk-20170518-15bee86fc3df92f0bbdf0a17eac3915965983396.tar.gz
mtk-20170518-15bee86fc3df92f0bbdf0a17eac3915965983396.tar.bz2
removed the old directories, too.. cleanup is ready, yay
SVN-Revision: 2130
Diffstat (limited to 'obsolete-buildroot/make/valgrind.mk')
-rw-r--r--obsolete-buildroot/make/valgrind.mk88
1 files changed, 0 insertions, 88 deletions
diff --git a/obsolete-buildroot/make/valgrind.mk b/obsolete-buildroot/make/valgrind.mk
deleted file mode 100644
index 1c39c31..0000000
--- a/obsolete-buildroot/make/valgrind.mk
+++ /dev/null
@@ -1,88 +0,0 @@
-#############################################################
-#
-# valgrind
-#
-#############################################################
-
-VALGRIND_SITE:=http://developer.kde.org/~sewardj/
-VALGRIND_DIR:=$(BUILD_DIR)/valgrind-2.1.1
-VALGRIND_SOURCE:=valgrind-2.1.1.tar.bz2
-VALGRIND_PATCH:=$(SOURCE_DIR)/valgrind.patch
-
-$(DL_DIR)/$(VALGRIND_SOURCE):
- $(WGET) -P $(DL_DIR) $(VALGRIND_SITE)/$(VALGRIND_SOURCE)
-
-$(VALGRIND_DIR)/.unpacked: $(DL_DIR)/$(VALGRIND_SOURCE)
- bzcat $(DL_DIR)/$(VALGRIND_SOURCE) | tar -C $(BUILD_DIR) -xvf -
- touch $(VALGRIND_DIR)/.unpacked
-
-$(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked
- cat $(VALGRIND_PATCH) | patch -d $(VALGRIND_DIR) -p1
- touch $(VALGRIND_DIR)/.patched
-
-$(VALGRIND_DIR)/.configured: $(VALGRIND_DIR)/.patched
- (cd $(VALGRIND_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --sbindir=/usr/sbin \
- --libexecdir=/usr/lib \
- --sysconfdir=/etc \
- --datadir=/usr/share \
- --localstatedir=/var \
- --mandir=/usr/man \
- --infodir=/usr/info \
- $(DISABLE_NLS) \
- --without-uiout --disable-valgrindmi \
- --disable-tui --disable-valgrindtk \
- --without-x --without-included-gettext \
- );
- touch $(VALGRIND_DIR)/.configured
-
-$(VALGRIND_DIR)/coregrind/valgrind.so: $(VALGRIND_DIR)/.configured
- $(MAKE) -C $(VALGRIND_DIR)
- -$(STRIP) $(VALGRIND_DIR)/*.so*
- touch -c $(VALGRIND_DIR)/coregrind/valgrind.so
-
-$(TARGET_DIR)/usr/bin/valgrind: $(VALGRIND_DIR)/coregrind/valgrind.so
- $(MAKE) \
- prefix=$(TARGET_DIR)/usr \
- exec_prefix=$(TARGET_DIR)/usr \
- bindir=$(TARGET_DIR)/usr/bin \
- sbindir=$(TARGET_DIR)/usr/sbin \
- libexecdir=$(TARGET_DIR)/usr/lib \
- datadir=$(TARGET_DIR)/usr/share \
- sysconfdir=$(TARGET_DIR)/etc \
- sharedstatedir=$(TARGET_DIR)/usr/com \
- localstatedir=$(TARGET_DIR)/var \
- libdir=$(TARGET_DIR)/usr/lib \
- infodir=$(TARGET_DIR)/usr/info \
- mandir=$(TARGET_DIR)/usr/man \
- includedir=$(TARGET_DIR)/usr/include \
- -C $(VALGRIND_DIR) install;
- rm -rf $(TARGET_DIR)/usr/share/doc/valgrind
- #mkdir -p $(TARGET_DIR)/etc/default
- #cp $(VALGRIND_DIR)/valgrind.default $(TARGET_DIR)/etc/default/valgrind
- #mkdir -p $(TARGET_DIR)/usr/lib/valgrind
- #cp $(VALGRIND_DIR)/woody.supp $(TARGET_DIR)/usr/lib/valgrind/
- touch -c $(TARGET_DIR)/usr/bin/valgrind
-
-ifeq ($(ARCH),i386)
-valgrind: $(TARGET_DIR)/usr/bin/valgrind
-else
-valgrind:
-endif
-
-valgrind-source: $(DL_DIR)/$(VALGRIND_SOURCE)
-
-valgrind-clean:
- $(MAKE) -C $(VALGRIND_DIR) clean
-
-valgrind-dirclean:
- rm -rf $(VALGRIND_DIR)
-