fmlib: new package
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5e27a98b4d
commit
68d35f7d92
@ -718,6 +718,7 @@ menu "Networking"
|
|||||||
source "package/cppzmq/Config.in"
|
source "package/cppzmq/Config.in"
|
||||||
source "package/czmq/Config.in"
|
source "package/czmq/Config.in"
|
||||||
source "package/filemq/Config.in"
|
source "package/filemq/Config.in"
|
||||||
|
source "package/fmlib/Config.in"
|
||||||
source "package/glib-networking/Config.in"
|
source "package/glib-networking/Config.in"
|
||||||
source "package/libcgi/Config.in"
|
source "package/libcgi/Config.in"
|
||||||
source "package/libcgicc/Config.in"
|
source "package/libcgicc/Config.in"
|
||||||
|
14
package/fmlib/Config.in
Normal file
14
package/fmlib/Config.in
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
comment "fmlib needs a Linux kernel to be built"
|
||||||
|
depends on !BR2_LINUX_KERNEL
|
||||||
|
|
||||||
|
config BR2_PACKAGE_FMLIB
|
||||||
|
bool "fmlib"
|
||||||
|
depends on BR2_powerpc_e500mc
|
||||||
|
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
|
36
package/fmlib/fmlib.mk
Normal file
36
package/fmlib/fmlib.mk
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#############################################################
|
||||||
|
#
|
||||||
|
# fmlib
|
||||||
|
#
|
||||||
|
#############################################################
|
||||||
|
|
||||||
|
FMLIB_VERSION = fsl-sdk-v1.5-rc3
|
||||||
|
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"
|
||||||
|
|
||||||
|
ifeq ($(BR2_powerpc_e500mc),y)
|
||||||
|
FMLIB_ARCHTYPE = ppce500mc
|
||||||
|
endif
|
||||||
|
|
||||||
|
define FMLIB_BUILD_CMDS
|
||||||
|
$(TARGET_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) libfm-$(FMLIB_ARCHTYPE).a
|
||||||
|
endef
|
||||||
|
|
||||||
|
define FMLIB_INSTALL_STAGING_CMDS
|
||||||
|
$(FMLIB_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) install-libfm-$(FMLIB_ARCHTYPE)
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(generic-package))
|
Loading…
Reference in New Issue
Block a user