mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
bcm2835: Remove dependency of bcm2835-dev on bcm2835
By default, the ${PN}-dev package of a recipe depends on the ${PN} package. However, since the bcm2835 package contains no file, it is not generated. As a result, when trying to include bcm2835-dev in an image (or another package that depends on bcm2835-dev, such as bcm2835-staticdev), we receive an error message saying that the bcm2835 package is not found. A solution would be to define ALLOW_EMPTY for bcm2835, so that an empty package is generated. However, that would causes a useless package to be installed on the target. This patch uses another solution, which is to empty the RDEPENDS variable of bcm2835-dev, so that it doesn't pull in bcm2835. Fixes #22 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca> Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
This commit is contained in:
parent
371f85ce53
commit
a71483f9d9
|
@ -35,6 +35,8 @@ do_install_append() {
|
|||
|
||||
PACKAGES += "${PN}-tests"
|
||||
|
||||
RDEPENDS_${PN}-dev = ""
|
||||
|
||||
FILES_${PN} = ""
|
||||
FILES_${PN}-tests = "${libdir}/${BPN}"
|
||||
FILES_${PN}-dbg += "${libdir}/${BPN}/.debug"
|
||||
|
|
Loading…
Reference in New Issue
Block a user