{
        "sources" : [
                { "url": "git://git.yoctoproject.org/poky", "branch": "dunfell", "rev": "yocto-3.1.13" },
                { "url": "git://git.openembedded.org/meta-openembedded", "branch": "dunfell", "rev": "ab9fca48" },
                { "url": "git://git.yoctoproject.org/meta-raspberrypi", "branch": "dunfell", "rev": "934064a0" }
        ],

        "layers" : [
                "poky/meta",
                "poky/meta-poky",
                "poky/meta-yocto-bsp"
        ],

	"local.conf": [
		"IMAGE_FEATURES += 'empty-root-password' "
	],

        "builds" : {

                "qemuarm": {

                        "target" : "core-image-base",

                        "local.conf": [
                                "MACHINE = 'qemuarm' "
                        ]
                },

                "qemux86": {

                        "target" : "core-image-base",

		        "layers" : [
		                "meta-openembedded/meta-oe"
			],

                        "local.conf": [
                                "MACHINE = 'qemux86' ",
				"IMAGE_INSTALL:append = 'nano' "
                        ]
                },

		".raspberrypi" : {
			"target": "core-image-base",
			"layers" : [
				"meta-raspberrypi"
			],
			"local.conf" : [
				"ENABLE_UART = '1'         ",
				"ENABLE_SPI_BUS =  '1'     ",
				"ENABLE_I2C =  '1'         ",
				"HDMI_FORCE_HOTPLUG = '1'  ",
				"CONFIG_HDMI_BOOST = '1'   "
			]
		},

		"rpi3" : {
			"inherit": [ ".raspberrypi" ],
			"local.conf": [
				"MACHINE = 'raspberrypi3'  "
			]
		},

		"rpi4" : {
			"inherit": [ ".raspberrypi" ],
			"local.conf": [
				"MACHINE = 'raspberrypi4'  "
			]
		}
        }
}
