Files
OpenCellular/Makefile
Nico Huber 1d0abe468b Add linux user-space app gfx_test
This simple program scans all ports and configures pipes for the first
three available displays. It presumes that there is enough framebuffer
mapped for all pipes and fills it with test images.

The only command line parameter ist the path to a PCI-device node in
sysfs. On exit, the hardware is left in the configured state. So the
user has to make sure, that he either can work without the gfx hard-
ware or has another driver to restore a working state.

Change-Id: I2144300589e113e711db7959aa68fa96c3844568
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/18786
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2017-06-06 17:52:22 +02:00

17 lines
247 B
Makefile

name := gfxinit
ifeq ($(MAKECMDGOALS),gfx_test)
prefixed-name := gfx_test
link-type := program
GFXINIT_TEST := y
endif
gfxinit-deplibs := libhw
libhw-dir ?= ../libhwbase/dest
include $(libhw-dir)/Makefile
gfx_test: $(binary)
.PHONY: gfx_test