buildroot/package/netbsd-queue/netbsd-queue.mk
Yann E. MORIN a371a4fa3f package/netbsd-queue: fix circular dependency
netbsd-queue is a dependency of musl, so is part of the toolchain.
As such, it should not depend on the toolchain...

Fixes make circular dependencies such as:

    make[1]: Circular toolchain-all-source <- toolchain-external-all-source
    dependency dropped.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sergio Prado <sergio.prado@e-labworks.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-18 22:03:35 +01:00

25 lines
692 B
Makefile

################################################################################
#
# 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))