2 # Copyright (C) 2006-2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
14 ifeq ($(CONFIG_LINUX_2_6_25
),y
)
16 PKG_MD5SUM
:=77f66d09aa82981bb6d65fa19a2c1ba9
17 PATCH_DIR
:=patches-4.5
.16
20 PKG_MD5SUM
:=2415e435d61e40315a298c80aced0cda
23 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
24 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
29 include $(INCLUDE_DIR
)/package.mk
34 TITLE
:=System call tracer
35 URL
:=http
://strace.sourceforge.net
/
38 define Package
/strace
/description
39 A useful diagnostic
, instructional
, and debugging tool. Allows you to track what
40 system calls a program makes while it is running.
43 # needed when compiling against Linux 2.4
45 ac_cv_header_linux_netlink_h
=yes
47 # needed when compiling with an external toolchain
49 -I
$(LINUX_DIR
)/include
52 CCOPT
="$(TARGET_CFLAGS)"
54 define Package
/strace
/install
55 $(INSTALL_DIR
) $(1)/usr
/bin
56 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/strace
$(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,strace
))