kumquat-buildroot/package/batctl/batctl.mk
Jens Zettelmeyer 20fcdcb34b batctl: new package
[Thomas:
 - remove trailing whitespace
 - remove "# libnl" comment in Config.in
 - remove BATCTL_SOURCE, which is not needed, since the default value
   is used
 - pass $(TARGET_CONFIGURE_OPTS) in the make environment, not as a
   make option, otherwise the CFLAGS += lines of batctl Makefile do
   not have any effect, and lead to not have the proper include path
   to the libnl header files.]

Signed-off-by: Jens Zettelmeyer <zettelmeyerj@goooglemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-02-09 22:45:58 +01:00

22 lines
631 B
Makefile

################################################################################
#
# batctl
#
################################################################################
BATCTL_VERSION = 2014.4.0
BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
BATCTL_LICENSE = GPLv2
BATCTL_DEPENDENCIES = libnl host-pkgconf
define BATCTL_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
endef
define BATCTL_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
PREFIX=/usr DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))