# We have a conf and classes directory, add to BBPATH BBPATH .= ":${LAYERDIR}" # We have recipes-* directories, add to BBFILES BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ ${LAYERDIR}/recipes-*/*/*.bbappend" BBFILE_COLLECTIONS += "meta-opi-diya" BBFILE_PATTERN_meta-opi-diya = "^${LAYERDIR}/" BBFILE_PRIORITY_meta-opi-diya = "11" LAYERDEPENDS_meta-opi-diya = " core " LAYERSERIES_COMPAT_meta-opi-diya = "kirkstone" PACKAGE_CLASSES = "package_ipk" INITRAMFS_IMAGE="core-image-recovery" INITRAMFS_IMAGE_BUNDLE="0" INITRAMFS_MAXSIZE="200000" INHERIT += "rm_work" EXTRA_IMAGE_FEATURES ?= " ssh-server-dropbear read-only-rootfs " # ssh-server-dropbear DISTRO_FEATURES:append := " opengl wayland " DISTRO_FEATURES:remove = " x11 vulkan " TOOLCHAIN_TARGET_TASK:append = " libgles3-mesa-dev " # DISTRO_FEATURES:append := " vc4-gfx opengl directfb " MACHINE ?= "orange-pi-zero2w" WKS_FILE="opi.wks.in" ROOT_HOME = "/root" PREFERRED_PROVIDER_virtual/kernel = "linux-xunlong" PREFERRED_VERSION_linux-xunlong = "6.1.31" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-xunlong" PREFERRED_PROVIDER_u-boot = "u-boot-xunlong" # # extra kernel CMDLINE_RNDIS option # CMDLINE_RNDIS += " video=DPI-1:480x640,rotate=90 " # accept license for wifi and bluetooth firmware LICENSE_FLAGS_ACCEPTED = "synaptics-killswitch"