mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
13
package/a10disp/Config.in
Normal file
13
package/a10disp/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_A10DISP
|
||||
bool "a10disp"
|
||||
depends on BR2_arm
|
||||
depends on BR2_LINUX_KERNEL
|
||||
help
|
||||
Program to change the display mode of Allwinner ARM SOCs
|
||||
running the linux-sunxi kernel (and not the mainline kernel.)
|
||||
|
||||
http://github.com/hglm/a10disp
|
||||
|
||||
comment "a10disp needs a Linux kernel to be built"
|
||||
depends on BR2_arm
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
2
package/a10disp/a10disp.hash
Normal file
2
package/a10disp/a10disp.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 5077405030e8f97a1edd4b86d469466abbc4d32b4a4609e58459347fcd1ba35b a10disp-0.6.1.tar.gz
|
||||
22
package/a10disp/a10disp.mk
Normal file
22
package/a10disp/a10disp.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# a10disp
|
||||
#
|
||||
################################################################################
|
||||
|
||||
A10DISP_VERSION = 0.6.1
|
||||
A10DISP_SITE = $(call github,hglm,a10disp,v$(A10DISP_VERSION))
|
||||
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))
|
||||
Reference in New Issue
Block a user