cannelloni: needs dynamic library
[buildroot-gz.git] / package / fmc / fmc.mk
blob49c5fe86ad1eae81a4966702bc975951830c84ec
1 ################################################################################
3 # fmc
5 ################################################################################
7 FMC_VERSION = fsl-sdk-v1.5-rc3
8 FMC_SITE = git://git.freescale.com/ppc/sdk/fmc.git
9 FMC_LICENSE = MIT
10 FMC_LICENSE_FILES = COPYING
11 FMC_DEPENDENCIES = libxml2 tclap fmlib
13 FMC_MAKE_OPTS = \
14 CC="$(TARGET_CC)" \
15 CXX="$(TARGET_CXX)" \
16 FMD_USPACE_HEADER_PATH="$(STAGING_DIR)/usr/include/fmd" \
17 FMD_USPACE_LIB_PATH="$(STAGING_DIR)/usr/lib" \
18 LIBXML2_HEADER_PATH="$(STAGING_DIR)/usr/include/libxml2" \
19 TCLAP_HEADER_PATH="$(STAGING_DIR)/usr/include"
21 define FMC_BUILD_CMDS
22 # The linking step has dependency issues so using MAKE1
23 $(TARGET_MAKE_ENV) $(MAKE1) $(FMC_MAKE_OPTS) -C $(@D)/source
24 endef
26 define FMC_INSTALL_TARGET_CMDS
27 $(INSTALL) -D -m 0755 $(@D)/source/fmc $(TARGET_DIR)/usr/sbin/fmc
28 cp -dpfr $(@D)/etc/fmc $(TARGET_DIR)/etc/
29 endef
31 $(eval $(generic-package))