1 ################################################################################
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
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
28 define FMLIB_BUILD_CMDS
29 $(TARGET_MAKE_ENV
) $(MAKE
) $(FMLIB_MAKE_OPTS
) -C
$(@D
) libfm-
$(FMLIB_ARCHTYPE
).a
32 define FMLIB_INSTALL_STAGING_CMDS
33 $(FMLIB_MAKE_ENV
) $(MAKE
) $(FMLIB_MAKE_OPTS
) -C
$(@D
) install-libfm-
$(FMLIB_ARCHTYPE
)
36 $(eval
$(generic-package
))