76974fefb7
Also separate the fields in the hash file by two spaces. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
23 lines
732 B
Makefile
23 lines
732 B
Makefile
################################################################################
|
|
#
|
|
# batctl
|
|
#
|
|
################################################################################
|
|
|
|
BATCTL_VERSION = 2020.2
|
|
BATCTL_SITE = http://downloads.open-mesh.org/batman/releases/batman-adv-$(BATCTL_VERSION)
|
|
BATCTL_LICENSE = GPL-2.0, MIT (batman_adv.h, list.h)
|
|
BATCTL_LICENSE_FILES = LICENSES/preferred/GPL-2.0 LICENSES/preferred/MIT
|
|
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))
|