Initial Commit
- initial default booting image
This commit is contained in:
7
package/libdill/Config.in
Normal file
7
package/libdill/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBDILL
|
||||
bool "libdill"
|
||||
help
|
||||
Libdill is a C library that makes writing structured
|
||||
concurrent programs easy.
|
||||
|
||||
https://sustrik.github.io/libdill/
|
||||
3
package/libdill/libdill.hash
Normal file
3
package/libdill/libdill.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# sha256 locally computed
|
||||
sha256 a883a38d4073f43612b3221f908428ce9f663f940e5dd89c8dfad14058890380 libdill-32d0e8b733416208e0412a56490332772bc5c6e1.tar.gz
|
||||
sha256 3f78d9c42c8919cb6dc63e51de17b9eb40a49d9cdd876ce59e77392721e8c2c6 COPYING
|
||||
36
package/libdill/libdill.mk
Normal file
36
package/libdill/libdill.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# libdill
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBDILL_VERSION = 32d0e8b733416208e0412a56490332772bc5c6e1
|
||||
LIBDILL_SITE = $(call github,sustrik,libdill,$(LIBDILL_VERSION))
|
||||
LIBDILL_LICENSE = MIT
|
||||
LIBDILL_LICENSE_FILES = COPYING
|
||||
LIBDILL_INSTALL_STAGING = YES
|
||||
# Fetched from Github, with no configure script
|
||||
LIBDILL_DEPENDENCIES = host-pkgconf
|
||||
LIBDILL_AUTORECONF = YES
|
||||
|
||||
# gcc-15 defaults to -std=gnu23 which introduces build failures.
|
||||
# We force "-std=gnu17" for gcc version supporting it. Earlier gcc
|
||||
# versions will work, since they are using the older standard.
|
||||
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_8),y)
|
||||
LIBDILL_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -std=gnu17"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
LIBDILL_CONF_OPTS += --enable-threads
|
||||
else
|
||||
LIBDILL_CONF_OPTS += --disable-threads
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBDILL_DEPENDENCIES += openssl
|
||||
LIBDILL_CONF_OPTS += --enable-tls
|
||||
else
|
||||
LIBDILL_CONF_OPTS += --disable-tls
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user