/*FIXME mybuild wrong packet name */
package embox.driver.video

module fb_header {
	@IncludeExport(path="drivers/video")
	source "fb.h"
}

static module fb_section {
	option number size = 0

	source "fb.lds.S"
}

module fb {
	source "fb.c"

	option number fb_amount=2
	option string log_level="LOG_NONE"

	depends fb_header
	depends embox.mem.pool
	@NoRuntime depends embox.compat.libc.all
	depends fb_videomodes
	depends fonts
	depends embox.driver.video.fb_devfs
}

module fb_overlay {
	@IncludeExport(path="drivers/video")
	source "fb_overlay.h"

	source "fb_overlay.c"

	depends fb
	depends fonts
}

module fb_videomodes {
	source "fb_videomodes.c"

	@IncludeExport(path="drivers/video")
	source "fb_videomodes.h"

	depends vesa_modes
}

module vesa_modes {
	source "vesa_modes.c"
	source "vesa_videomodes_table.c"

	@IncludeExport(path="drivers/video")
	source "vesa_modes.h"
}

module fonts {
	source "fonts.c"

	@IncludeExport(path="drivers/video")
	source "font.h"
}
