initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_LIBSOC
|
||||
bool "libsoc"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
libsoc is a C library for interfacing with common SoC
|
||||
peripherals through generic kernel interfaces
|
||||
|
||||
https://github.com/jackmitch/libsoc
|
||||
|
||||
comment "libsoc needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 8df626bde365b94a805e1c323104c63a7429ec64c9df815cd1d9b9c4b317e066 libsoc-0.8.2.tar.gz
|
||||
sha256 782dafc98788c358fb20e530c8fde3186cdb60f5e18fe6d348fe84ee9f65ddb0 LICENCE
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# libsoc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBSOC_VERSION = 0.8.2
|
||||
LIBSOC_SITE = $(call github,jackmitch,libsoc,$(LIBSOC_VERSION))
|
||||
LIBSOC_LICENSE = LGPL-2.1
|
||||
LIBSOC_LICENSE_FILES = LICENCE
|
||||
LIBSOC_AUTORECONF = YES
|
||||
LIBSOC_INSTALL_STAGING = YES
|
||||
LIBSOC_DEPENDENCIES = host-pkgconf
|
||||
|
||||
# Install Python 2 bindings
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
LIBSOC_DEPENDENCIES += python
|
||||
LIBSOC_CONF_OPTS += --enable-python=2
|
||||
# Install Python 3 bindings
|
||||
else ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBSOC_DEPENDENCIES += python3
|
||||
LIBSOC_CONF_OPTS += --enable-python=3
|
||||
else
|
||||
LIBSOC_CONF_OPTS += --disable-python
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user