Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From f9d0099ac7d9041447cce4d3edd9577b4b52c09c Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 29 Aug 2022 22:37:14 -0700
|
||||
Subject: [PATCH] clif: Include string.h for mem* function prototypes
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
Upstream: https://github.com/intel/openlldp/commit/f9d0099ac7d9041447cce4d3edd9577b4b52c09c
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
clif.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/clif.c b/clif.c
|
||||
index cad6f75..0758a7e 100644
|
||||
--- a/clif.c
|
||||
+++ b/clif.c
|
||||
@@ -32,6 +32,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
+#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
16
package/open-lldp/Config.in
Normal file
16
package/open-lldp/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_OPEN_LLDP
|
||||
bool "open-lldp"
|
||||
depends on !BR2_STATIC_LIBS # dlfcn.h
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl
|
||||
select BR2_PACKAGE_LIBCONFIG
|
||||
select BR2_PACKAGE_LIBNL
|
||||
select BR2_PACKAGE_READLINE
|
||||
help
|
||||
This package contains the Linux user space daemon and
|
||||
configuration tool for Intel LLDP Agent with Enhanced Ethernet
|
||||
support for the Data Center.
|
||||
|
||||
https://github.com/intel/openlldp/
|
||||
|
||||
comment "open-lldp needs a toolchain w/ dynamic library, threads"
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/open-lldp/open-lldp.hash
Normal file
3
package/open-lldp/open-lldp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 2faa9db57f8426db9f394bd2bab87237a350ae43437b16faf6569250cda25a69 open-lldp-1.1.1.tar.gz
|
||||
sha256 67af5abeb092213cd9c53781503320f635ba28b641e0c3f24d367e8e93a9839b COPYING
|
||||
21
package/open-lldp/open-lldp.mk
Normal file
21
package/open-lldp/open-lldp.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# open-lldp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPEN_LLDP_VERSION = 1.1.1
|
||||
OPEN_LLDP_SITE = $(call github,intel,openlldp,v$(OPEN_LLDP_VERSION))
|
||||
OPEN_LLDP_DEPENDENCIES = readline libnl libconfig host-pkgconf
|
||||
OPEN_LLDP_LICENSE = GPL-2.0
|
||||
OPEN_LLDP_LICENSE_FILES = COPYING
|
||||
|
||||
# Fetching from git
|
||||
OPEN_LLDP_AUTORECONF = YES
|
||||
|
||||
ifeq ($(BR2_INIT_SYSTEMD),y)
|
||||
OPEN_LLDP_DEPENDENCIES += systemd
|
||||
OPEN_LLDP_CONF_OPTS += --with-systemdsystemunitdir=/usr/lib/systemd/system
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user