Skip to content

Commit

Permalink
bsd-headers: Fix LICENCE and dev package RDEPENDS
Browse files Browse the repository at this point in the history
Clear out runtime deps for dev package, since PN is empty packager will
try to resolve to PN when building images with musl and error out since
PN is deleted as its empty

musl-dev explicitly depends upon it so it will get pulled into build
in right order

Signed-off-by: Khem Raj <raj.khem@gmail.com>
  • Loading branch information
kraj committed Jan 22, 2016
1 parent 567035f commit 86cd065
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion meta/recipes-core/bsd-headers/bsd-headers.bb
Expand Up @@ -2,7 +2,8 @@
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "bsd compatible headers"
LICENSE = "BSD-3-Clause && BSD-2-Clause"
LICENSE = "BSD-3-Clause & BSD-2-Clause"
LIC_FILES_CHKSUM = "file://sys-queue.h;beginline=1;endline=32;md5=c6352b0f03bb448600456547d334b56f"
SECTION = "devel"

SRC_URI = "file://sys-queue.h \
Expand All @@ -24,4 +25,7 @@ do_install() {
#
# We will skip parsing for non-musl systems
#

COMPATIBLE_HOST = ".*-musl.*"
RDEPENDS_${PN}-dev = ""
RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})"

0 comments on commit 86cd065

Please sign in to comment.