linux-netmodule: Remove latest dependencies to MACHINE variable
These dependencies lead to a partial rebuild of the kernel when switching machine, even where they are actually using the exact same kernel sources and config. BugzID: 80015
This commit is contained in:
parent
ee9b13081b
commit
43dd045696
|
|
@ -13,10 +13,20 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base = ""
|
||||||
# We are building one kernel for all machines with the same architecture
|
# We are building one kernel for all machines with the same architecture
|
||||||
PACKAGE_ARCH = "${TUNE_PKGARCH}"
|
PACKAGE_ARCH = "${TUNE_PKGARCH}"
|
||||||
|
|
||||||
|
# This variable is using MACHINE by default. Since we don't use it,
|
||||||
|
# overwrite with dummy value not using MACHINE variable
|
||||||
|
INITRAMFS_IMAGE_NAME = "-"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
INSANE_SKIP_${PN} += "version-going-backwards"
|
INSANE_SKIP_${PN} += "version-going-backwards"
|
||||||
|
|
||||||
|
copy_initramfs () {
|
||||||
|
# We do not use this feature and it is depending on MACHINE variable
|
||||||
|
# So to avoid this dependency we overwrite it with an empty function
|
||||||
|
true
|
||||||
|
}
|
||||||
|
|
||||||
#If a KERNEL_DEFCONFIG is specified, the defconfig specified in SRC_URI will be overwritten!
|
#If a KERNEL_DEFCONFIG is specified, the defconfig specified in SRC_URI will be overwritten!
|
||||||
do_configure_append(){
|
do_configure_append(){
|
||||||
if [ "${KERNEL_DEFCONFIG}" != "" ]; then
|
if [ "${KERNEL_DEFCONFIG}" != "" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue