forked from MiyooCFW/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PACKAGE: Add DirectFB2 & SDL2 (MiyooCFW#134)
* Add SDL2 + DirectFB2 --------- Co-authored-by: Apaczer <[email protected]>
- Loading branch information
Showing
14 changed files
with
138 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
no-cursor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
config BR2_PACKAGE_DIRECTFB2 | ||
bool "directfb2" | ||
depends on !BR2_PACKAGE_DIRECTFB | ||
select BR2_PACKAGE_FLUX | ||
help | ||
DirectFB2 is a fork of DirectFB. | ||
|
||
config BR2_PACKAGE_DIRECTFB2_MULTI | ||
bool "enable multiple application support" | ||
depends on BR2_PACKAGE_DIRECTFB2 | ||
|
||
config BR2_PACKAGE_DIRECTFB2_MULTI_KERNEL | ||
bool "Enable Linux fusion device support for multi application" | ||
select BR2_PACKAGE_DIRECTFB2_MULTI | ||
|
||
config BR2_PACKAGE_DIRECTFB2_DRMKMS | ||
bool "DRM/KMS backend" | ||
depends on BR2_PACKAGE_DIRECTFB2 | ||
select BR2_PACKAGE_LIBDRM | ||
|
||
config BR2_PACKAGE_DIRECTFB2_FBDEV | ||
bool "fbdev backend" | ||
depends on BR2_PACKAGE_DIRECTFB2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Locally calculated | ||
sha256 1cb65fa5207543970787a06dd71a250ac87f50bc8576c9bb166a09883e69da5c directfb2-4d6b7ddd8477b4b52aa78ec82a3add28ade0c965.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
################################################################################ | ||
# | ||
# directfb2 | ||
# | ||
################################################################################ | ||
|
||
DIRECTFB2_VERSION = 4d6b7ddd8477b4b52aa78ec82a3add28ade0c965 | ||
DIRECTFB2_SITE = $(call github,directfb2,DirectFB2,$(DIRECTFB2_VERSION)) | ||
DIRECTFB2_DEPENDENCIES = host-flux | ||
DIRECTFB2_LICENSE = LGPL-2.1 | ||
DIRECTFB2_INSTALL_STAGING = YES | ||
|
||
DIRECTFB2_CFLAGS = $(TARGET_CFLAGS) -O3 | ||
DIRECTFB2_CXXFLAGS = $(TARGET_CFLAGS) -O3 | ||
DIRECTFB2_CONF_OPTS += -Dneon=false | ||
|
||
ifeq ($(BR2_GCC_ENABLE_LTO),y) | ||
DIRECTFB2_CFLAGS += -flto | ||
DIRECTFB2_CXXFLAGS += -flto | ||
endif | ||
|
||
ifeq ($(BR2_PACKAGE_DIRECTFB2_MULTI),y) | ||
DIRECTFB2_CONF_OPTS += -Dmulti=true | ||
endif | ||
|
||
ifeq ($(BR2_PACKAGE_DIRECTFB2_MULTI_KERNEL),y) | ||
DIRECTFB2_CONF_OPTS += -Dmulti-kernel=true | ||
endif | ||
|
||
ifeq ($(BR2_PACKAGE_DIRECTFB2_DRMKMS),y) | ||
DIRECTFB2_CONF_OPTS += -Ddrmkms=true | ||
DIRECTFB2_DEPENDENCIES += libdrm | ||
else | ||
DIRECTFB2_CONF_OPTS += -Ddrmkms=false | ||
endif | ||
|
||
ifeq ($(BR2_PACKAGE_DIRECTFB2_FBDEV),y) | ||
DIRECTFB2_CONF_OPTS += -Dfbdev=true | ||
else | ||
DIRECTFB2_CONF_OPTS += -Dfbdev=false | ||
endif | ||
|
||
$(eval $(meson-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
config BR2_PACKAGE_FLUX | ||
bool "flux" | ||
help | ||
flux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Locally calculated | ||
sha256 b770c27124d43c73d1767455879d3595ae4ac19eb78d79c3372812fe1506c5b3 flux-e45758aa9384b9740ff021ea952399fd113eb0e9-br1.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
################################################################################ | ||
# | ||
# flux | ||
# | ||
################################################################################ | ||
|
||
FLUX_VERSION = e45758aa9384b9740ff021ea952399fd113eb0e9 | ||
FLUX_SITE = https://github.com/deniskropp/flux.git | ||
FLUX_SITE_METHOD = git | ||
FLUX_LICENSE = GPL-3 | ||
FLUX_AUTORECONF = YES | ||
HOST_FLUX_DEPENDENCIES = host-pkgconf | ||
|
||
$(eval $(host-autotools-package)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters