X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=recipes-kernel%2Fmost%2Fmost.bb;h=48959a6ee87f32267261e822f1233c9cc04fe715;hb=cf0a26324ed91ec292b2294ecc73ac6f5436eebe;hp=cbf969b84d16540d7327be373224661b84a7066f;hpb=3386278db196969e6b4c77b7d06e6d7dd1ed044c;p=AGL%2Fmeta-agl-demo.git diff --git a/recipes-kernel/most/most.bb b/recipes-kernel/most/most.bb index cbf969b84..48959a6ee 100644 --- a/recipes-kernel/most/most.bb +++ b/recipes-kernel/most/most.bb @@ -6,25 +6,9 @@ inherit module PV = "0.1" -SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/most;protocol=https;branch=master" +SRC_URI = "git://gerrit.automotivelinux.org/gerrit/src/most;protocol=https;branch=${AGL_BRANCH}" S = "${WORKDIR}/git/driver" -SRCREV = "794e6dc552e626eb6dd506baf941873414d9ef73" +SRCREV = "e4dbbaf9e7652efaed0df3e0aab4464f5f228573" -# The inherit of module.bbclass will automatically name module packages with -# "kernel-module-" prefix as required by the oe-core build environment. - -do_install_append () { - # modprobe automatically at boot - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${sysconfdir}/modules-load.d - echo "aim_cdev" > ${D}${sysconfdir}/modules-load.d/aim_cdev.conf - echo "aim_sound" > ${D}${sysconfdir}/modules-load.d/aim_sound.conf - echo "aim_network" > ${D}${sysconfdir}/modules-load.d/aim_network.conf - echo "aim_v4l2" > ${D}${sysconfdir}/modules-load.d/aim_v4l2.conf - echo "hdm_i2c" > ${D}${sysconfdir}/modules-load.d/hdm_i2c.conf - echo "hdm_dim2" > ${D}${sysconfdir}/modules-load.d/hdm_dim2.conf - echo "hdm_usb" > ${D}${sysconfdir}/modules-load.d/hdm_usb.conf - echo "mostcore" > ${D}${sysconfdir}/modules-load.d/mostcore.conf - fi -} +KERNEL_MODULE_AUTOLOAD += "aim_cdev aim_sound aim_network aim_v4l2 hdm_i2c hdm_dim2 hdm_usb mostcore"