mirror of
https://gitee.com/open-loongarch/buildroot-2024.08.git
synced 2026-10-25 20:57:12 +08:00
first commit: base 2024.08
Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_FAIFA
|
||||
bool "faifa"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_LIBEVENT
|
||||
select BR2_PACKAGE_LIBPCAP
|
||||
help
|
||||
Faifa can configure any Intellon-based Power Line
|
||||
Communication device using Intellon INT5000 and INT6000
|
||||
series chips (6000 and 6300 chips). It supports all
|
||||
Intellon-specific management and control frames as well as
|
||||
standard management frames.
|
||||
|
||||
https://github.com/ffainelli/faifa
|
||||
|
||||
comment "faifa needs a toolchain w/ dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# locally computed
|
||||
sha256 bae36f77d02ea25a0f8e2fa3db0b0efe7e5cb7331cf0ea97470036b7f299a5c1 faifa-fb91bf684fd19f03115b8dc76b57bb5a5a4ec05b.tar.gz
|
||||
sha256 9b62e4601b2b9cd5719a393e88ed71a8304048862502db765ed9d6ff8cf38c5e COPYING
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# faifa
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FAIFA_VERSION = fb91bf684fd19f03115b8dc76b57bb5a5a4ec05b
|
||||
FAIFA_SITE = $(call github,ffainelli,faifa,$(FAIFA_VERSION))
|
||||
FAIFA_INSTALL_STAGING = YES
|
||||
FAIFA_DEPENDENCIES = libevent libpcap host-autoconf
|
||||
FAIFA_LICENSE = BSD-3-Clause
|
||||
FAIFA_LICENSE_FILES = COPYING
|
||||
|
||||
FAIFA_MAKE_OPTS += GIT_REV=$(FAIFA_VERSION)
|
||||
|
||||
# This package uses autoconf, but not automake, so we need to call
|
||||
# their special autogen.sh script, and have custom target and staging
|
||||
# installation commands.
|
||||
|
||||
define FAIFA_RUN_AUTOGEN
|
||||
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
|
||||
endef
|
||||
FAIFA_PRE_CONFIGURE_HOOKS += FAIFA_RUN_AUTOGEN
|
||||
|
||||
define FAIFA_INSTALL_TARGET_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
PREFIX=/usr \
|
||||
STRIP=/bin/true \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
install
|
||||
endef
|
||||
|
||||
define FAIFA_INSTALL_STAGING_CMDS
|
||||
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
PREFIX=/usr \
|
||||
STRIP=/bin/true \
|
||||
DESTDIR=$(STAGING_DIR) \
|
||||
install
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user