300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
644 B
Makefile
22 lines
644 B
Makefile
#############################################################
|
|
#
|
|
# strace
|
|
#
|
|
#############################################################
|
|
|
|
STRACE_VERSION = 4.5.20
|
|
STRACE_SOURCE = strace-$(STRACE_VERSION).tar.bz2
|
|
STRACE_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/strace
|
|
|
|
STRACE_CONF_ENV = ac_cv_header_linux_if_packet_h=yes \
|
|
ac_cv_header_linux_netlink_h=yes \
|
|
$(if $(BR2_LARGEFILE),ac_cv_type_stat64=yes,ac_cv_type_stat64=no)
|
|
|
|
define STRACE_REMOVE_STRACE_GRAPH
|
|
rm -f $(TARGET_DIR)/usr/bin/strace-graph
|
|
endef
|
|
|
|
STRACE_POST_INSTALL_TARGET_HOOKS += STRACE_REMOVE_STRACE_GRAPH
|
|
|
|
$(eval $(call AUTOTARGETS))
|