code
string | repo_name
string | path
string | language
string | license
string | size
int64 |
---|---|---|---|---|---|
comment "fmc needs a toolchain w/ C++"
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on !BR2_INSTALL_LIBSTDCPP
comment "fmc needs a Linux kernel to be built"
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_FMC
bool "fmc"
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_LINUX_KERNEL # fmlib
select BR2_PACKAGE_TCLAP
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_FMLIB
help
The Frame Manager Configuration tool is Freescale PowerPC platform
software package whose primary purpose is converting
Parse-Classify-Police-Distribute (PCD) descriptions of network
packets flow into hardware configuration. The tool provides an
abstraction layer between the end customer's vision of the PCD task
definition and real hardware implementation.
http://cache.freescale.com/files/32bit/doc/app_note/AN4760.pdf
|
shibajee/buildroot
|
package/fmc/Config.in
|
in
|
mit
| 945 |
# Locally Computed
sha256sum a91e0c9b7c7f238634c64a755c05671f33f2acdb6ae2d09cad4d683b364ee8e4 fmc-fsl-sdk-v2.0.tar.gz
|
shibajee/buildroot
|
package/fmc/fmc.hash
|
hash
|
mit
| 118 |
################################################################################
#
# fmc
#
################################################################################
FMC_VERSION = fsl-sdk-v2.0
FMC_SITE = git://git.freescale.com/ppc/sdk/fmc.git
FMC_LICENSE = MIT
FMC_LICENSE_FILES = COPYING
FMC_DEPENDENCIES = libxml2 tclap fmlib
FMC_MAKE_OPTS = \
CC="$(TARGET_CC)" \
CXX="$(TARGET_CXX)" \
FMD_USPACE_HEADER_PATH="$(STAGING_DIR)/usr/include/fmd" \
FMD_USPACE_LIB_PATH="$(STAGING_DIR)/usr/lib" \
LIBXML2_HEADER_PATH="$(STAGING_DIR)/usr/include/libxml2" \
TCLAP_HEADER_PATH="$(STAGING_DIR)/usr/include"
ifeq ($(BR2_powerpc64),y)
FMC_MAKE_OPTS += M64BIT=1
endif
# fmc's platform is the same as fmlib's.
FMC_PLATFORM = $(call qstrip,$(BR2_PACKAGE_FMLIB_PLATFORM))
define FMC_BUILD_CMDS
$(SED) "s:P4080:$(FMC_PLATFORM):g" $(@D)/source/Makefile
# The linking step has dependency issues so using MAKE1
$(TARGET_MAKE_ENV) $(MAKE1) $(FMC_MAKE_OPTS) -C $(@D)/source
endef
define FMC_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/source/fmc $(TARGET_DIR)/usr/sbin/fmc
cp -dpfr $(@D)/etc/fmc $(TARGET_DIR)/etc/
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/fmc/fmc.mk
|
mk
|
mit
| 1,157 |
comment "fmlib needs a Linux kernel to be built"
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_FMLIB
bool "fmlib"
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
depends on BR2_LINUX_KERNEL
help
The Frame Manager library provides Freescale PowerPC platforms an
API on top of the Frame Manager driver ioctl calls, that provides
a user space application with a simple way to configure driver
parameters and PCD (parse - classify - distribute) rules.
http://git.freescale.com/git/cgit.cgi/ppc/sdk/fmlib.git/tree/README
if BR2_PACKAGE_FMLIB
choice
prompt "QorIQ Target Family"
help
Select the family of QorIQ processor.
config BR2_FMLIB_QORIQ_FAMILY_P4080
bool "p40xx"
depends on BR2_powerpc_e500mc
config BR2_FMLIB_QORIQ_FAMILY_T4240
bool "t42xx"
depends on BR2_powerpc_e500mc
config BR2_FMLIB_QORIQ_FAMILY_T2080
bool "t208x"
depends on BR2_powerpc_e6500
endchoice
config BR2_PACKAGE_FMLIB_ARCHTYPE
string
default "e500mc" if BR2_powerpc_e500mc
default "ppc64e6500" if BR2_powerpc_e6500 && BR2_powerpc64
default "ppc32e6500" if BR2_powerpc_e6500 && BR2_powerpc
config BR2_PACKAGE_FMLIB_PLATFORM
string
default "P4080" if BR2_FMLIB_QORIQ_FAMILY_P4080
default "T4240" if BR2_FMLIB_QORIQ_FAMILY_T4240
default "FMAN_V3H" if BR2_FMLIB_QORIQ_FAMILY_T2080
endif
|
shibajee/buildroot
|
package/fmlib/Config.in
|
in
|
mit
| 1,358 |
# Locally computed
sha256 e5870756c7432b15f7a48b860625808f3c95d5f7fa5e251552eb2324ca51b0fa fmlib-fsl-sdk-v2.0.tar.gz
|
shibajee/buildroot
|
package/fmlib/fmlib.hash
|
hash
|
mit
| 117 |
################################################################################
#
# fmlib
#
################################################################################
FMLIB_VERSION = fsl-sdk-v2.0
FMLIB_SITE = git://git.freescale.com/ppc/sdk/fmlib.git
FMLIB_LICENSE = BSD-3c, GPLv2+
FMLIB_LICENSE_FILES = COPYING
FMLIB_DEPENDENCIES = linux
FMLIB_INSTALL_STAGING = YES
# This package installs a static library only, so there's
# nothing to install to the target
FMLIB_INSTALL_TARGET = NO
FMLIB_MAKE_OPTS = \
CC="$(TARGET_CC)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
KERNEL_SRC="$(LINUX_DIR)" \
PREFIX="$(STAGING_DIR)/usr"
FMLIB_ARCHTYPE = $(call qstrip,$(BR2_PACKAGE_FMLIB_ARCHTYPE))
FMLIB_PLATFORM = $(call qstrip,$(BR2_PACKAGE_FMLIB_PLATFORM))
define FMLIB_BUILD_CMDS
$(SED) "s:P4080:$(FMLIB_PLATFORM):g" $(@D)/Makefile
$(TARGET_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) libfm-$(FMLIB_ARCHTYPE).a
endef
define FMLIB_INSTALL_STAGING_CMDS
$(RM) $(STAGING_DIR)/usr/lib/libfm.a
$(FMLIB_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) install-libfm-$(FMLIB_ARCHTYPE)
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/fmlib/fmlib.mk
|
mk
|
mit
| 1,115 |
config BR2_PACKAGE_FMTOOLS
bool "fmtools"
help
fmtools is a pair of simple command-line utilities for
"video4linux2" radio tuner cards under Linux. It includes
fm for power control, tuning, and volume and fmscan for
scanning for stations.
http://benpfaff.org/fmtools/
|
shibajee/buildroot
|
package/fmtools/Config.in
|
in
|
mit
| 286 |
# Locally calculated after checking pgp signature
sha256 75174e07d8cde6d4a8a5d7bbaa3a3b0760a850e7f6840cb7c6246227b18f5a39 fmtools-2.0.7.tar.gz
|
shibajee/buildroot
|
package/fmtools/fmtools.hash
|
hash
|
mit
| 143 |
################################################################################
#
# fmtools
#
################################################################################
FMTOOLS_VERSION = 2.0.7
FMTOOLS_SITE = http://benpfaff.org/fmtools
FMTOOLS_LICENSE = GPLv2+
FMTOOLS_LICENSE_FILES = COPYING
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/fmtools/fmtools.mk
|
mk
|
mit
| 331 |
config BR2_PACKAGE_FONT_AWESOME
bool "font-awesome"
help
Font Awesome is a full suite of 605 pictographic icons for
easy scalable vector graphics on websites.
https://github.com/FortAwesome/Font-Awesome
|
shibajee/buildroot
|
package/font-awesome/Config.in
|
in
|
mit
| 215 |
# Locally computed
sha256 7813f416057da622b16229b10fef550e1dc64c5bb59871cd38fa86e76dfdbae8 font-awesome-v4.5.0.tar.gz
|
shibajee/buildroot
|
package/font-awesome/font-awesome.hash
|
hash
|
mit
| 120 |
################################################################################
#
# font-awesome
#
################################################################################
FONT_AWESOME_VERSION = v4.5.0
FONT_AWESOME_SITE = $(call github,FortAwesome,Font-Awesome,$(FONT_AWESOME_VERSION))
FONT_AWESOME_LICENSE = OFLv1.1 (font), MIT (CSS, LESS and Sass files)
FONT_AWESOME_DIRECTORIES_LIST = css fonts less scss
define FONT_AWESOME_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/usr/share/font-awesome/
$(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\
cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep))
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/font-awesome/font-awesome.mk
|
mk
|
mit
| 655 |
config BR2_PACKAGE_FONTCONFIG
bool "fontconfig"
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_EXPAT
help
Fontconfig is a library for configuring and customizing font access.
http://www.fontconfig.org/
|
shibajee/buildroot
|
package/fontconfig/Config.in
|
in
|
mit
| 213 |
# From https://lists.freedesktop.org/archives/fontconfig/2016-August/005794.html
sha256 b449a3e10c47e1d1c7a6ec6e2016cca73d3bd68fbbd4f0ae5cc6b573f7d6c7f3 fontconfig-2.12.1.tar.bz2
|
shibajee/buildroot
|
package/fontconfig/fontconfig.hash
|
hash
|
mit
| 179 |
################################################################################
#
# fontconfig
#
################################################################################
FONTCONFIG_VERSION = 2.12.1
FONTCONFIG_SITE = http://fontconfig.org/release
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.bz2
FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf
HOST_FONTCONFIG_DEPENDENCIES = host-freetype host-expat host-pkgconf
FONTCONFIG_LICENSE = fontconfig license
FONTCONFIG_LICENSE_FILES = COPYING
FONTCONFIG_CONF_OPTS = \
--with-arch=$(GNU_TARGET_NAME) \
--with-cache-dir=/var/cache/fontconfig \
--disable-docs
HOST_FONTCONFIG_CONF_OPTS = \
--disable-static
$(eval $(autotools-package))
$(eval $(host-autotools-package))
|
shibajee/buildroot
|
package/fontconfig/fontconfig.mk
|
mk
|
mit
| 779 |
config BR2_PACKAGE_FPING
bool "fping"
help
fping is a program to send ICMP echo probes to network hosts,
similar to ping, but much better performing when pinging
multiple hosts.
http://fping.org/
|
shibajee/buildroot
|
package/fping/Config.in
|
in
|
mit
| 211 |
# Locally calculated
sha256 d86f2281bda4653c7049e6ba8fce24ba67edbf9193b7bb1cf6219b0c8ddce4e6 fping-3.12.tar.gz
|
shibajee/buildroot
|
package/fping/fping.hash
|
hash
|
mit
| 111 |
################################################################################
#
# fping
#
################################################################################
FPING_VERSION = 3.12
FPING_SITE = http://fping.org/dist
FPING_LICENSE = BSD-like
FPING_LICENSE_FILES = COPYING
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/fping/fping.mk
|
mk
|
mit
| 316 |
lib/rc-md5: fix build when nettle is enabled
rc-md5 uses size_t, which is defined in string.h. This include is
missing when built against nettle.
Just add it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
diff -durN freeradius-client-1.1.7.orig/lib/rc-md5.h freeradius-client-1.1.7/lib/rc-md5.h
--- freeradius-client-1.1.7.orig/lib/rc-md5.h 2015-01-19 17:18:26.000000000 +0100
+++ freeradius-client-1.1.7/lib/rc-md5.h 2015-01-25 22:56:07.815626476 +0100
@@ -13,6 +13,7 @@
#ifdef HAVE_NETTLE
+#include <string.h> /* size_t */
#include <nettle/md5-compat.h>
#else
|
shibajee/buildroot
|
package/freeradius-client/0001-fix-for-nettle.patch
|
patch
|
mit
| 586 |
config BR2_PACKAGE_FREERADIUS_CLIENT
bool "freeradius-client"
help
FreeRADIUS Client is a framework and library for
writing RADIUS Clients.
http://wiki.freeradius.org/project/Radiusclient
|
shibajee/buildroot
|
package/freeradius-client/Config.in
|
in
|
mit
| 200 |
# Locally computed
sha256 eada2861b8f4928e3ac6b5bbfe11e92cd6cdcacfce40cae1085e77c1b6add0e9 freeradius-client-1.1.7.tar.gz
|
shibajee/buildroot
|
package/freeradius-client/freeradius-client.hash
|
hash
|
mit
| 124 |
################################################################################
#
# freeradius-client
#
################################################################################
FREERADIUS_CLIENT_VERSION = 1.1.7
FREERADIUS_CLIENT_SITE = ftp://ftp.freeradius.org/pub/freeradius
FREERADIUS_CLIENT_LICENSE = BSD-2c
FREERADIUS_CLIENT_LICENSE_FILES = COPYRIGHT
FREERADIUS_CLIENT_INSTALL_STAGING = YES
FREERADIUS_CLIENT_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_NETTLE),y)
FREERADIUS_CLIENT_DEPENDENCIES += nettle
FREERADIUS_CLIENT_CONF_OPTS += --with-nettle=yes
else
FREERADIUS_CLIENT_CONF_OPTS += --with-nettle=no
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/freeradius-client/freeradius-client.mk
|
mk
|
mit
| 663 |
winpr/tools: fix building shared libs
libwinpr-makecert-tool.a is used to build libxfreerdp-server.so, so even
if we are building a static libwinpr-makecert-tool.a library, we need to
build it with -fPIC.
Patch and commit log suggested by Samuel MARTIN.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
diff -durN freerdp-440916eae2e07463912d5fe507677e67096eb083.orig/winpr/tools/makecert/CMakeLists.txt freerdp-440916eae2e07463912d5fe507677e67096eb083/winpr/tools/makecert/CMakeLists.txt
--- freerdp-440916eae2e07463912d5fe507677e67096eb083.orig/winpr/tools/makecert/CMakeLists.txt 2014-08-25 06:52:43.000000000 -0700
+++ freerdp-440916eae2e07463912d5fe507677e67096eb083/winpr/tools/makecert/CMakeLists.txt 2014-10-24 15:39:39.600319523 -0700
@@ -37,4 +37,11 @@
add_subdirectory(cli)
set_property(TARGET ${MODULE_NAME} PROPERTY FOLDER "WinPR/Tools")
+
+if(BUILD_SHARED_LIBS)
+ # build libwinpr-makecert-tool.a with PIC because it is used to build
+ # the shared library libxfreerdp-server.so.
+ set_property(TARGET ${MODULE_NAME} PROPERTY POSITION_INDEPENDENT_CODE TRUE)
+endif()
+
export_complex_library(LIBNAME ${MODULE_NAME})
|
shibajee/buildroot
|
package/freerdp/0001-fix-building-shared-libs.patch
|
patch
|
mit
| 1,188 |
From 605d0a85183d2f9d5b0da5629cbadf01173bbb2f Mon Sep 17 00:00:00 2001
From: Scott Fan <fancp2007@gmail.com>
Date: Mon, 13 Jul 2015 15:01:17 +0800
Subject: [PATCH] Add support for tz package
Fixes error message while freerdp connected the remote desktop:
Unable to detect time zone
Signed-off-by: Scott Fan <fancp2007@gmail.com>
---
libfreerdp/locale/timezone.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libfreerdp/locale/timezone.c b/libfreerdp/locale/timezone.c
index 3070f1f..4a06786 100644
--- a/libfreerdp/locale/timezone.c
+++ b/libfreerdp/locale/timezone.c
@@ -1539,7 +1539,8 @@ char* freerdp_get_unix_timezone_identifier()
* America/Montreal for example.
*/
- if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1)
+ if ((len = readlink("/etc/localtime", buf, sizeof(buf) - 1)) != -1 ||
+ (len = readlink("/etc/TZ", buf, sizeof(buf) - 1)) != -1)
{
int num = 0;
int pos = len;
--
2.4.5
|
shibajee/buildroot
|
package/freerdp/0002-add-support-for-tz-package.patch
|
patch
|
mit
| 960 |
libwinpr/comm_seria: fix missing define
FreeRDP uses CMSPAR, which is defined by glibc in bits/termios.h .
glibc has two flavours of bits/termios.h: a genmeric one and an
architecture-specific one. When installing, glibc will install the
architecture-specific file if it exists, otherwise it installs the
generic file. Only Alpha, MIPS, PPC and Sparc have their own
bits/termios.h.
The generic bits/termios.h, as well as the Alpha, PPC and Sparc flavours
do define CMSPAR. However, the MIPS flavour does not define it.
Define CMSPAR to the value from the generic value, which is also the
value known to the Linux kernel for MIPS.
Fixes:
http://autobuild.buildroot.org/results/0b4/0b4793f0bf9f4c57933897f3480054a4e06528ad/
http://autobuild.buildroot.org/results/7a2/7a2284d0a2987158fa2e78f789b07c8c6fcdb974/
http://autobuild.buildroot.org/results/387/3874088c3ccd4bbf76ea0c911ca1ef64c7dc9d1c/
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
diff -durN freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16.orig/winpr/libwinpr/comm/comm_serial_sys.c freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16/winpr/libwinpr/comm/comm_serial_sys.c
--- freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16.orig/winpr/libwinpr/comm/comm_serial_sys.c 2015-09-04 16:20:17.000000000 +0100
+++ freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16/winpr/libwinpr/comm/comm_serial_sys.c 2015-10-04 11:07:41.868513726 +0100
@@ -27,6 +27,14 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <termios.h>
+
+/* glibc for MIPS has its own bits/termios.h which does not define
+ * CMSPAR, so we vampirise the value from the generic bits/termios.h
+ */
+#ifndef CMSPAR
+#define CMSPAR 010000000000
+#endif
+
#include <unistd.h>
#include "comm_serial_sys.h"
|
shibajee/buildroot
|
package/freerdp/0003-add-missing-define.patch
|
patch
|
mit
| 1,862 |
From b7b66968f93f6ce75dd06d12638e14029bf3717b Mon Sep 17 00:00:00 2001
From: Alexis Ballier <aballier@gentoo.org>
Date: Thu, 17 Sep 2015 10:36:44 +0200
Subject: [PATCH] channels/tsmf/client/ffmpeg: Fix build with ffmpeg git
master.
Replace old, deprecated and now removed, APIs with their new equivalent while retaining backward compatibility with old ffmpeg versions.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Downloaded from upstream commit:
https://github.com/FreeRDP/FreeRDP/commit/f8ceb3f6061583c650bd4f6cddc10bc0471f2076]
---
channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
index d0880e7..e1b9f83 100644
--- a/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
+++ b/channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c
@@ -61,6 +61,9 @@
#define AV_CODEC_ID_AC3 CODEC_ID_AC3
#endif
+#if LIBAVUTIL_VERSION_MAJOR < 52
+#define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P
+#endif
typedef struct _TSMFFFmpegDecoder
{
@@ -102,7 +105,11 @@ static BOOL tsmf_ffmpeg_init_video_stream(ITSMFDecoder* decoder, const TS_AM_MED
mdecoder->codec_context->bit_rate = media_type->BitRate;
mdecoder->codec_context->time_base.den = media_type->SamplesPerSecond.Numerator;
mdecoder->codec_context->time_base.num = media_type->SamplesPerSecond.Denominator;
+#if LIBAVCODEC_VERSION_MAJOR < 55
mdecoder->frame = avcodec_alloc_frame();
+#else
+ mdecoder->frame = av_frame_alloc();
+#endif
return TRUE;
}
@@ -328,7 +335,11 @@ static BOOL tsmf_ffmpeg_decode_video(ITSMFDecoder* decoder, const BYTE *data, UI
if (!mdecoder->decoded_data)
return FALSE;
+#if LIBAVCODEC_VERSION_MAJOR < 55
frame = avcodec_alloc_frame();
+#else
+ frame = av_frame_alloc();
+#endif
avpicture_fill((AVPicture*) frame, mdecoder->decoded_data,
mdecoder->codec_context->pix_fmt,
mdecoder->codec_context->width, mdecoder->codec_context->height);
@@ -400,7 +411,11 @@ static BOOL tsmf_ffmpeg_decode_audio(ITSMFDecoder* decoder, const BYTE *data, UI
(int16_t *) dst, &frame_size, src, src_size);
#else
{
+#if LIBAVCODEC_VERSION_MAJOR < 55
AVFrame *decoded_frame = avcodec_alloc_frame();
+#else
+ AVFrame *decoded_frame = av_frame_alloc();
+#endif
int got_frame = 0;
AVPacket pkt;
av_init_packet(&pkt);
@@ -480,7 +495,7 @@ static UINT32 tsmf_ffmpeg_get_decoded_format(ITSMFDecoder* decoder)
switch (mdecoder->codec_context->pix_fmt)
{
- case PIX_FMT_YUV420P:
+ case AV_PIX_FMT_YUV420P:
return RDP_PIXFMT_I420;
default:
WLog_ERR(TAG, "unsupported pixel format %u",
|
shibajee/buildroot
|
package/freerdp/0004-ffmpeg30.patch
|
patch
|
mit
| 2,674 |
config BR2_PACKAGE_FREERDP
bool "freerdp"
# FreeRDP does not have a single C++ source file, however it
# insists on having a C++ compiler. Removing that requirement
# is a bit too much involving, so we just depend on it...
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_USE_WCHAR
depends on !BR2_STATIC_LIBS # uses dlfcn.h
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # libglib2
depends on BR2_TOOLCHAIN_HAS_SYNC_4
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LIBGLIB2
help
FreeRDP is a free implementation of the Remote Desktop
Protocol (RDP), released under the Apache license
This only installs the freerdp libraries.
http://www.freerdp.com/
Note: this also installs a key and certificate in
/etc/freerdp/keys/ . These are publicly-known, as they
are present in FreeRDP's source tree. It is strongly
suggested that you overwrite them with your own set,
either in an overlay rootfs or in a post-build script.
if BR2_PACKAGE_FREERDP
choice
bool "gstreamer support"
depends on BR2_PACKAGE_XORG7 # xlib-libxrandr
depends on BR2_PACKAGE_GSTREAMER || BR2_PACKAGE_GSTREAMER1
config BR2_PACKAGE_FREERDP_GSTREAMER1
bool "gstreamer-1.x"
depends on BR2_PACKAGE_GSTREAMER1
# gstreamer-1.x dependencies already dependencies of FreeRDP
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_APP
select BR2_PACKAGE_XLIB_LIBXRANDR
config BR2_PACKAGE_FREERDP_GSTREAMER
bool "gstreamer-0.x"
depends on BR2_PACKAGE_GSTREAMER
# gstreamer-0.x dependencies already dependencies of FreeRDP
select BR2_PACKAGE_GST_PLUGINS_BASE
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
select BR2_PACKAGE_XLIB_LIBXRANDR
select BR2_PACKAGE_LIBXML2
config BR2_PACKAGE_FREERDP_GSTREAMER_NO
bool "none"
endchoice
comment "gstreamer support needs X.Org"
depends on !BR2_PACKAGE_XORG7
depends on BR2_PACKAGE_GSTREAMER || BR2_PACKAGE_GSTREAMER1
config BR2_PACKAGE_FREERDP_SERVER
bool "server"
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXDAMAGE
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXFIXES
config BR2_PACKAGE_FREERDP_CLIENT_X11
bool "X11 client"
default y
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXEXT
comment "server and X11 client need X.Org"
depends on !BR2_PACKAGE_XORG7
config BR2_PACKAGE_FREERDP_CLIENT_WL
bool "wayland client"
default y
depends on BR2_PACKAGE_WAYLAND
endif
comment "freerdp needs a toolchain w/ wchar, dynamic library, threads, C++"
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
|
shibajee/buildroot
|
package/freerdp/Config.in
|
in
|
mit
| 2,728 |
# Locally calculated
sha256 1db496cca391f76382ef284db2d0306d5c15bf515ee2c964319c22272d969a32 freerdp-17834af7bb378f85a3b3cc4dcadaa5125a337e16.tar.gz
|
shibajee/buildroot
|
package/freerdp/freerdp.hash
|
hash
|
mit
| 150 |
################################################################################
#
# freerdp
#
################################################################################
# Changeset on the master branch
FREERDP_VERSION = 17834af7bb378f85a3b3cc4dcadaa5125a337e16
FREERDP_SITE = $(call github,FreeRDP,FreeRDP,$(FREERDP_VERSION))
FREERDP_DEPENDENCIES = libglib2 openssl zlib
FREERDP_LICENSE = Apache-2.0
FREERDP_LICENSE_FILES = LICENSE
FREERDP_INSTALL_STAGING = YES
FREERDP_CONF_OPTS = -DWITH_MANPAGES=OFF -Wno-dev
ifeq ($(BR2_PACKAGE_FREERDP_GSTREAMER),y)
FREERDP_CONF_OPTS += -DWITH_GSTREAMER_0_10=ON
FREERDP_DEPENDENCIES += gstreamer gst-plugins-base libxml2 host-pkgconf
else
FREERDP_CONF_OPTS += -DWITH_GSTREAMER_0_10=OFF
endif
ifeq ($(BR2_PACKAGE_FREERDP_GSTREAMER1),y)
FREERDP_CONF_OPTS += -DWITH_GSTREAMER_1_0=ON
FREERDP_DEPENDENCIES += gstreamer1 gst1-plugins-base
else
FREERDP_CONF_OPTS += -DWITH_GSTREAMER_1_0=OFF
endif
ifeq ($(BR2_PACKAGE_CUPS),y)
FREERDP_CONF_OPTS += -DWITH_CUPS=ON
FREERDP_DEPENDENCIES += cups
else
FREERDP_CONF_OPTS += -DWITH_CUPS=OFF
endif
ifeq ($(BR2_PACKAGE_FFMPEG),y)
FREERDP_CONF_OPTS += -DWITH_FFMPEG=ON
FREERDP_DEPENDENCIES += ffmpeg
else
FREERDP_CONF_OPTS += -DWITH_FFMPEG=OFF
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_MIXER),y)
FREERDP_CONF_OPTS += -DWITH_ALSA=ON
FREERDP_DEPENDENCIES += alsa-lib
else
FREERDP_CONF_OPTS += -DWITH_ALSA=OFF
endif
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=ON
FREERDP_DEPENDENCIES += pulseaudio
else
FREERDP_CONF_OPTS += -DWITH_PULSEAUDIO=OFF
endif
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
FREERDP_CONF_OPTS += -DWITH_NEON=ON
else
FREERDP_CONF_OPTS += -DWITH_NEON=OFF
endif
ifeq ($(BR2_X86_CPU_HAS_SSE2),y)
FREERDP_CONF_OPTS += -DWITH_SSE2=ON
else
FREERDP_CONF_OPTS += -DWITH_SSE2=OFF
endif
ifeq ($(BR2_arm)$(BR2_armeb),y)
FREERDP_CONF_OPTS += -DARM_FP_ABI=$(call qstrip,$(BR2_GCC_TARGET_FLOAT_ABI))
endif
#---------------------------------------
# Enabling server and/or client
# Clients and server interface must always be enabled to build the
# corresponding libraries.
FREERDP_CONF_OPTS += -DWITH_SERVER_INTERFACE=ON
FREERDP_CONF_OPTS += -DWITH_CLIENT_INTERFACE=ON
ifeq ($(BR2_PACKAGE_FREERDP_SERVER),y)
FREERDP_CONF_OPTS += -DWITH_SERVER=ON
endif
ifneq ($(BR2_PACKAGE_FREERDP_CLIENT_X11)$(BR2_PACKAGE_FREERDP_CLIENT_WL),)
FREERDP_CONF_OPTS += -DWITH_CLIENT=ON
endif
#---------------------------------------
# Libraries for client and/or server
# The FreeRDP buildsystem uses non-orthogonal options. For example it
# is not possible to build the server and the wayland client without
# also building the X client. That's because the dependencies of the
# server (the X libraries) are a superset of those of the X client.
# So, as soon as FreeRDP is configured for the server and the wayland
# client, it will believe it also has to build the X client, because
# the libraries it needs are enabled.
#
# Furthermore, the shadow server is always built, even if there's nothing
# it can serve (i.e. the X libs are disabled).
#
# So, we do not care whether we build too much; we remove, as
# post-install hooks, whatever we do not want.
# If Xorg is enabled, and the server or the X client are, then libX11
# and libXext are forcibly enabled at the Kconfig level. However, if
# Xorg is enabled but neither the server nor the X client are, then
# there's nothing that guarantees those two libs are enabled. So we
# really must check for them.
ifeq ($(BR2_PACKAGE_XLIB_LIBX11)$(BR2_PACKAGE_XLIB_LIBX11),yy)
FREERDP_DEPENDENCIES += xlib_libX11 xlib_libXext
FREERDP_CONF_OPTS += -DWITH_X11=ON
else
FREERDP_CONF_OPTS += -DWITH_X11=OFF
endif
# The following libs are either optional or mandatory only for either
# the server or the client. A mandatory library for either one is
# selected from Kconfig, so we can make it conditional here
ifeq ($(BR2_PACKAGE_XLIB_LIBXCURSOR),y)
FREERDP_CONF_OPTS += -DWITH_XCURSOR=ON
FREERDP_DEPENDENCIES += xlib_libXcursor
else
FREERDP_CONF_OPTS += -DWITH_XCURSOR=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXDAMAGE),y)
FREERDP_CONF_OPTS += -DWITH_XDAMAGE=ON
FREERDP_DEPENDENCIES += xlib_libXdamage
else
FREERDP_CONF_OPTS += -DWITH_XDAMAGE=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXFIXES),y)
FREERDP_CONF_OPTS += -DWITH_XFIXES=ON
FREERDP_DEPENDENCIES += xlib_libXfixes
else
FREERDP_CONF_OPTS += -DWITH_XFIXES=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXI),y)
FREERDP_CONF_OPTS += -DWITH_XI=ON
FREERDP_DEPENDENCIES += xlib_libXi
else
FREERDP_CONF_OPTS += -DWITH_XI=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXINERAMA),y)
FREERDP_CONF_OPTS += -DWITH_XINERAMA=ON
FREERDP_DEPENDENCIES += xlib_libXinerama
else
FREERDP_CONF_OPTS += -DWITH_XINERAMA=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXKBFILE),y)
FREERDP_CONF_OPTS += -DWITH_XKBFILE=ON
FREERDP_DEPENDENCIES += xlib_libxkbfile
else
FREERDP_CONF_OPTS += -DWITH_XKBFILE=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
FREERDP_CONF_OPTS += -DWITH_XRANDR=ON
FREERDP_DEPENDENCIES += xlib_libXrandr
else
FREERDP_CONF_OPTS += -DWITH_XRANDR=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXRENDER),y)
FREERDP_CONF_OPTS += -DWITH_XRENDER=ON
FREERDP_DEPENDENCIES += xlib_libXrender
else
FREERDP_CONF_OPTS += -DWITH_XRENDER=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXTST),y)
FREERDP_CONF_OPTS += -DWITH_XTEST=ON
FREERDP_DEPENDENCIES += xlib_libXtst
else
FREERDP_CONF_OPTS += -DWITH_XTEST=OFF
endif
ifeq ($(BR2_PACKAGE_XLIB_LIBXV),y)
FREERDP_CONF_OPTS += -DWITH_XV=ON
FREERDP_DEPENDENCIES += xlib_libXv
else
FREERDP_CONF_OPTS += -DWITH_XV=OFF
endif
ifeq ($(BR2_PACKAGE_WAYLAND),y)
FREERDP_DEPENDENCIES += wayland
FREERDP_CONF_OPTS += -DWITH_WAYLAND=ON
else
FREERDP_CONF_OPTS += -DWITH_WAYLAND=OFF
endif
#---------------------------------------
# Post-install hooks to cleanup and install missing stuff
# Shadow server is always installed, no matter what, so we manually
# remove it if the user does not want the server.
ifeq ($(BR2_PACKAGE_FREERDP_SERVER),)
define FREERDP_RM_SHADOW_SERVER
rm -f $(TARGET_DIR)/usr/bin/freerdp-shadow
endef
FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_SHADOW_SERVER
endif # ! server
# X client is always built as soon as a client is enabled and the
# necessary libs are enabled (e.g. because of the server), so manually
# remove it if the user does not want it.
ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_X11),)
define FREERDP_RM_CLIENT_X11
rm -f $(TARGET_DIR)/usr/bin/xfreerdp
rm -f $(TARGET_DIR)/usr/lib/libxfreerdp-client*
endef
FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_CLIENT_X11
define FREERDP_RM_CLIENT_X11_LIB
rm -f $(STAGING_DIR)/usr/lib/libxfreerdp-client*
endef
FREERDP_POST_INSTALL_STAGING_HOOKS += FREERDP_RM_CLIENT_X11_LIB
endif # ! X client
# Wayland client is always built as soon as wayland is enabled, so
# manually remove it if the user does not want it.
ifeq ($(BR2_PACKAGE_FREERDP_CLIENT_WL),)
define FREERDP_RM_CLIENT_WL
rm -f $(TARGET_DIR)/usr/bin/wlfreerdp
endef
FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_RM_CLIENT_WL
endif
# Remove static libraries in unusual dir
define FREERDP_CLEANUP
rm -rf $(TARGET_DIR)/usr/lib/freerdp
endef
FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_CLEANUP
# Install the server key and certificate, so that a client can connect.
# A user can override them with its own in a post-build script, if needed.
# We install them even if the server is not enabled, since another server
# can be built and linked with libfreerdp (e.g. weston with the RDP
# backend). Key and cert are installed world-readable, so non-root users
# can start a server.
define FREERDP_INSTALL_KEYS
$(INSTALL) -m 0644 -D $(@D)/server/Sample/server.key \
$(TARGET_DIR)/etc/freerdp/keys/server.key
$(INSTALL) -m 0644 -D $(@D)/server/Sample/server.crt \
$(TARGET_DIR)/etc/freerdp/keys/server.crt
endef
FREERDP_POST_INSTALL_TARGET_HOOKS += FREERDP_INSTALL_KEYS
$(eval $(cmake-package))
|
shibajee/buildroot
|
package/freerdp/freerdp.mk
|
mk
|
mit
| 7,808 |
menuconfig BR2_PACKAGE_FREESCALE_IMX
bool "Freescale i.MX libraries"
depends on BR2_arm
help
Those packages provide hardware acceleration for GPU or VPU, hardware
optimization or some hardware tools for Freescale i.MX platforms.
if BR2_PACKAGE_FREESCALE_IMX
choice
prompt "i.MX platform"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
bool "imx25-3stack"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
bool "imx27ads"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
bool "imx37-3stack"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
bool "imx50"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
bool "imx51"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
bool "imx53"
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
bool "imx6q"
endchoice
config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
string
default "IMX25_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
default "IMX27ADS" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
default "IMX37_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
default "IMX50" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
default "IMX51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
default "IMX53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
config BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
bool
default y if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS || \
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || \
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53 || \
BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
source "package/freescale-imx/imx-codec/Config.in"
source "package/freescale-imx/imx-kobs/Config.in"
source "package/freescale-imx/imx-lib/Config.in"
source "package/freescale-imx/imx-parser/Config.in"
source "package/freescale-imx/imx-uuc/Config.in"
source "package/freescale-imx/imx-vpu/Config.in"
source "package/freescale-imx/imx-vpuwrap/Config.in"
source "package/freescale-imx/firmware-imx/Config.in"
if (BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51 || BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53)
source "package/freescale-imx/gpu-amd-bin-mx51/Config.in"
source "package/freescale-imx/libz160/Config.in"
endif
if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
source "package/freescale-imx/imx-gpu-viv/Config.in"
source "package/freescale-imx/kernel-module-imx-gpu-viv/Config.in"
endif
endif
|
shibajee/buildroot
|
package/freescale-imx/Config.in
|
in
|
mit
| 2,335 |
config BR2_PACKAGE_FIRMWARE_IMX
bool "firmware-imx"
depends on BR2_arm # Only relevant for i.MX
help
Firmware blobs for the Freescale i.MX SoCs.
It contains blobs for SDMA and VPU.
This library is provided by Freescale as-is and doesn't have
an upstream.
|
shibajee/buildroot
|
package/freescale-imx/firmware-imx/Config.in
|
in
|
mit
| 272 |
sha256 c5bd4bff48cce9715a5d6d2c190ff3cd2262c7196f7facb9b0eda231c92cc223 firmware-imx-5.4.bin
|
shibajee/buildroot
|
package/freescale-imx/firmware-imx/firmware-imx.hash
|
hash
|
mit
| 94 |
################################################################################
#
# firmware-imx
#
################################################################################
FIRMWARE_IMX_VERSION = 5.4
FIRMWARE_IMX_SITE = $(FREESCALE_IMX_SITE)
FIRMWARE_IMX_SOURCE = firmware-imx-$(FIRMWARE_IMX_VERSION).bin
FIRMWARE_IMX_LICENSE = NXP Semiconductor Software License Agreement
FIRMWARE_IMX_LICENSE_FILES = EULA COPYING
FIRMWARE_IMX_REDISTRIBUTE = NO
FIRMWARE_IMX_BLOBS = sdma vpu
define FIRMWARE_IMX_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(FIRMWARE_IMX_SOURCE))
endef
define FIRMWARE_IMX_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/lib/firmware/imx
for blobdir in $(FIRMWARE_IMX_BLOBS); do \
cp -r $(@D)/firmware/$${blobdir} $(TARGET_DIR)/lib/firmware; \
done
cp -r $(@D)/firmware/epdc $(TARGET_DIR)/lib/firmware/imx
mv $(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw.nonrestricted \
$(TARGET_DIR)/lib/firmware/imx/epdc/epdc_ED060XH2C1.fw
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/firmware-imx/firmware-imx.mk
|
mk
|
mit
| 1,019 |
################################################################################
#
# freescale-imx
#
################################################################################
FREESCALE_IMX_SITE = http://www.freescale.com/lgfiles/NMG/MAD/YOCTO
# Helper for self-extracting binaries distributed by Freescale.
#
# The --force option makes sure it doesn't fail if the source
# directory already exists. The --auto-accept skips the license check,
# as it is not needed in Buildroot because we have legal-info. Since
# there's a EULA in the binary file, we extract it in this macro, and
# it should therefore be added to the LICENSE_FILES variable of
# packages using this macro. Also, remember to set REDISTRIBUTE to
# "NO". Indeed, this is a legal minefield: the EULA specifies that the
# Board Support Package includes software and hardware (sic!) for
# which a separate license is needed...
#
# $(1): full path to the archive file
#
define FREESCALE_IMX_EXTRACT_HELPER
awk 'BEGIN { start = 0; } \
/^EOEULA/ { start = 0; } \
{ if (start) print; } \
/<<EOEULA/ { start = 1; }' \
$(1) > $(@D)/EULA
cd $(@D) && sh $(1) --force --auto-accept
find $(@D)/$(basename $(notdir $(1))) -mindepth 1 -maxdepth 1 -exec mv {} $(@D) \;
rmdir $(@D)/$(basename $(notdir $(1)))
endef
include $(sort $(wildcard package/freescale-imx/*/*.mk))
|
shibajee/buildroot
|
package/freescale-imx/freescale-imx.mk
|
mk
|
mit
| 1,374 |
comment "gpu-amd-bin-mx51 needs a glibc EABI toolchain w/ C++"
depends on BR2_arm
depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_GPU_AMD_BIN_MX51
bool "gpu-amd-bin-mx51 (also imx53)"
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
select BR2_PACKAGE_HAS_LIBOPENVG
depends on BR2_ARM_EABI
depends on BR2_TOOLCHAIN_USES_GLIBC
depends on BR2_INSTALL_LIBSTDCPP
help
Freescale libraries, headers and executables for the
AMD GPU on i.MX5x, containing OpenGL/ES, OpenVG
and EGL support.
if BR2_PACKAGE_GPU_AMD_BIN_MX51
choice
prompt "Output option"
help
There are two versions of this library: one for
direct framebuffer access, one for X11 rendering.
Choose here which version to install.
config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_LIBXCB
select BR2_PACKAGE_XLIB_LIBX11
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXRENDER
select BR2_PACKAGE_XLIB_LIBXDMCP
select BR2_PACKAGE_XLIB_LIBXAU
bool "X11"
comment "X11 backend needs X.org enabled"
depends on !BR2_PACKAGE_XORG7
config BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB
bool "Framebuffer"
endchoice
config BR2_PACKAGE_PROVIDES_LIBEGL
default "gpu-amd-bin-mx51"
config BR2_PACKAGE_PROVIDES_LIBGLES
default "gpu-amd-bin-mx51"
config BR2_PACKAGE_PROVIDES_LIBOPENVG
default "gpu-amd-bin-mx51"
config BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES
bool "install examples"
help
Copy the examples to the target.
endif
|
shibajee/buildroot
|
package/freescale-imx/gpu-amd-bin-mx51/Config.in
|
in
|
mit
| 1,537 |
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: egl
Description: Freescale amd-gpu-bin-mx51 implementation of EGL
Version: 7.11.0
Libs: -L${libdir} -lEGL
Cflags: -I${includedir}
|
shibajee/buildroot
|
package/freescale-imx/gpu-amd-bin-mx51/egl.pc
|
pc
|
mit
| 226 |
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: glesv2
Description: Freescale amd-gpu-bin-mx51 implementation of OpenGL ESv2
Version: 7.11.0
Libs: -L${libdir} -lGLESv2
Cflags: -I${includedir}
|
shibajee/buildroot
|
package/freescale-imx/gpu-amd-bin-mx51/glesv2.pc
|
pc
|
mit
| 240 |
# locally computed
sha256 c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408f790db amd-gpu-x11-bin-mx51-11.09.01.bin
sha256 f0db68a764b5fb199729e7435f606b8d12b61ca97990336c647b7e81f4a584d9 amd-gpu-bin-mx51-11.09.01.bin
|
shibajee/buildroot
|
package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.hash
|
hash
|
mit
| 231 |
################################################################################
#
# gpu-amd-bin-mx51
#
################################################################################
GPU_AMD_BIN_MX51_SITE = $(FREESCALE_IMX_SITE)
GPU_AMD_BIN_MX51_BASE_VERSION = 11.09.01
ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_FB),y)
GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-fb
GPU_AMD_BIN_MX51_SOURCE = amd-gpu-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin
else
GPU_AMD_BIN_MX51_VERSION = $(GPU_AMD_BIN_MX51_BASE_VERSION)-x11
GPU_AMD_BIN_MX51_SOURCE = amd-gpu-x11-bin-mx51-$(GPU_AMD_BIN_MX51_BASE_VERSION).bin
GPU_AMD_BIN_MX51_DEPENDENCIES = libxcb xlib_libX11 xlib_libXext \
xlib_libXrender xlib_libXau xlib_libXdmcp
endif
GPU_AMD_BIN_MX51_PROVIDES = libegl libgles libopenvg
GPU_AMD_BIN_MX51_INSTALL_STAGING = YES
GPU_AMD_BIN_MX51_LICENSE = Freescale Semiconductor Software License Agreement
GPU_AMD_BIN_MX51_LICENSE_FILES = EULA
GPU_AMD_BIN_MX51_REDISTRIBUTE = NO
define GPU_AMD_BIN_MX51_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(GPU_AMD_BIN_MX51_SOURCE))
endef
# Upstream headers need to be compiled with -D_LINUX. It is more convenient
# to rely on __linux__ which is defined in compiler itself
define GPU_AMD_BIN_MX51_FIXUP_HEADERS
$(SED) 's/_LINUX/__linux__/g' $(@D)/usr/include/*/*.h
endef
GPU_AMD_BIN_MX51_POST_PATCH_HOOKS += GPU_AMD_BIN_MX51_FIXUP_HEADERS
# eglplatform_1.4.h contains X11 compatible headers
ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_OUTPUT_X11),y)
define GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS
mv $(STAGING_DIR)/usr/include/EGL/eglplatform_1.4.h $(STAGING_DIR)/usr/include/EGL/eglplatform.h
endef
endif
define GPU_AMD_BIN_MX51_INSTALL_STAGING_CMDS
$(INSTALL) -d $(STAGING_DIR)/usr/lib/pkgconfig
$(INSTALL) -m 644 package/freescale-imx/gpu-amd-bin-mx51/*.pc $(STAGING_DIR)/usr/lib/pkgconfig/
$(INSTALL) -m 755 $(@D)/usr/lib/lib* $(STAGING_DIR)/usr/lib/
cp -r $(@D)/usr/include/* $(STAGING_DIR)/usr/include
$(GPU_AMD_BIN_MX51_FIXUP_EGL_HEADERS)
endef
ifeq ($(BR2_PACKAGE_GPU_AMD_BIN_MX51_EXAMPLES),y)
define GPU_AMD_BIN_MX51_INSTALL_EXAMPLES
$(INSTALL) -d $(TARGET_DIR)/usr/share/examples/gpu_amd_samples
$(INSTALL) -m 755 $(@D)/usr/bin/* $(TARGET_DIR)/usr/share/examples/gpu_amd_samples
endef
endif
define GPU_AMD_BIN_MX51_INSTALL_TARGET_CMDS
$(INSTALL) -m 755 $(@D)/usr/lib/lib*so* $(TARGET_DIR)/usr/lib/
$(GPU_AMD_BIN_MX51_INSTALL_EXAMPLES)
endef
define GPU_AMD_BIN_MX51_DEVICES
/dev/gsl_kmod c 640 0 0 249 0 1 4
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/gpu-amd-bin-mx51/gpu-amd-bin-mx51.mk
|
mk
|
mit
| 2,517 |
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: vg
Description: Freescale amd-gpu-bin-mx51 implementation of OpenVG
Version: 1.1
Libs: -L${libdir} -lOpenVG
Cflags: -I${includedir}/
|
shibajee/buildroot
|
package/freescale-imx/gpu-amd-bin-mx51/vg.pc
|
pc
|
mit
| 229 |
config BR2_PACKAGE_IMX_CODEC
bool "imx-codec"
depends on BR2_arm # Only relevant for i.MX
depends on BR2_TOOLCHAIN_USES_GLIBC # prebuilt binaries
help
Binary codec libraries for the NXP i.MX SoCs.
This library is provided by NXP as-is and doesn't have
an upstream.
comment "imx-codec needs a glibc toolchain"
depends on BR2_arm
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
shibajee/buildroot
|
package/freescale-imx/imx-codec/Config.in
|
in
|
mit
| 382 |
# locally computed
sha256 62bda182143cde9743cba0eb2a1c315a53cb434294605742f9fc364219958888 imx-codec-4.0.9.bin
|
shibajee/buildroot
|
package/freescale-imx/imx-codec/imx-codec.hash
|
hash
|
mit
| 112 |
################################################################################
#
# imx-codec
#
################################################################################
IMX_CODEC_VERSION = 4.0.9
IMX_CODEC_SITE = $(FREESCALE_IMX_SITE)
IMX_CODEC_SOURCE = imx-codec-$(IMX_CODEC_VERSION).bin
IMX_CODEC_INSTALL_STAGING = YES
IMX_CODEC_LICENSE = NXP Semiconductor Software License Agreement, BSD-3c (flac, ogg headers)
IMX_CODEC_LICENSE_FILES = EULA COPYING
IMX_CODEC_REDISTRIBUTE = NO
ifeq ($(BR2_ARM_EABIHF),y)
IMX_CODEC_CONF_OPTS += --enable-fhw
endif
ifeq ($(BR2_PACKAGE_IMX_VPU),y)
IMX_CODEC_CONF_OPTS += --enable-vpu
endif
define IMX_CODEC_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_CODEC_SOURCE))
endef
# FIXME The Makefile installs both the arm9 and arm11 versions of the
# libraries, but we only need one of them.
# Upstream installs libraries into usr/lib/imx-mm, but the dynamic
# loader only looks in usr/lib, so move the libraries there
define IMX_CODEC_FIXUP_TARGET_PATH
find $(TARGET_DIR)/usr/lib/imx-mm -not -type d \
-exec mv {} $(TARGET_DIR)/usr/lib \;
rm -rf $(TARGET_DIR)/usr/lib/imx-mm
endef
IMX_CODEC_POST_INSTALL_TARGET_HOOKS += IMX_CODEC_FIXUP_TARGET_PATH
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-codec/imx-codec.mk
|
mk
|
mit
| 1,247 |
comment "imx-gpu-viv needs a glibc toolchain with armhf enabled"
depends on BR2_arm
depends on !BR2_TOOLCHAIN_USES_GLIBC || !BR2_ARM_EABIHF
config BR2_PACKAGE_IMX_GPU_VIV
bool "imx-gpu-viv"
select BR2_PACKAGE_HAS_LIBEGL
select BR2_PACKAGE_HAS_LIBGLES
select BR2_PACKAGE_HAS_LIBOPENVG
# Pre-built binaries only available for ARM EABIhf
depends on BR2_ARM_EABIHF
# Library binaries are linked against libc.so.6
depends on BR2_TOOLCHAIN_USES_GLIBC
help
Userspace libraries for Vivante GPU on i.MX6 platforms
It contains libraries and headers for GLES, OpenCL, and
OpenVG. It also contains a DRI plugin for X11. It also
contains a plugin for DirectFB-1.4.0, but that doesn't work
together with buildroot's DirectFB version.
This library is provided by Freescale as-is and doesn't have
an upstream.
if BR2_PACKAGE_IMX_GPU_VIV
choice
prompt "Output option"
help
There are two versions of this library: one for
direct framebuffer access, one for X11 rendering.
Choose here which version to install.
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
bool "X11"
depends on BR2_PACKAGE_XORG7
select BR2_PACKAGE_XLIB_LIBXDAMAGE
select BR2_PACKAGE_XLIB_LIBXEXT
select BR2_PACKAGE_XLIB_LIBXFIXES
comment "X11 backend needs Xorg package"
depends on !BR2_PACKAGE_XORG7
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
bool "Framebuffer"
endchoice
config BR2_PACKAGE_IMX_GPU_VIV_OUTPUT
string
default "x11" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_X11
default "fb" if BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB
config BR2_PACKAGE_PROVIDES_LIBEGL
default "imx-gpu-viv"
config BR2_PACKAGE_PROVIDES_LIBGLES
default "imx-gpu-viv"
config BR2_PACKAGE_PROVIDES_LIBOPENVG
default "imx-gpu-viv"
config BR2_PACKAGE_IMX_GPU_VIV_APITRACE
bool "install apitrace tools"
select BR2_PACKAGE_IMX_GPU_VIV_G2D
select BR2_PACKAGE_LIBPNG
help
Copy the apitrace tool to the target. Apitrace consists
of a set of tools to trace, replay and/or inspect OpenGL,
OpenGL ES APIs calls
http://apitrace.github.io/
config BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES
bool "install examples"
help
Copy the Vivante examples to the target.
Warning: examples take approximately 150 MB of disk space.
config BR2_PACKAGE_IMX_GPU_VIV_G2D
bool "install G2D libraries"
help
Copy the GPU2D libraries to the target.
config BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO
bool "install gmem_info tool"
help
Copy the gmem_info tool to the target which provides
information about GPU memory consumption.
endif
|
shibajee/buildroot
|
package/freescale-imx/imx-gpu-viv/Config.in
|
in
|
mit
| 2,504 |
sha256 8f79ce562d8ac1efb0a2af403b405541f98c55ae1631a18a3d7fad3224dfb44b imx-gpu-viv-5.0.11.p8.4-hfp.bin
|
shibajee/buildroot
|
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.hash
|
hash
|
mit
| 105 |
################################################################################
#
# imx-gpu-viv
#
################################################################################
IMX_GPU_VIV_VERSION = 5.0.11.p8.4-hfp
IMX_GPU_VIV_SITE = $(FREESCALE_IMX_SITE)
IMX_GPU_VIV_SOURCE = imx-gpu-viv-$(IMX_GPU_VIV_VERSION).bin
IMX_GPU_VIV_INSTALL_STAGING = YES
IMX_GPU_VIV_LICENSE = NXP Semiconductor Software License Agreement
IMX_GPU_VIV_LICENSE_FILES = EULA COPYING
IMX_GPU_VIV_REDISTRIBUTE = NO
IMX_GPU_VIV_PROVIDES = libegl libgles libopenvg
IMX_GPU_VIV_LIB_TARGET = $(call qstrip,$(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT))
ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
# The libGAL.so library provided by imx-gpu-viv uses X functions. Packages
# may want to link against libGAL.so (QT5 Base with OpenGL and X support
# does so). For this to work we need build dependencies to libXdamage,
# libXext and libXfixes so that X functions used in libGAL.so are referenced.
IMX_GPU_VIV_DEPENDENCIES += xlib_libXdamage xlib_libXext xlib_libXfixes
endif
define IMX_GPU_VIV_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_GPU_VIV_SOURCE))
endef
# Instead of building, we fix up the inconsistencies that exist
# in the upstream archive here.
# Make sure these commands are idempotent.
define IMX_GPU_VIV_BUILD_CMDS
$(SED) 's/defined(LINUX)/defined(__linux__)/g' $(@D)/gpu-core/usr/include/*/*.h
ln -sf libGL.so.1.2 $(@D)/gpu-core/usr/lib/libGL.so
ln -sf libGL.so.1.2 $(@D)/gpu-core/usr/lib/libGL.so.1
ln -sf libGL.so.1.2 $(@D)/gpu-core/usr/lib/libGL.so.1.2.0
ln -sf libEGL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libEGL.so
ln -sf libEGL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libEGL.so.1
ln -sf libEGL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libEGL.so.1.0
ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so
ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so.2
ln -sf libGLESv2-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGLESv2.so.2.0.0
ln -sf libVIVANTE-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libVIVANTE.so
ln -sf libGAL-$(IMX_GPU_VIV_LIB_TARGET).so $(@D)/gpu-core/usr/lib/libGAL.so
endef
ifeq ($(IMX_GPU_VIV_LIB_TARGET),fb)
define IMX_GPU_VIV_FIXUP_FB_HEADERS
$(SED) '39i\
#if !defined(EGL_API_X11) && !defined(EGL_API_DFB) && !defined(EGL_API_FB) \n\
#define EGL_API_FB \n\
#endif' $(STAGING_DIR)/usr/include/EGL/eglvivante.h
endef
endif
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_G2D),y)
define IMX_GPU_VIV_INSTALL_G2D_STAGING
cp -dpfr $(@D)/g2d/usr/include/* $(STAGING_DIR)/usr/include/
cp -dpfr $(@D)/g2d/usr/lib/* $(STAGING_DIR)/usr/lib/
endef
endif
define IMX_GPU_VIV_INSTALL_STAGING_CMDS
cp -r $(@D)/gpu-core/usr/* $(STAGING_DIR)/usr
$(IMX_GPU_VIV_FIXUP_FB_HEADERS)
$(IMX_GPU_VIV_INSTALL_G2D_STAGING)
for lib in egl glesv2 vg; do \
$(INSTALL) -m 0644 -D \
$(@D)/gpu-core/usr/lib/pkgconfig/$${lib}.pc \
$(STAGING_DIR)/usr/lib/pkgconfig/$${lib}.pc; \
done
endef
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_APITRACE),y)
IMX_GPU_VIV_DEPENDENCIES += libpng
ifeq ($(IMX_GPU_VIV_LIB_TARGET),x11)
define IMX_GPU_VIV_INSTALL_APITRACE
cp -dpfr $(@D)/apitrace/x11/usr/bin/* $(TARGET_DIR)/usr/bin/
cp -dpfr $(@D)/apitrace/x11/usr/lib/* $(TARGET_DIR)/usr/lib/
endef
else
define IMX_GPU_VIV_INSTALL_APITRACE
cp -dpfr $(@D)/apitrace/non-x11/usr/bin/* $(TARGET_DIR)/usr/bin/
cp -dpfr $(@D)/apitrace/non-x11/usr/lib/* $(TARGET_DIR)/usr/lib/
endef
endif
endif
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_EXAMPLES),y)
define IMX_GPU_VIV_INSTALL_EXAMPLES
mkdir -p $(TARGET_DIR)/usr/share/examples/
cp -r $(@D)/gpu-demos/opt/* $(TARGET_DIR)/usr/share/examples/
endef
endif
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_G2D),y)
define IMX_GPU_VIV_INSTALL_G2D
cp -dpfr $(@D)/g2d/usr/lib/* $(TARGET_DIR)/usr/lib/
endef
endif
ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_GMEM_INFO),y)
define IMX_GPU_VIV_INSTALL_GMEM_INFO
cp -dpfr $(@D)/gpu-tools/gmem-info/usr/bin/* $(TARGET_DIR)/usr/bin/
endef
endif
# On the target, remove the unused libraries.
# Note that this is _required_, else ldconfig may create symlinks
# to the wrong library
define IMX_GPU_VIV_INSTALL_TARGET_CMDS
$(IMX_GPU_VIV_INSTALL_APITRACE)
$(IMX_GPU_VIV_INSTALL_EXAMPLES)
$(IMX_GPU_VIV_INSTALL_G2D)
$(IMX_GPU_VIV_INSTALL_GMEM_INFO)
cp -a $(@D)/gpu-core/usr/lib $(TARGET_DIR)/usr
for lib in EGL GAL VIVANTE GLESv2; do \
for f in $(TARGET_DIR)/usr/lib/lib$${lib}-*.so; do \
case $$f in \
*-$(IMX_GPU_VIV_LIB_TARGET).so) : ;; \
*) $(RM) $$f ;; \
esac; \
done; \
done
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-gpu-viv/imx-gpu-viv.mk
|
mk
|
mit
| 4,580 |
[PATCH] Fix musl build
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
src/mtd.c | 1 +
src/mtd.h | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/src/mtd.c b/src/mtd.c
index 1edc441..6d2264c 100644
--- a/src/mtd.c
+++ b/src/mtd.c
@@ -31,6 +31,7 @@
#include <fcntl.h>
#include <ctype.h>
#include <errno.h>
+#include <stddef.h>
#include <sys/types.h>
#include <sys/ioctl.h>
diff --git a/src/mtd.h b/src/mtd.h
index bd21add..debfc84 100644
--- a/src/mtd.h
+++ b/src/mtd.h
@@ -31,6 +31,11 @@
#include "BootControlBlocks.h"
#include "rom_nand_hamming_code_ecc.h"
+// musl library doesn't define loff_t
+#if !defined(__GLIBC__) && !defined(__UCLIBC__)
+#define loff_t off_t
+#endif
+
//------------------------------------------------------------------------------
// Re-definitions of true and false, because the standard ones aren't good
// enough?
--
2.5.1
|
shibajee/buildroot
|
package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch
|
patch
|
mit
| 899 |
[PATCH] Fix build for recent toolchains
Starting with Linux 4.4 headers, mtd-user.h isn't including stdint.h
anymore which breaks the build.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
---
src/BootControlBlocks.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/BootControlBlocks.h b/src/BootControlBlocks.h
index 192eb61..aacdb64 100644
--- a/src/BootControlBlocks.h
+++ b/src/BootControlBlocks.h
@@ -20,6 +20,8 @@
#ifndef BOOTCONTROLBLOCKS_H_
#define BOOTCONTROLBLOCKS_H_
+#include <stdint.h>
+
#define NCB_FINGERPRINT1 0x504d5453 //!< 'STMP'
#define NCB_FINGERPRINT2 0x2042434e //!< 'NCB<space>' - NAND Control Block
#define NCB_FINGERPRINT3 0x4e494252 //!< 'RBIN' - ROM Boot Image Block - N
--
2.6.4
|
shibajee/buildroot
|
package/freescale-imx/imx-kobs/0002-Fix-build-for-recent-toolchains.patch
|
patch
|
mit
| 742 |
config BR2_PACKAGE_IMX_KOBS
bool "imx-kobs"
depends on BR2_arm # Only relevant for i.MX
help
The imx-kobs tool is used for writing images to NAND on i.MX
platforms.
This library is provided by Freescale as-is and doesn't have
an upstream.
|
shibajee/buildroot
|
package/freescale-imx/imx-kobs/Config.in
|
in
|
mit
| 256 |
sha256 85171b46068ac47c42fedb8104167bf9afd33dd9527ed127e1ca2eb29d7a86bf imx-kobs-5.4.tar.gz
|
shibajee/buildroot
|
package/freescale-imx/imx-kobs/imx-kobs.hash
|
hash
|
mit
| 93 |
################################################################################
#
# imx-kobs
#
################################################################################
IMX_KOBS_VERSION = 5.4
IMX_KOBS_SITE = $(FREESCALE_IMX_SITE)
IMX_KOBS_LICENSE = GPLv2+
IMX_KOBS_LICENSE_FILES = COPYING
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-kobs/imx-kobs.mk
|
mk
|
mit
| 328 |
comment "imx-lib needs an imx-specific Linux kernel to be built"
depends on BR2_arm && !BR2_LINUX_KERNEL
config BR2_PACKAGE_IMX_LIB
bool "imx-lib"
depends on BR2_LINUX_KERNEL
depends on BR2_arm # Only relevant for i.MX
help
Library of userspace helpers specific for the Freescale i.MX
platform. It wraps the kernel interfaces for some i.MX platform
specific drivers. It requires a kernel that includes the i.MX
specific headers to be built.
This library is provided by Freescale as-is and doesn't have
an upstream.
|
shibajee/buildroot
|
package/freescale-imx/imx-lib/Config.in
|
in
|
mit
| 541 |
# locally computed
sha256 8d12c4a0a44d29569f1ead3a36adc28402b9c4036b53e11dd3ebf2295e3ce1d0 imx-lib-5.4.tar.gz
|
shibajee/buildroot
|
package/freescale-imx/imx-lib/imx-lib.hash
|
hash
|
mit
| 111 |
################################################################################
#
# imx-lib
#
################################################################################
IMX_LIB_VERSION = 5.4
IMX_LIB_SITE = $(FREESCALE_IMX_SITE)
IMX_LIB_LICENSE = LGPLv2.1+
IMX_LIB_LICENSE_FILES = COPYING-LGPL-2.1
IMX_LIB_INSTALL_STAGING = YES
# imx-lib needs access to imx-specific kernel headers
IMX_LIB_DEPENDENCIES += linux
IMX_LIB_INCLUDE = \
-I$(LINUX_DIR)/drivers/mxc/security/rng/include \
-I$(LINUX_DIR)/drivers/mxc/security/sahara2/include \
-idirafter $(LINUX_DIR)/include/uapi
IMX_LIB_MAKE_ENV = \
$(TARGET_MAKE_ENV) \
$(TARGET_CONFIGURE_OPTS) \
CROSS_COMPILE="$(TARGET_CROSS)" \
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
INCLUDE="$(IMX_LIB_INCLUDE)"
define IMX_LIB_BUILD_CMDS
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D)
endef
define IMX_LIB_INSTALL_STAGING_CMDS
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install
endef
define IMX_LIB_INSTALL_TARGET_CMDS
$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-lib/imx-lib.mk
|
mk
|
mit
| 1,098 |
config BR2_PACKAGE_IMX_PARSER
bool "imx-parser"
depends on BR2_arm # Only relevant for i.MX
help
Binary parser libraries for the NXP i.MX SoCs.
This library is provided by NXP as-is and doesn't have
an upstream.
|
shibajee/buildroot
|
package/freescale-imx/imx-parser/Config.in
|
in
|
mit
| 225 |
# locally computed
sha256 1bec0101843db2e95d61e3dbe9e35172d874e54be19cc5d8bf72a735d5e3236f imx-parser-4.0.9.bin
|
shibajee/buildroot
|
package/freescale-imx/imx-parser/imx-parser.hash
|
hash
|
mit
| 113 |
################################################################################
#
# imx-parser
#
################################################################################
IMX_PARSER_VERSION = 4.0.9
IMX_PARSER_SITE = $(FREESCALE_IMX_SITE)
IMX_PARSER_SOURCE = imx-parser-$(IMX_PARSER_VERSION).bin
IMX_PARSER_INSTALL_STAGING = YES
IMX_PARSER_LICENSE = NXP Semiconductor Software License Agreement
IMX_PARSER_LICENSE_FILES = EULA COPYING
IMX_PARSER_REDISTRIBUTE = NO
ifeq ($(BR2_ARM_EABIHF),y)
IMX_PARSER_CONF_OPTS += --enable-fhw
else
IMX_PARSER_CONF_OPTS += --enable-fsw
endif
define IMX_PARSER_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_PARSER_SOURCE))
endef
# The Makefile installs several versions of the libraries, but we only
# need one of them, depending on the platform.
# Upstream installs libraries into usr/lib/imx-mm, but the dynamic
# loader only looks in usr/lib, so move the libraries there
define IMX_PARSER_FIXUP_TARGET_PATH
find $(TARGET_DIR)/usr/lib/imx-mm -not -type d \
-exec mv {} $(TARGET_DIR)/usr/lib \;
rm -rf $(TARGET_DIR)/usr/lib/imx-mm
endef
IMX_PARSER_POST_INSTALL_TARGET_HOOKS += IMX_PARSER_FIXUP_TARGET_PATH
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-parser/imx-parser.mk
|
mk
|
mit
| 1,207 |
config BR2_PACKAGE_IMX_UUC
bool "imx-uuc"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_arm # Only relevant for i.MX
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_HOST_DOSFSTOOLS
help
This package provides the Universal Adapter user-space
utility that is used to receive commands from the
Manufacturing Tool using the Freescale UTP Protocol.
It requires a Freescale/NXP kernel whose configuration
contains the CONFIG_FSL_UTP option.
This package is provided by Freescale/NXP as-is and doesn't
have an upstream.
comment "imx-uuc needs a toolchain w/ threads"
depends on BR2_arm
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/freescale-imx/imx-uuc/Config.in
|
in
|
mit
| 682 |
#!/bin/sh
NAME=uuc
DAEMON=/usr/bin/$NAME
case "$1" in
start)
printf "Starting $NAME: "
start-stop-daemon -S -q -b -p /var/run/${NAME}.pid -x $DAEMON
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
printf "Stopping $NAME: "
start-stop-daemon -K -q -p /var/run/${NAME}.pid
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
restart|reload)
$0 stop
sleep 1
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?
|
shibajee/buildroot
|
package/freescale-imx/imx-uuc/S80imx-uuc
|
none
|
mit
| 451 |
# Locally computed
sha256 95d7f7b075f58fedc07602fbc0e5bf5212d28deea3d09cdbcbd80992dcd18482 imx-uuc-0.5.1.tar.gz
|
shibajee/buildroot
|
package/freescale-imx/imx-uuc/imx-uuc.hash
|
hash
|
mit
| 113 |
################################################################################
#
# imx-uuc
#
################################################################################
IMX_UUC_VERSION = 0.5.1
IMX_UUC_SITE = $(FREESCALE_IMX_SITE)
IMX_UUC_LICENSE = GPLv2+
IMX_UUC_LICENSE_FILES = COPYING
# mkfs.vfat is needed to create a FAT partition used by g_mass_storage
# so Windows do not offer to format the device when connected to the PC.
IMX_UUC_DEPENDENCIES = host-dosfstools
define IMX_UUC_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC=$(TARGET_CC)
endef
define IMX_UUC_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/uuc $(TARGET_DIR)/usr/bin/uuc
$(INSTALL) -D -m 755 $(@D)/sdimage $(TARGET_DIR)/usr/bin/sdimage
dd if=/dev/zero of=$(TARGET_DIR)/fat bs=1M count=1
$(HOST_DIR)/usr/sbin/mkfs.vfat $(TARGET_DIR)/fat
endef
define IMX_UUC_INSTALL_INIT_SYSV
$(INSTALL) -D -m 0755 package/freescale-imx/imx-uuc/S80imx-uuc \
$(TARGET_DIR)/etc/init.d/S80imx-uuc
endef
define IMX_UUC_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 0644 package/freescale-imx/imx-uuc/imx-uuc.service \
$(TARGET_DIR)/usr/lib/systemd/system/imx-uuc.service
mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/
ln -fs ../../../../usr/lib/systemd/system/imx-uuc.service \
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/imx-uuc.service
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-uuc/imx-uuc.mk
|
mk
|
mit
| 1,378 |
[Unit]
Description=i.MX Universal UTP Communication Service
After=systemd-modules-load.service
[Service]
Type=simple
ExecStart=/usr/bin/uuc
[Install]
WantedBy=multi-user.target
|
shibajee/buildroot
|
package/freescale-imx/imx-uuc/imx-uuc.service
|
service
|
mit
| 180 |
comment "imx-vpu needs an i.MX platform with VPU support"
depends on BR2_arm
depends on !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
config BR2_PACKAGE_IMX_VPU
bool "imx-vpu"
depends on BR2_arm # Only relevant for i.MX
depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_FIRMWARE_IMX
help
Library of userspace helpers specific for the Freescale i.MX
platform. It wraps the kernel interfaces for the i.MX platform
Video Processing Unit (VPU) driver. It requires a kernel that
includes the i.MX specific headers to be built.
This library is provided by Freescale as-is and doesn't have
an upstream.
|
shibajee/buildroot
|
package/freescale-imx/imx-vpu/Config.in
|
in
|
mit
| 626 |
# Locally computed
sha256 2e670ef2337a5dbe6c32fa07128ad9aad32afdbf472c23d44133245ec6a66d46 imx-vpu-5.4.33.bin
|
shibajee/buildroot
|
package/freescale-imx/imx-vpu/imx-vpu.hash
|
hash
|
mit
| 111 |
################################################################################
#
# imx-vpu
#
################################################################################
IMX_VPU_VERSION = 5.4.33
IMX_VPU_SITE = $(FREESCALE_IMX_SITE)
IMX_VPU_SOURCE = imx-vpu-$(IMX_VPU_VERSION).bin
IMX_VPU_INSTALL_STAGING = YES
IMX_VPU_MAKE_ENV = \
$(TARGET_MAKE_ENV) \
$(TARGET_CONFIGURE_OPTS) \
CROSS_COMPILE="$(TARGET_CROSS)" \
PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM)
IMX_VPU_LICENSE = NXP Semiconductor Software License Agreement
IMX_VPU_LICENSE_FILES = EULA COPYING
IMX_VPU_REDISTRIBUTE = NO
define IMX_VPU_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_VPU_SOURCE))
endef
define IMX_VPU_BUILD_CMDS
$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D)
endef
define IMX_VPU_INSTALL_STAGING_CMDS
$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install
endef
define IMX_VPU_INSTALL_TARGET_CMDS
$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-vpu/imx-vpu.mk
|
mk
|
mit
| 1,027 |
comment "imx-vpuwrap needs an imx-specific Linux kernel to be built"
depends on BR2_arm
depends on !BR2_LINUX_KERNEL
comment "imx-vpuwrap needs an i.MX platform with VPU support"
depends on BR2_arm
depends on BR2_LINUX_KERNEL && !BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
config BR2_PACKAGE_IMX_VPUWRAP
bool "imx-vpuwrap"
depends on BR2_LINUX_KERNEL
depends on BR2_arm # Only relevant for i.MX
depends on BR2_PACKAGE_FREESCALE_IMX_HAS_VPU
select BR2_PACKAGE_IMX_VPU
help
Wrapper library for the vpu library, giving it a different API.
This library is provided by NXP as-is and doesn't have
an upstream.
|
shibajee/buildroot
|
package/freescale-imx/imx-vpuwrap/Config.in
|
in
|
mit
| 617 |
# locally computed
sha256 ddeacb7d9cb26c8864374df6d3f090aad47cd2ae409c2b9c817b773447252d61 imx-vpuwrap-1.0.65.bin
|
shibajee/buildroot
|
package/freescale-imx/imx-vpuwrap/imx-vpuwrap.hash
|
hash
|
mit
| 115 |
################################################################################
#
# imx-vpuwrap
#
################################################################################
IMX_VPUWRAP_VERSION = 1.0.65
IMX_VPUWRAP_SITE = $(FREESCALE_IMX_SITE)
IMX_VPUWRAP_SOURCE = imx-vpuwrap-$(IMX_VPUWRAP_VERSION).bin
IMX_VPUWRAP_DEPENDENCIES = imx-vpu
IMX_VPUWRAP_INSTALL_STAGING = YES
IMX_VPUWRAP_LICENSE = NXP Semiconductor Software License Agreement
IMX_VPUWRAP_LICENSE_FILES = EULA COPYING
IMX_VPUWRAP_REDISTRIBUTE = NO
define IMX_VPUWRAP_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(IMX_VPUWRAP_SOURCE))
endef
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/freescale-imx/imx-vpuwrap/imx-vpuwrap.mk
|
mk
|
mit
| 658 |
comment "kernel-module-imx-gpu-viv needs a Linux kernel to be built"
depends on !BR2_LINUX_KERNEL
config BR2_PACKAGE_KERNEL_MODULE_IMX_GPU_VIV
bool "kernel-module-imx-gpu-viv"
depends on BR2_LINUX_KERNEL
help
Kernel loadable module for Vivante GPU.
This package uses an exact copy of the GPU kernel driver source code
of the same version as base and include fixes and improvements
developed by FSL Community
https://github.com/Freescale/kernel-module-imx-gpu-viv
|
shibajee/buildroot
|
package/freescale-imx/kernel-module-imx-gpu-viv/Config.in
|
in
|
mit
| 485 |
# locally computed
sha256 6618b36baefd591e94a41167fa50d325c3df473918bceef027ca5a067aa1cffd kernel-module-imx-gpu-viv-aa83874b916cf5655cb90498b1ea5691537fdbc8.tar.gz
|
shibajee/buildroot
|
package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.hash
|
hash
|
mit
| 166 |
################################################################################
#
# kernel-module-imx-gpu-viv
#
################################################################################
KERNEL_MODULE_IMX_GPU_VIV_VERSION = aa83874b916cf5655cb90498b1ea5691537fdbc8
KERNEL_MODULE_IMX_GPU_VIV_SITE = \
$(call github,Freescale,kernel-module-imx-gpu-viv,$(KERNEL_MODULE_IMX_GPU_VIV_VERSION))
KERNEL_MODULE_IMX_GPU_VIV_LICENSE = GPLv2
KERNEL_MODULE_IMX_GPU_VIV_LICENSE_FILES = COPYING
KERNEL_MODULE_IMX_GPU_VIV_MODULE_MAKE_OPTS = \
AQROOT=$(@D)/kernel-module-imx-gpu-viv-src \
KERNEL_DIR=$(LINUX_DIR)
KERNEL_MODULE_IMX_GPU_VIV_MODULE_SUBDIRS = kernel-module-imx-gpu-viv-src
$(eval $(kernel-module))
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/kernel-module-imx-gpu-viv/kernel-module-imx-gpu-viv.mk
|
mk
|
mit
| 734 |
config BR2_PACKAGE_LIBZ160
bool "libz160"
depends on BR2_ARM_EABI
depends on BR2_TOOLCHAIN_USES_GLIBC
help
An API for user space programs to perform 2D accelerated graphics
operations on AMD GPU (included for examples in iMX5x chipsets)
comment "libz160 needs an EABI toolchain w/ glibc"
depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC
|
shibajee/buildroot
|
package/freescale-imx/libz160/Config.in
|
in
|
mit
| 354 |
# locally computed
sha256 08767eb269a0a30ca0aa3d3b5aa9a53a2d17ed1c24651b7e8cefc7704b883f19 libz160-bin-11.09.01.bin
|
shibajee/buildroot
|
package/freescale-imx/libz160/libz160.hash
|
hash
|
mit
| 118 |
################################################################################
#
# libz160
#
################################################################################
LIBZ160_VERSION = 11.09.01
LIBZ160_SOURCE = libz160-bin-$(LIBZ160_VERSION).bin
LIBZ160_SITE = $(FREESCALE_IMX_SITE)
LIBZ160_INSTALL_STAGING = YES
# See freescale-imx
LIBZ160_LICENSE = Freescale Semiconductor Software License Agreement
LIBZ160_LICENSE_FILES = EULA
LIBZ160_REDISTRIBUTE = NO
define LIBZ160_EXTRACT_CMDS
$(call FREESCALE_IMX_EXTRACT_HELPER,$(DL_DIR)/$(LIBZ160_SOURCE))
endef
define LIBZ160_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 755 $(@D)/usr/lib/libz160.so $(STAGING_DIR)/usr/lib/libz160.so
$(INSTALL) -D -m 644 $(@D)/usr/include/z160.h $(STAGING_DIR)/usr/include/z160.h
endef
define LIBZ160_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/usr/lib/libz160.so $(TARGET_DIR)/usr/lib/libz160.so
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/freescale-imx/libz160/libz160.mk
|
mk
|
mit
| 924 |
Fix cross-compiling libvpx
Freeswitch since version 1.6.7 only uses an in-tree-version of libvpx:
https://freeswitch.org/fisheye/changelog/freeswitch?cs=febe0f8dacea2d2a31902b3dc469be757f8c3c4d
It is not possible to use an external version of libvpx anymore.
Unfortunately the freeswitch build system has no support for cross-
compiling libvpx so we need to patch Makefile to pass CROSS from
package/freeswitch/freeswitch.mk and add target=generic-gnu as
configure parameter:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/libs/libvpx/README#110
And yes, autoreconf is also broken, so we patch Makefile.in instead
of Makefile.am.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
diff -uNr freeswitch-1.6.7.org/Makefile.in freeswitch-1.6.7/Makefile.in
--- freeswitch-1.6.7.org/Makefile.in 2016-04-01 18:09:54.000000000 +0200
+++ freeswitch-1.6.7/Makefile.in 2016-04-22 20:11:37.938961730 +0200
@@ -3491,7 +3491,7 @@
cd libs/libzrtp && $(MAKE)
libs/libvpx/Makefile:
- cd libs/libvpx && CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="$(VISIBILITY_FLAG)"
+ cd libs/libvpx && CROSS=$(CROSS) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --target=generic-gnu --enable-pic --disable-docs --disable-examples --disable-install-bins --disable-install-srcs --disable-unit-tests --extra-cflags="$(VISIBILITY_FLAG)"
libs/libvpx/libvpx.a: libs/libvpx/Makefile
@cd libs/libvpx && $(MAKE)
|
shibajee/buildroot
|
package/freeswitch/0001-libvpx-cross.patch
|
patch
|
mit
| 1,645 |
config BR2_PACKAGE_FREESWITCH
bool "freeswitch"
depends on BR2_INSTALL_LIBSTDCPP
depends on !BR2_STATIC_LIBS # apr, included in freeswitch source
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_USE_MMU # apr, included in freeswitch source
depends on BR2_USE_WCHAR # libuuid
select BR2_PACKAGE_FFMPEG_AVRESAMPLE if BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_FFMPEG_SWSCALE if BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_JPEG
# src/mod/applications/mod_cv/mod_cv.cpp includes
# highgui.h, imgproc.hpp & objdetect.hpp
select BR2_PACKAGE_OPENCV_LIB_HIGHGUI if BR2_PACKAGE_OPENCV
select BR2_PACKAGE_OPENCV_LIB_IMGPROC if BR2_PACKAGE_OPENCV
select BR2_PACKAGE_OPENCV_LIB_OBJDETECT if BR2_PACKAGE_OPENCV
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_PCRE
select BR2_PACKAGE_SPEEX
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
select BR2_PACKAGE_ZLIB
help
FreeSWITCH is a scalable open source cross-platform
telephony platform designed to route and interconnect
popular communication protocols using audio, video, text or
any other form of media.
https://www.freeswitch.org
comment "freeswitch needs a toolchain w/ C++, dynamic library, threads, wchar"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS \
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
shibajee/buildroot
|
package/freeswitch/Config.in
|
in
|
mit
| 1,383 |
# From http://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.9.tar.xz.sha256
sha256 aa5f191113be2bd44cb4f2108da3dcc37be3234c6b733896fbff97526ac66451 freeswitch-1.6.9.tar.xz
|
shibajee/buildroot
|
package/freeswitch/freeswitch.hash
|
hash
|
mit
| 182 |
################################################################################
#
# freeswitch
#
################################################################################
FREESWITCH_VERSION = 1.6.9
FREESWITCH_SOURCE = freeswitch-$(FREESWITCH_VERSION).tar.xz
FREESWITCH_SITE = http://files.freeswitch.org/freeswitch-releases
FREESWITCH_LICENSE = MPLv1.1, \
GPLv3+ with font exception (fonts), \
Apache-2.0 (apr, apr-util), \
LGPLv2+ (sofia-sip), \
LGPLv2.1, GPLv2 (spandsp), \
BSD-3c (libsrtp), \
tiff license
FREESWITCH_LICENSE_FILES = \
COPYING \
libs/apr/LICENSE \
libs/apr-util/LICENSE \
libs/sofia-sip/COPYING \
libs/sofia-sip/COPYRIGHTS \
libs/spandsp/COPYING \
libs/srtp/LICENSE \
libs/tiff-4.0.2/COPYRIGHT
# required dependencies
FREESWITCH_DEPENDENCIES = \
host-pkgconf \
jpeg \
libcurl \
openssl \
pcre \
speex \
sqlite \
util-linux \
zlib
# we neither need host-perl nor host-php
FREESWITCH_CONF_ENV += \
ac_cv_prog_PERL=false \
ac_cv_have_perl=no \
ac_cv_prog_PHP=false \
ac_cv_have_php=no \
ac_cv_prog_PHP_CONFIG=false \
ac_cv_have_php_config=no
# copied from freeswitch/configure.ac, line 258+
FREESWITCH_CONF_ENV += \
ac_cv_file__dev_ptmx=yes \
ac_cv_va_copy=yes \
ac_cv_file__dev_urandom=yes \
ac_cv_func_realloc_0_nonnull=yes \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_setpgrp_void=yes \
ac_cv_file__dev_zero=yes \
apr_cv_tcp_nodelay_with_cork=yes \
ac_cv_file_dbd_apr_dbd_mysql_c=no \
ac_cv_sizeof_ssize_t=4 \
apr_cv_mutex_recursive=yes \
ac_cv_func_pthread_rwlock_init=yes \
apr_cv_type_rwlock_t=yes \
apr_cv_process_shared_works=yes \
apr_cv_mutex_robust_shared=yes
# build breaks with -Werror enabled
FREESWITCH_CONF_ENV += \
ac_cv_gcc_supports_w_no_unused_result=no
FREESWITCH_CONF_OPTS = \
--without-erlang \
--enable-fhs \
--without-python \
--disable-system-xmlrpc-c
# zrtp supports a limited set of archs, sparc support is also broken due
# to a broken ld call by gcc, see libs/libzrtp/include/zrtp_config.h
ifeq ($(BR2_i386)$(BR2_arm)$(BR2_armeb)$(BR2_aarch64)$(BR2_aarch64_be)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpcle)$(BR2_x86_64),y)
FREESWITCH_LICENSE_FILES += libs/libzrtp/src/zrtp_legal.c
FREESWITCH_CONF_OPTS += --enable-zrtp
else
FREESWITCH_CONF_OPTS += --disable-zrtp
endif
# Enable optional modules
FREESWITCH_ENABLED_MODULES += \
applications/mod_avmd \
applications/mod_blacklist \
applications/mod_callcenter \
applications/mod_commands \
applications/mod_conference \
applications/mod_curl \
applications/mod_db \
applications/mod_directory \
applications/mod_dptools \
applications/mod_easyroute \
applications/mod_esf \
applications/mod_esl \
applications/mod_expr \
applications/mod_fifo \
applications/mod_fsk \
applications/mod_hash \
applications/mod_httapi \
applications/mod_lcr \
applications/mod_sms \
applications/mod_snom \
applications/mod_spandsp \
applications/mod_spy \
applications/mod_valet_parking \
applications/mod_voicemail \
codecs/mod_g723_1 \
codecs/mod_g729 \
dialplans/mod_dialplan_asterisk \
dialplans/mod_dialplan_xml \
endpoints/mod_loopback \
endpoints/mod_rtc \
endpoints/mod_rtmp \
endpoints/mod_sofia \
endpoints/mod_verto \
event_handlers/mod_cdr_csv \
event_handlers/mod_cdr_sqlite \
event_handlers/mod_event_socket \
formats/mod_local_stream \
formats/mod_native_file \
formats/mod_tone_stream \
loggers/mod_console \
loggers/mod_logfile \
loggers/mod_syslog \
say/mod_say_de \
say/mod_say_en \
say/mod_say_es \
say/mod_say_es_ar \
say/mod_say_fa \
say/mod_say_fr \
say/mod_say_he \
say/mod_say_hr \
say/mod_say_hu \
say/mod_say_it \
say/mod_say_ja \
say/mod_say_nl \
say/mod_say_pl \
say/mod_say_pt \
say/mod_say_ru \
say/mod_say_sv \
say/mod_say_th \
say/mod_say_zh \
xml_int/mod_xml_cdr \
xml_int/mod_xml_rpc \
xml_int/mod_xml_scgi
define FREESWITCH_ENABLE_MODULES
$(Q)echo $(FREESWITCH_ENABLED_MODULES) \
| tr ' ' '\n' \
> $(@D)/modules.conf
endef
FREESWITCH_PRE_CONFIGURE_HOOKS += FREESWITCH_ENABLE_MODULES
# mod_isac supports a limited set of archs
# src/mod/codecs/mod_isac/typedefs.h
ifeq ($(BR2_i386)$(BR2_mips)$(BR2_mipsel)$(BR2_mips64)$(BR2_mips64el)$(BR2_x86_64),y)
FREESWITCH_LICENSE := $(FREESWITCH_LICENSE), BSD-3c (mod_isac)
FREESWITCH_LICENSE_FILES += src/mod/codecs/mod_isac/LICENSE
FREESWITCH_ENABLED_MODULES += codecs/mod_isac
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
FREESWITCH_DEPENDENCIES += alsa-lib
FREESWITCH_ENABLED_MODULES += endpoints/mod_alsa
endif
ifeq ($(BR2_PACKAGE_FREETYPE),y)
FREESWITCH_DEPENDENCIES += freetype
endif
ifeq ($(BR2_PACKAGE_LIBBROADVOICE),y)
FREESWITCH_DEPENDENCIES += libbroadvoice
FREESWITCH_ENABLED_MODULES += codecs/mod_bv
endif
ifeq ($(BR2_PACKAGE_LIBCODEC2),y)
FREESWITCH_DEPENDENCIES += libcodec2
FREESWITCH_ENABLED_MODULES += codecs/mod_codec2
endif
ifeq ($(BR2_PACKAGE_LIBEDIT),y)
FREESWITCH_DEPENDENCIES += libedit
FREESWITCH_CONF_OPTS += --enable-core-libedit-support
else
FREESWITCH_CONF_OPTS += --disable-core-libedit-support
endif
ifeq ($(BR2_PACKAGE_LIBG7221),y)
FREESWITCH_DEPENDENCIES += libg7221
endif
ifeq ($(BR2_PACKAGE_LIBILBC),y)
FREESWITCH_DEPENDENCIES += libilbc
FREESWITCH_ENABLED_MODULES += codecs/mod_ilbc
endif
ifeq ($(BR2_PACKAGE_LIBLDNS),y)
FREESWITCH_DEPENDENCIES += libldns
FREESWITCH_ENABLED_MODULES += applications/mod_enum
endif
ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y)
FREESWITCH_DEPENDENCIES += libmemcached
FREESWITCH_ENABLED_MODULES += applications/mod_memcache
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y)
FREESWITCH_DEPENDENCIES += libpng
FREESWITCH_ENABLED_MODULES += formats/mod_png
endif
ifeq ($(BR2_PACKAGE_LIBYAML),y)
FREESWITCH_DEPENDENCIES += libyaml
FREESWITCH_ENABLED_MODULES += languages/mod_yaml
endif
ifeq ($(BR2_PACKAGE_LUA),y)
FREESWITCH_DEPENDENCIES += lua
FREESWITCH_ENABLED_MODULES += languages/mod_lua
endif
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
FREESWITCH_DEPENDENCIES += openldap
FREESWITCH_ENABLED_MODULES += directories/mod_ldap xml_int/mod_xml_ldap
endif
ifeq ($(BR2_PACKAGE_OPUS),y)
FREESWITCH_DEPENDENCIES += opus
FREESWITCH_ENABLED_MODULES += codecs/mod_opus
endif
ifeq ($(BR2_PACKAGE_PORTAUDIO),y)
FREESWITCH_DEPENDENCIES += portaudio
FREESWITCH_ENABLED_MODULES += endpoints/mod_portaudio
endif
ifeq ($(BR2_PACKAGE_LAME)$(BR2_PACKAGE_LIBSHOUT)$(BR2_PACKAGE_MPG123),yyy)
FREESWITCH_DEPENDENCIES += lame libshout mpg123
FREESWITCH_ENABLED_MODULES += formats/mod_shout
endif
ifeq ($(BR2_PACKAGE_LIBSILK),y)
FREESWITCH_DEPENDENCIES += libsilk
FREESWITCH_ENABLED_MODULES += codecs/mod_silk
endif
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
FREESWITCH_DEPENDENCIES += libsndfile
FREESWITCH_ENABLED_MODULES += formats/mod_sndfile
endif
ifeq ($(BR2_PACKAGE_LIBSOUNDTOUCH),y)
FREESWITCH_DEPENDENCIES += libsoundtouch
FREESWITCH_ENABLED_MODULES += applications/mod_soundtouch
endif
ifeq ($(BR2_PACKAGE_OPENCV),y)
FREESWITCH_DEPENDENCIES += opencv
FREESWITCH_ENABLED_MODULES += applications/mod_cv
endif
ifeq ($(BR2_PACKAGE_UNIXODBC),y)
FREESWITCH_DEPENDENCIES += unixodbc
FREESWITCH_CONF_OPTS += \
--enable-core-odbc-support \
--with-odbc=$(STAGING_DIR)/usr
else
FREESWITCH_CONF_OPTS += --disable-core-odbc-support
endif
ifeq ($(BR2_PACKAGE_XZ),y)
FREESWITCH_DEPENDENCIES += xz
endif
ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8)$(BR2_PACKAGE_FFMPEG),yy)
FREESWITCH_LICENSE := $(FREESWITCH_LICENSE), BSD-3c (libvpx, libyuv)
FREESWITCH_LICENSE_FILES += libs/libvpx/LICENSE libs/libyuv/LICENSE
FREESWITCH_CONF_OPTS += --enable-libvpx --enable-libyuv
FREESWITCH_DEPENDENCIES += host-yasm ffmpeg
FREESWITCH_ENABLED_MODULES += applications/mod_av applications/mod_fsv
FREESWITCH_MAKE_ENV += CROSS=$(TARGET_CROSS)
else
FREESWITCH_CONF_OPTS += --disable-libvpx --disable-libyuv
endif
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/freeswitch/freeswitch.mk
|
mk
|
mit
| 7,778 |
config BR2_PACKAGE_FREETYPE
bool "freetype"
help
a free, high-quality and portable font engine.
http://www.freetype.org/
|
shibajee/buildroot
|
package/freetype/Config.in
|
in
|
mit
| 130 |
# Locally calculated after checking pgp signature
sha256 e20a6e1400798fd5e3d831dd821b61c35b1f9a6465d6b18a53a9df4cf441acf0 freetype-2.6.5.tar.bz2
|
shibajee/buildroot
|
package/freetype/freetype.hash
|
hash
|
mit
| 145 |
################################################################################
#
# freetype
#
################################################################################
FREETYPE_VERSION = 2.6.5
FREETYPE_SOURCE = freetype-$(FREETYPE_VERSION).tar.bz2
FREETYPE_SITE = http://download.savannah.gnu.org/releases/freetype
FREETYPE_INSTALL_STAGING = YES
FREETYPE_MAKE_OPTS = CCexe="$(HOSTCC)"
FREETYPE_LICENSE = Dual FTL/GPLv2+
FREETYPE_LICENSE_FILES = docs/FTL.TXT docs/GPLv2.TXT
FREETYPE_DEPENDENCIES = host-pkgconf
FREETYPE_CONFIG_SCRIPTS = freetype-config
HOST_FREETYPE_DEPENDENCIES = host-pkgconf
HOST_FREETYPE_CONF_OPTS = --without-zlib --without-bzip2 --without-png
# Regen required because the tarball ships with an experimental ltmain.sh
# that can't be patched by our infra.
# autogen.sh is because autotools stuff lives in other directories and
# even AUTORECONF with _OPTS doesn't do it properly.
# POST_PATCH is because we still need to patch libtool after the regen.
define FREETYPE_RUN_AUTOGEN
cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
endef
FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN
HOST_FREETYPE_POST_PATCH_HOOKS += FREETYPE_RUN_AUTOGEN
FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool
HOST_FREETYPE_DEPENDENCIES += host-automake host-autoconf host-libtool
ifeq ($(BR2_PACKAGE_ZLIB),y)
FREETYPE_DEPENDENCIES += zlib
FREETYPE_CONF_OPTS += --with-zlib
else
FREETYPE_CONF_OPTS += --without-zlib
endif
ifeq ($(BR2_PACKAGE_BZIP2),y)
FREETYPE_DEPENDENCIES += bzip2
FREETYPE_CONF_OPTS += --with-bzip2
else
FREETYPE_CONF_OPTS += --without-bzip2
endif
ifeq ($(BR2_PACKAGE_LIBPNG),y)
FREETYPE_DEPENDENCIES += libpng
FREETYPE_CONF_OPTS += LIBPNG_CFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --cflags`" \
LIBPNG_LDFLAGS="`$(STAGING_DIR)/usr/bin/libpng-config --ldflags`"
FREETYPE_LIBPNG_LIBS = "`$(STAGING_DIR)/usr/bin/libpng-config --libs`"
else
FREETYPE_CONF_OPTS += --without-png
endif
# Extra fixing since includedir and libdir are expanded from configure values
define FREETYPE_FIX_CONFIG_FILE
$(SED) 's:^includedir=.*:includedir="$${prefix}/include":' \
-e 's:^libdir=.*:libdir="$${exec_prefix}/lib":' \
$(STAGING_DIR)/usr/bin/freetype-config
endef
FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE
# libpng isn't included in freetype-config & freetype2.pc :-/
define FREETYPE_FIX_CONFIG_FILE_LIBS
$(SED) "s,^Libs.private:,& $(FREETYPE_LIBPNG_LIBS)," \
$(STAGING_DIR)/usr/lib/pkgconfig/freetype2.pc
$(SED) "s,-lfreetype,& $(FREETYPE_LIBPNG_LIBS)," \
$(STAGING_DIR)/usr/bin/freetype-config
endef
FREETYPE_POST_INSTALL_STAGING_HOOKS += FREETYPE_FIX_CONFIG_FILE_LIBS
$(eval $(autotools-package))
$(eval $(host-autotools-package))
# freetype-patch and host-freetype-patch use autogen.sh so add
# host-automake as a order-only-prerequisite because it is a phony
# target.
$(FREETYPE_TARGET_PATCH) $(HOST_FREETYPE_TARGET_PATCH): | host-automake
|
shibajee/buildroot
|
package/freetype/freetype.mk
|
mk
|
mit
| 2,913 |
config BR2_PACKAGE_FSWEBCAM
bool "fswebcam"
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS
select BR2_PACKAGE_GD
select BR2_PACKAGE_FREETYPE
select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBPNG
help
fswebcam is a neat and simple webcam app. It captures images
from a V4L1/V4L2 compatible device or file, averages them to
reduce noise and draws a caption using the GD Graphics
Library which also handles compressing the image to PNG or
JPEG. The resulting image is saved to a file or sent to
stdio where it can be piped to something like ncftpput or
scp.
http://www.firestorm.cx/fswebcam/
comment "fswebcam needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS
|
shibajee/buildroot
|
package/fswebcam/Config.in
|
in
|
mit
| 740 |
# Locally calculated
sha256 3ee389f72a7737700d22e0c954720b1e3bbadc8a0daad6426c25489ba9dc3199 fswebcam-20140113.tar.gz
|
shibajee/buildroot
|
package/fswebcam/fswebcam.hash
|
hash
|
mit
| 118 |
################################################################################
#
# fswebcam
#
################################################################################
FSWEBCAM_VERSION = 20140113
FSWEBCAM_SITE = http://www.firestorm.cx/fswebcam/files
FSWEBCAM_LICENSE = GPLv2
FSWEBCAM_LICENSE_FILES = LICENSE
FSWEBCAM_DEPENDENCIES += freetype jpeg libpng gd
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/fswebcam/fswebcam.mk
|
mk
|
mit
| 399 |
Set tmp_buf and rate_buf to something ridiculously high to fix a buffer
overflow when COLUMNS is large. - JeR
(Taken from gentoo portage)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
--- a/src/ftop.c 2009-02-16 07:00:00.000000000 +0100
+++ b/src/ftop.c 2013-09-06 14:42:41.788852952 +0200
@@ -736,7 +736,7 @@
{
size_t i, j, bytes, bar_total;
char more_procs_ch, more_files_ch, expanded_ch;
- char tmp_buf[80], rate_buf[80];
+ char tmp_buf[2048], rate_buf[2048];
char *tmp_str;
snapshot *s, *s_prev;
file_info *tmp_file;
|
shibajee/buildroot
|
package/ftop/0001-overflow.patch
|
patch
|
mit
| 567 |
config BR2_PACKAGE_FTOP
bool "ftop"
select BR2_PACKAGE_NCURSES
help
Ftop is to files what top is to processes.
The progress of all open files and file systems can be monitored.
https://code.google.com/p/ftop/
|
shibajee/buildroot
|
package/ftop/Config.in
|
in
|
mit
| 222 |
# From https://code.google.com/p/ftop/downloads/detail?name=ftop-1.0.tar.gz&can=2&q=
sha1 a0523862dd63ed3bec14846b6e05afcfdebb15c2 ftop-1.0.tar.gz
|
shibajee/buildroot
|
package/ftop/ftop.hash
|
hash
|
mit
| 147 |
################################################################################
#
# ftop
#
################################################################################
FTOP_VERSION = 1.0
FTOP_SITE = http://ftop.googlecode.com/files
FTOP_DEPENDENCIES = ncurses
FTOP_LICENSE = GPLv3+
FTOP_LICENSE_FILES = COPYING
$(eval $(autotools-package))
|
shibajee/buildroot
|
package/ftop/ftop.mk
|
mk
|
mit
| 347 |
config BR2_PACKAGE_FWUP
bool "fwup"
depends on BR2_USE_MMU
depends on BR2_USE_WCHAR
select BR2_PACKAGE_LIBARCHIVE
# required by libarchive to include zip compression
select BR2_PACKAGE_ZLIB
select BR2_PACKAGE_LIBCONFUSE
select BR2_PACKAGE_LIBSODIUM
help
Fwup is a scriptable embedded Linux firmware update creator
and runner.
https://github.com/fhunleth/fwup
comment "fwup needs a toolchain w/ wchar"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR
|
shibajee/buildroot
|
package/fwup/Config.in
|
in
|
mit
| 472 |
config BR2_PACKAGE_HOST_FWUP
bool "host fwup"
help
Fwup is a scriptable embedded Linux firmware update creator
and runner.
https://github.com/fhunleth/fwup
|
shibajee/buildroot
|
package/fwup/Config.in.host
|
host
|
mit
| 168 |
# Locally calculated
sha256 64c3a0ac38dc11c0c05b2588a89638cbc37f5552ac0f1c290f7ee5365f2bba49 fwup-v0.8.2.tar.gz
|
shibajee/buildroot
|
package/fwup/fwup.hash
|
hash
|
mit
| 119 |
#############################################################
#
# fwup
#
#############################################################
FWUP_VERSION = v0.8.2
FWUP_SITE = $(call github,fhunleth,fwup,$(FWUP_VERSION))
FWUP_LICENSE = Apache-2.0
FWUP_LICENSE_FILES = LICENSE
FWUP_DEPENDENCIES = libconfuse libarchive libsodium
HOST_FWUP_DEPENDENCIES = host-libconfuse host-libarchive host-libsodium
FWUP_AUTORECONF = YES
FWUP_CONF_ENV = ac_cv_path_HELP2MAN=""
$(eval $(autotools-package))
$(eval $(host-autotools-package))
|
shibajee/buildroot
|
package/fwup/fwup.mk
|
mk
|
mit
| 519 |
config BR2_PACKAGE_FXLOAD
bool "fxload"
help
This program is conveniently able to download firmware into FX, FX2,
and FX2LP EZ-USB devices, as well as the original AnchorChips EZ-USB.
It is intended to be invoked by hotplug scripts when the unprogrammed
device appears on the bus.
http://sourceforge.net/projects/linux-hotplug/
|
shibajee/buildroot
|
package/fxload/Config.in
|
in
|
mit
| 346 |
# Locally computed:
sha256 0cc8bfd2a7cbba2f68e0c5767477634922287943c91dd9fcf029fc8b9d577858 fxload-2008_10_13.tar.gz
|
shibajee/buildroot
|
package/fxload/fxload.hash
|
hash
|
mit
| 119 |
################################################################################
#
# fxload
#
################################################################################
FXLOAD_VERSION = 2008_10_13
FXLOAD_SITE = http://downloads.sourceforge.net/project/linux-hotplug/fxload/$(FXLOAD_VERSION)
FXLOAD_LICENSE = GPLv2+
FXLOAD_LICENSE_FILES = COPYING
define FXLOAD_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
endef
define FXLOAD_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) prefix=$(TARGET_DIR) -C $(@D) install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/fxload/fxload.mk
|
mk
|
mit
| 611 |
From 8cf5909c6f8e0a892155dea14a07adfad445762d Mon Sep 17 00:00:00 2001
From: Haavard Skinnemoen <hskinnemoen@atmel.com>
Date: Sat, 23 Jun 2007 18:34:09 +0200
Subject: [PATCH] Include usb/ch9.h instead of usb_ch9.h
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
---
usb.c | 2 +-
usbstring.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/usb.c b/usb.c
index ea6c7de..b161154 100644
--- a/usb.c
+++ b/usb.c
@@ -35,7 +35,7 @@
#include <linux/types.h>
#include <linux/usb_gadgetfs.h>
-#include <linux/usb_ch9.h>
+#include <linux/usb/ch9.h>
#ifdef AIO
/* this aio code works with libaio-0.3.106 */
diff --git a/usbstring.c b/usbstring.c
index 4bf2965..993acc2 100644
--- a/usbstring.c
+++ b/usbstring.c
@@ -11,7 +11,7 @@
#include <string.h>
#include <linux/types.h>
-#include <linux/usb_ch9.h>
+#include <linux/usb/ch9.h>
#include "usbstring.h"
--
1.5.2.2
|
shibajee/buildroot
|
package/gadgetfs-test/0001-fix-usb-ch9-include.patch
|
patch
|
mit
| 920 |
diff -upr gadgetfs-test-orig/usb.c gadgetfs-test/usb.c
--- gadgetfs-test-orig/usb.c 2007-07-18 14:38:38.000000000 +0200
+++ gadgetfs-test/usb.c 2007-07-18 15:33:04.000000000 +0200
@@ -34,7 +34,7 @@
#include <asm/byteorder.h>
#include <linux/types.h>
-#include <linux/usb_gadgetfs.h>
+#include <linux/usb/gadgetfs.h>
#include <linux/usb/ch9.h>
#ifdef AIO
|
shibajee/buildroot
|
package/gadgetfs-test/0002-rename-include-usb_gadgetfs-to-usb-dir.patch
|
patch
|
mit
| 362 |
config BR2_PACKAGE_GADGETFS_TEST
bool "gadgetfs-test"
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Test program for gadgetfs from linux-usb.org
if BR2_PACKAGE_GADGETFS_TEST
config BR2_PACKAGE_GADGETFS_TEST_USE_AIO
bool "use asynchronous i/o"
depends on BR2_PACKAGE_LIBAIO_ARCH_SUPPORTS
select BR2_PACKAGE_LIBAIO
help
Select this to have gadgetfs-test do asynchronous I/O using
the libaio library.
endif
comment "gadgetfs-test needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
shibajee/buildroot
|
package/gadgetfs-test/Config.in
|
in
|
mit
| 512 |
# Locally calculated
sha256 bd8ebcf7ce86f4b022a4e7ba6b1cc16ffc4022bb58c1910fe4ac96c88217e7ec gadgetfs-test.tar.bz2
|
shibajee/buildroot
|
package/gadgetfs-test/gadgetfs-test.hash
|
hash
|
mit
| 115 |
################################################################################
#
# gadgetfs-test
#
################################################################################
GADGETFS_TEST_SOURCE = gadgetfs-test.tar.bz2
GADGETFS_TEST_SITE = http://mirror.egtvedt.no/avr32linux.org/twiki/pub/Main/GadgetFsTest
GADGETFS_TEST_MAKEOPTS = CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)"
ifeq ($(BR2_PACKAGE_GADGETFS_TEST_USE_AIO),y)
GADGETFS_TEST_DEPENDENCIES = libaio
GADGETFS_TEST_MAKEOPTS += USE_AIO=y
endif
define GADGETFS_TEST_BUILD_CMDS
$(MAKE) -C $(@D) $(GADGETFS_TEST_MAKEOPTS)
endef
define GADGETFS_TEST_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) prefix=/usr install
endef
$(eval $(generic-package))
|
shibajee/buildroot
|
package/gadgetfs-test/gadgetfs-test.mk
|
mk
|
mit
| 759 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.