summaryrefslogtreecommitdiffstats
path: root/obsolete-buildroot/make/strace.mk
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-27 23:20:34 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2004-08-27 23:20:34 +0000
commitfe6af23ad45e116649d8e2f219146980eacf593f (patch)
tree88af494794d9bb901fe8ae508ce8d3dc0fcba995 /obsolete-buildroot/make/strace.mk
parent220968fb96814a0c3fa1287a76665a60dbf13496 (diff)
buildroot-20040827-matrixssl.patch.txt
buildroot-20040827-ntpclient.patch.txt buildroot-20040827-radvd.patch.txt buildroot-20040827-strace.patch.txt git-svn-id: svn://svn.openwrt.org/openwrt/trunk@152 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'obsolete-buildroot/make/strace.mk')
-rw-r--r--obsolete-buildroot/make/strace.mk18
1 files changed, 13 insertions, 5 deletions
diff --git a/obsolete-buildroot/make/strace.mk b/obsolete-buildroot/make/strace.mk
index 546584d80..8de293523 100644
--- a/obsolete-buildroot/make/strace.mk
+++ b/obsolete-buildroot/make/strace.mk
@@ -3,10 +3,12 @@
# strace
#
#############################################################
-STRACE_SOURCE:=strace-4.5.3.tar.bz2
+STRACE_SOURCE:=strace-4.5.6.tar.bz2
STRACE_SITE:=http://aleron.dl.sourceforge.net/sourceforge/strace
STRACE_CAT:=bzcat
-STRACE_DIR:=$(BUILD_DIR)/strace-4.5.3
+STRACE_DIR:=$(BUILD_DIR)/strace-4.5.6
+STRACE_IPK=$(BUILD_DIR)/strace_4.5.6-1_mipsel.ipk
+STRACE_IPK_DIR:=$(BUILD_DIR)/strace-4.5.6-ipk
$(DL_DIR)/$(STRACE_SOURCE):
@@ -50,10 +52,16 @@ $(TARGET_DIR)/usr/bin/strace: $(STRACE_DIR)/strace
strace: uclibc $(TARGET_DIR)/usr/bin/strace
+strace-ipk: $(STRACE_DIR)/strace
+ mkdir -p $(STRACE_IPK_DIR)/CONTROL
+ mkdir -p $(STRACE_IPK_DIR)/usr/bin
+ install -m 644 $(OPENWRT_IPK_DIR)/strace/CONTROL/control $(STRACE_IPK_DIR)/CONTROL/control
+ install -m 755 $(STRACE_DIR)/strace $(STRACE_IPK_DIR)/usr/bin/
+ $(STRIP) $(STRACE_IPK_DIR)/usr/bin/strace
+ cd $(BUILD_DIR); $(STAGING_DIR)/bin/ipkg-build -c -o root -g root $(STRACE_IPK_DIR)
+
strace-clean:
$(MAKE) -C $(STRACE_DIR) clean
strace-dirclean:
- rm -rf $(STRACE_DIR)
-
-
+ rm -rf $(STRACE_DIR) $(STRACE_IPK_DIR)