mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
26
package/libbsd/Config.in
Normal file
26
package/libbsd/Config.in
Normal file
@@ -0,0 +1,26 @@
|
||||
config BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
bool
|
||||
default y
|
||||
# libbsd does not support those architectures (see src/local-elf.h)
|
||||
depends on !BR2_microblaze
|
||||
depends on !BR2_arc
|
||||
depends on !BR2_xtensa
|
||||
depends on !BR2_nds32
|
||||
|
||||
config BR2_PACKAGE_LIBBSD
|
||||
bool "libbsd"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_WCHAR
|
||||
help
|
||||
This library provides useful functions commonly found on BSD
|
||||
systems, and lacking on others like GNU systems, thus making
|
||||
it easier to port projects with strong BSD origins, without
|
||||
needing to embed the same code over and over again on each
|
||||
project.
|
||||
|
||||
http://libbsd.freedesktop.org/
|
||||
|
||||
comment "libbsd needs a toolchain w/ threads, wchar"
|
||||
depends on BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
||||
3
package/libbsd/libbsd.hash
Normal file
3
package/libbsd/libbsd.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# From https://lists.freedesktop.org/archives/libbsd/2019-August/000229.html
|
||||
sha256 34b8adc726883d0e85b3118fa13605e179a62b31ba51f676136ecb2d0bc1a887 libbsd-0.10.0.tar.xz
|
||||
sha256 933d14a6bc89ee1fd7adbf5b6ec97f6ff0e002549d0b0c164f8a8895371d78f8 COPYING
|
||||
15
package/libbsd/libbsd.mk
Normal file
15
package/libbsd/libbsd.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# libbsd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBBSD_VERSION = 0.10.0
|
||||
LIBBSD_SOURCE = libbsd-$(LIBBSD_VERSION).tar.xz
|
||||
LIBBSD_SITE = https://libbsd.freedesktop.org/releases
|
||||
LIBBSD_LICENSE = BSD-2-Clause, BSD-3-Clause, BSD-4-Clause, BSD-5-Clause, \
|
||||
MIT, ISC, Beerware
|
||||
LIBBSD_LICENSE_FILES = COPYING
|
||||
LIBBSD_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user