initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
From bfe43f4b4f249cee8c77059d7c89ebbc521d4d93 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Mon, 14 Sep 2015 22:25:12 +0200
|
||||
Subject: [PATCH] sha2.c: explicitly include endian.h for BYTE_ORDER macro
|
||||
|
||||
Fixes a build issue with the musl C library, which doesn't indirectly
|
||||
include endian.h from any of the included system headers:
|
||||
|
||||
http://autobuild.buildroot.net/results/17b/17bde543db253c008079b04c5e341f804160f59c/build-end.log
|
||||
|
||||
Upstream-Status: submitted (https://github.com/ffainelli/faifa/pull/12)
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
---
|
||||
sha2.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/sha2.c b/sha2.c
|
||||
index f2f5132..4c8a72d 100644
|
||||
--- a/sha2.c
|
||||
+++ b/sha2.c
|
||||
@@ -40,6 +40,7 @@
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
|
||||
+#include "endian.h"
|
||||
#include "sha2.h"
|
||||
|
||||
/*
|
||||
--
|
||||
2.1.4
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From 36eed08a3783df6bb8d92d3c80cd47d0660eeb12 Mon Sep 17 00:00:00 2001
|
||||
From: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
Date: Sat, 30 Jan 2016 16:27:37 +0100
|
||||
Subject: [PATCH 1/1] hpav_cfg.c: do not include linux/if_ether.h for musl
|
||||
compatibility
|
||||
|
||||
Fixes a build issue with the musl C library
|
||||
http://autobuild.buildroot.net/results/dc6/dc6e4d7327d2031ef921cccd814605dec73a0f9c/build-end.log
|
||||
|
||||
Patch sent upstream: https://github.com/ffainelli/faifa/pull/13
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
---
|
||||
hpav_cfg.c | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/hpav_cfg.c b/hpav_cfg.c
|
||||
index 7cc53af..45d3f0a 100644
|
||||
--- a/hpav_cfg.c
|
||||
+++ b/hpav_cfg.c
|
||||
@@ -53,8 +53,6 @@
|
||||
#include <arpa/inet.h>
|
||||
#include <net/if.h>
|
||||
|
||||
-#include <linux/if_ether.h>
|
||||
-
|
||||
#include "homeplug_av.h"
|
||||
#include "crypto.h"
|
||||
|
||||
--
|
||||
2.7.0.rc3
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
From d16abf61049947c451a6411a13fc15dda32feb47 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Fainelli <f.fainelli@gmail.com>
|
||||
Date: Sat, 6 Sep 2014 11:23:02 -0700
|
||||
Subject: [PATCH] Makefile.in: fix asbolute symlink of libfaifa.so
|
||||
|
||||
Fixes #7
|
||||
|
||||
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
||||
[Upstream: da2e279fd736d05bcd0ee6e4609c44fece017ba8]
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
Makefile.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index ba65bee..9dec7ee 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -98,9 +98,9 @@ install: installman strip
|
||||
$(INSTALL) -m0755 hpav_cfg $(DESTDIR)$(sbindir)
|
||||
$(INSTALL) -d $(DESTDIR)$(libdir)
|
||||
$(INSTALL) -m0644 $(LIB_SONAME) $(DESTDIR)$(libdir)
|
||||
- ln -sf $(DESTDIR)$(libdir)/$(LIB_SONAME) $(DESTDIR)$(libdir)/$(LIB_SHARED_SO)
|
||||
$(INSTALL) -d $(DESTDIR)$(includedir)/faifa
|
||||
cp $(HEADERS) $(DESTDIR)$(includedir)/faifa
|
||||
+ cd $(DESTDIR)$(libdir) && ln -sf $(LIB_SONAME) $(LIB_SHARED_SO)
|
||||
|
||||
strip:
|
||||
$(STRIP) $(APP)
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_FAIFA
|
||||
bool "faifa"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
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 6eada81f3d21f80b5848338b627784981064d728f8e377e5cf973d31640d4489 faifa-0.1.tar.gz
|
||||
sha256 9b62e4601b2b9cd5719a393e88ed71a8304048862502db765ed9d6ff8cf38c5e COPYING
|
||||
@@ -0,0 +1,41 @@
|
||||
################################################################################
|
||||
#
|
||||
# faifa
|
||||
#
|
||||
################################################################################
|
||||
|
||||
FAIFA_VERSION = 0.1
|
||||
FAIFA_SITE = $(call github,ffainelli,faifa,v$(FAIFA_VERSION))
|
||||
FAIFA_INSTALL_STAGING = YES
|
||||
FAIFA_DEPENDENCIES = 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