FILESEXTRAPATHS:prepend := "${THISDIR}/libsoc:" PACKAGE_ARCH:tdx = "${MACHINE_ARCH}" SRCREV:tdx = "9a97d260379856940a5de9862ef06803de82cca8" SRC_URI:append:tdx = " \ file://0001-libsoc-use-sane-board-naming.patch \ " BOARD:apalis-imx6 = "apalis-imx6" BOARD:apalis-tk1 = "apalis-tk1" BOARD:colibri-imx6 = "colibri-imx6" BOARD:colibri-imx6ull = "colibri-imx6ull" BOARD:colibri-imx6ull-emmc = "colibri-imx6ull" BOARD:colibri-imx7 = "colibri-imx7" BOARD:colibri-imx7-emmc = "colibri-imx7-emmc" PACKAGECONFIG:apalis-imx6 = "allboardconfigs enableboardconfig python" PACKAGECONFIG:apalis-tk1 = "allboardconfigs enableboardconfig python" PACKAGECONFIG:colibri-imx6 = "allboardconfigs enableboardconfig python" PACKAGECONFIG:colibri-imx6ull = "allboardconfigs enableboardconfig python" PACKAGECONFIG:colibri-imx6ull-emmc = "allboardconfigs enableboardconfig python" PACKAGECONFIG:colibri-imx7 = "allboardconfigs enableboardconfig python" PACKAGECONFIG:colibri-imx7-emmc = "allboardconfigs enableboardconfig python" pkg_postinst_ontarget:${PN}:colibri-imx6ull () { if fgrep -q toradex,colibri_imx6ull-wifi /proc/device-tree/compatible; then mv -f ${datadir}/libsoc/colibri-imx6ull.conf ${datadir}/libsoc/colibri-imx6ull.conf.bak # SODIMM pins missing on Wi-Fi SKU cat ${datadir}/libsoc/colibri-imx6ull.conf.bak | grep -E -v "(SODIMM_79|SODIMM_81|SODIMM_89|SODIMM_93|SODIMM_94|SODIMM_97|SODIMM_101|SODIMM_103|SODIMM_127|SODIMM_138)" > ${datadir}/libsoc/colibri-imx6ull.conf rm -f ${datadir}/libsoc/colibri-imx6ull.conf.bak fi }