summaryrefslogtreecommitdiffstats
path: root/package/netbsd-queue
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-08-18 23:50:13 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-08-19 11:29:12 +0200
commite31eb720408bb0826ec5a27e804dbe6afaf30390 (patch)
tree87506d5dc33987534053c715fce90c0a7f73169c /package/netbsd-queue
parentf55adea434876cf1ee2604abe367ed1b6c555faf (diff)
downloadbuildroot-e31eb720408bb0826ec5a27e804dbe6afaf30390.tar.gz
buildroot-e31eb720408bb0826ec5a27e804dbe6afaf30390.zip
package/musl-compat-headers: provide compatibility headers not in musl
musl provides neither sys/queue.h nor sys/cdefs.h. Those two headers are however quite widely used in a lot of packages (though they should at least not use cdefs.h which is only full of mostly-legacy macros, and which is mostly an internal header of glibc and was never really meant to be exposed to, and used by packages). But we don't live in an ideal world, so a lot of packages break when those two headers are missing. We already took care of sys/queue.h with the netbsd-queue package. But the need for cdefs.h is getting more and more pressing. We rename the netbsd-queue package into musl-compat-headers, and we make it install sys/queue.h (from NetBSD) and sys/cdefs.h (a minimalist one we bundle in Buildroot). We can't use the cdefs.h from NetBSD because it includes machine-dependent headers; instead we bundle a very minimalistic one, that covers only what we need. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Baruch Siach <baruch@tkos.co.il> Cc: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/netbsd-queue')
-rw-r--r--package/netbsd-queue/Config.in2
-rw-r--r--package/netbsd-queue/netbsd-queue.hash2
-rw-r--r--package/netbsd-queue/netbsd-queue.mk24
3 files changed, 0 insertions, 28 deletions
diff --git a/package/netbsd-queue/Config.in b/package/netbsd-queue/Config.in
deleted file mode 100644
index 7837f4cd7f..0000000000
--- a/package/netbsd-queue/Config.in
+++ /dev/null
@@ -1,2 +0,0 @@
-config BR2_PACKAGE_NETBSD_QUEUE
- bool
diff --git a/package/netbsd-queue/netbsd-queue.hash b/package/netbsd-queue/netbsd-queue.hash
deleted file mode 100644
index f8e2a6c598..0000000000
--- a/package/netbsd-queue/netbsd-queue.hash
+++ /dev/null
@@ -1,2 +0,0 @@
-# Locally calculated
-sha256 c13407edd0e33be73cae72514cb234f8612e1c0e54401c9448daffd3a240158b queue.h?rev=1.70
diff --git a/package/netbsd-queue/netbsd-queue.mk b/package/netbsd-queue/netbsd-queue.mk
deleted file mode 100644
index 5fd926bba1..0000000000
--- a/package/netbsd-queue/netbsd-queue.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-################################################################################
-#
-# netbsd-queue
-#
-################################################################################
-
-NETBSD_QUEUE_VERSION = 1.70
-NETBSD_QUEUE_SITE = http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/sys
-NETBSD_QUEUE_SOURCE = queue.h?rev=$(NETBSD_QUEUE_VERSION)
-NETBSD_QUEUE_LICENSE = BSD-3c
-
-NETBSD_QUEUE_ADD_TOOLCHAIN_DEPENDENCY = NO
-NETBSD_QUEUE_INSTALL_STAGING = YES
-
-define NETBSD_QUEUE_EXTRACT_CMDS
- cp $(DL_DIR)/$(NETBSD_QUEUE_SOURCE) $(@D)/queue.h
-endef
-
-define NETBSD_QUEUE_INSTALL_STAGING_CMDS
- $(INSTALL) -D -m 0644 $(@D)/queue.h \
- $(STAGING_DIR)/usr/include/sys/queue.h
-endef
-
-$(eval $(generic-package))
OpenPOWER on IntegriCloud