perl-path-tiny: bump to version 0.061
[buildroot-gz.git] / package / fmlib / fmlib.mk
blobf8698a47f0220671a15dc9a34868ffe3837d964b
1 ################################################################################
3 # fmlib
5 ################################################################################
7 FMLIB_VERSION = fsl-sdk-v1.5-rc3
8 FMLIB_SITE = git://git.freescale.com/ppc/sdk/fmlib.git
9 FMLIB_LICENSE = BSD-3c GPLv2+
10 FMLIB_LICENSE_FILES = COPYING
11 FMLIB_DEPENDENCIES = linux
12 FMLIB_INSTALL_STAGING = YES
14 # This package installs a static library only, so there's
15 # nothing to install to the target
16 FMLIB_INSTALL_TARGET = NO
18 FMLIB_MAKE_OPTS = \
19 CC="$(TARGET_CC)" \
20 CROSS_COMPILE="$(TARGET_CROSS)" \
21 KERNEL_SRC="$(LINUX_DIR)" \
22 PREFIX="$(STAGING_DIR)/usr"
24 ifeq ($(BR2_powerpc_e500mc),y)
25 FMLIB_ARCHTYPE = ppce500mc
26 endif
28 define FMLIB_BUILD_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) libfm-$(FMLIB_ARCHTYPE).a
30 endef
32 define FMLIB_INSTALL_STAGING_CMDS
33 $(FMLIB_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) install-libfm-$(FMLIB_ARCHTYPE)
34 endef
36 $(eval $(generic-package))