mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
>From [1]: "PyCryptodome is a fork of PyCrypto, which is not maintained any more (the last release dates back to 2013 [2]). It exposes almost the same API, but there are a few incompatibilities [3]." [1]90ad245043[2] https://pypi.org/project/pycrypto/#history [3] https://pycryptodome.readthedocs.io/en/latest/src/vs_pycrypto.html Update the patch 0001-crda-support-python-3-in-utils-key2pub.py.patch since it add pycrypto. >From [4] "CRDA is no longer needed as of kernel v4.15 since commit 007f6c5e6eb45 ("cfg80211: support loading regulatory database as firmware file") added support to use the kernel's firmware request API which looks for the firmware on /lib/firmware. Because of this CRDA is legacy software for older kernels. It will continue to be maintained." [4] https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/tree/README?id=9856751feaf7b102547cea678a5da6c94252d83d#n8 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit8d05237b60) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
23 lines
632 B
Makefile
23 lines
632 B
Makefile
################################################################################
|
|
#
|
|
# crda
|
|
#
|
|
################################################################################
|
|
|
|
CRDA_VERSION = 4.14
|
|
CRDA_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/crda.git/snapshot
|
|
CRDA_DEPENDENCIES = host-pkgconf host-python-pycryptodomex libnl libgcrypt
|
|
CRDA_LICENSE = ISC
|
|
CRDA_LICENSE_FILES = LICENSE
|
|
|
|
define CRDA_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(MAKE) all_noverify -C $(@D)
|
|
endef
|
|
|
|
define CRDA_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|