2013-07-20 01:37:51 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# a10disp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2015-06-19 21:13:22 +02:00
|
|
|
A10DISP_VERSION = v0.6.1
|
2013-12-05 18:20:46 +01:00
|
|
|
A10DISP_SITE = $(call github,hglm,a10disp,$(A10DISP_VERSION))
|
2013-07-20 01:37:51 +02:00
|
|
|
A10DISP_LICENSE = MIT
|
|
|
|
|
|
|
|
A10DISP_DEPENDENCIES = linux
|
|
|
|
|
|
|
|
define A10DISP_BUILD_CMDS
|
|
|
|
cp -f $(LINUX_DIR)/include/video/sunxi_disp_ioctl.h $(@D)/
|
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) $(@D)/a10disp.c -o $(@D)/a10disp
|
|
|
|
endef
|
|
|
|
|
|
|
|
define A10DISP_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/a10disp $(TARGET_DIR)/usr/bin/a10disp
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|