1 ################################################################################
5 ################################################################################
8 CRDA_SOURCE = crda-$(CRDA_VERSION).tar.xz
9 CRDA_SITE = $(BR2_KERNEL_MIRROR)/software/network/crda
10 CRDA_DEPENDENCIES = host-pkgconf host-python-m2crypto \
11 libnl libgcrypt host-python
13 CRDA_LICENSE_FILES = LICENSE
15 # * key2pub.py currently is not python3 compliant (though python2/python3
16 # compliance could rather easily be achieved.
17 # * key2pub.py uses M2Crypto python module, which is only available for
18 # python2, so we have to make sure this script is run using the python2
19 # interpreter, hence the host-python dependency and the PYTHON variable.
20 define CRDA_BUILD_CMDS
21 $(TARGET_CONFIGURE_OPTS) \
22 PYTHON=$(HOST_DIR)/usr/bin/python2 \
23 $(MAKE) all_noverify -C $(@D)
26 define CRDA_INSTALL_TARGET_CMDS
27 $(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR)
30 $(eval $(generic-package))