# Maintainer: Ken Restivo <ken@246gt.com>
#
#############################################################
-#$Id: strace.mk,v 1.1 2002/05/23 19:21:23 andersen Exp $
+#$Id: strace.mk,v 1.2 2002/05/31 10:43:51 andersen Exp $
# TARGETS
-STRACE_SITE:=http://prdownloads.sourceforge.net/strace
+STRACE_SITE:=http://telia.dl.sourceforge.net/sourceforge/strace
STRACE_SOURCE:=strace_4.4-1.tar.gz
STRACE_DIR:=$(BUILD_DIR)/strace-4.4
$(STRACE_DIR)/Makefile: $(STRACE_DIR)/.dist
(cd ${STRACE_DIR}; \
export PATH="${TARGET_PATH}"; \
- ./configure --with-shared --prefix=$(STAGING_DIR)/usr --target=arm-linux \
- --host=arm-linux )
+ ./configure --with-shared --prefix=$(STAGING_DIR)/usr \
+ --target=$(ARCH)-linux --host=$(ARCH)-linux )
$(STRACE_DIR)/strace: $(STRACE_DIR)/Makefile
- make -C $(STRACE_DIR) CC="${TARGET_CC}" LD="${TARGET_LD}"\
- AS="${TARGET_AS}"
+ make CC="${TARGET_CC}" LD="${TARGET_LD}" \
+ AS="${TARGET_AS}" -C $(STRACE_DIR)
$(STAGING_DIR)/usr/bin/strace: $(STRACE_DIR)/strace
-mkdir -p $(STAGING_DIR)/usr/man/man1