kmod: fix zlib dependency
* unlike BBCLASSEXTENDed native support, dependencies in kmod-native doesn't get automatic -native suffix, so kmod-native was depending on target zlib. * move the dependency from .inc and apply it with right suffix (From OE-Core rev: ef0a1812cd79a68f30da5b2770cd5c566d6ecf0b) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
6710c395f4
commit
7774bdf778
|
@ -2,6 +2,9 @@
|
||||||
# Released under the MIT license (see COPYING.MIT for the terms)
|
# Released under the MIT license (see COPYING.MIT for the terms)
|
||||||
|
|
||||||
require kmod.inc
|
require kmod.inc
|
||||||
|
|
||||||
|
DEPENDS += "zlib-native"
|
||||||
|
|
||||||
inherit native
|
inherit native
|
||||||
|
|
||||||
SRC_URI += "file://0001-Fix-build-with-older-gcc-4.6.patch \
|
SRC_URI += "file://0001-Fix-build-with-older-gcc-4.6.patch \
|
||||||
|
|
|
@ -9,7 +9,7 @@ LICENSE = "GPL-2.0+ & LGPL-2.1+"
|
||||||
LICENSE_libkmod = "LGPL-2.1+"
|
LICENSE_libkmod = "LGPL-2.1+"
|
||||||
SECTION = "base"
|
SECTION = "base"
|
||||||
|
|
||||||
DEPENDS += "pkgconfig-native zlib"
|
DEPENDS += "pkgconfig-native"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
|
||||||
file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
file://libkmod/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
require kmod.inc
|
require kmod.inc
|
||||||
|
|
||||||
|
DEPENDS += "zlib"
|
||||||
PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
||||||
RPROVIDES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
RPROVIDES_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
||||||
RCONFLICTS_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
RCONFLICTS_${PN} += "module-init-tools-insmod-static module-init-tools-depmod module-init-tools"
|
||||||
|
|
Loading…
Reference in New Issue