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>
19 lines
615 B
Makefile
19 lines
615 B
Makefile
#############################################################
|
|
#
|
|
# bridge-utils
|
|
#
|
|
#############################################################
|
|
|
|
BRIDGE_UTILS_VERSION = 1.5
|
|
BRIDGE_UTILS_SOURCE = bridge-utils-$(BRIDGE_UTILS_VERSION).tar.gz
|
|
BRIDGE_UTILS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/bridge
|
|
BRIDGE_UTILS_AUTORECONF = YES
|
|
BRIDGE_UTILS_CONF_OPT = --with-linux-headers=$(LINUX_HEADERS_DIR)
|
|
|
|
define BRIDGE_UTILS_UNINSTALL_TARGET_CMDS
|
|
rm -f $(addprefix $(TARGET_DIR)/usr/,lib/libbridge.a \
|
|
include/libbridge.h share/man/man8/brctl.8 sbin/brctl)
|
|
endef
|
|
|
|
$(eval $(call AUTOTARGETS))
|