1 ################################################################################
5 ################################################################################
7 FMC_VERSION
= fsl-sdk-v2.0
8 FMC_SITE
= git
://git.freescale.com
/ppc
/sdk
/fmc.git
10 FMC_LICENSE_FILES
= COPYING
11 FMC_DEPENDENCIES
= libxml2 tclap fmlib
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 ifeq ($(BR2_powerpc64
),y
)
22 FMC_MAKE_OPTS
+= M64BIT
=1
25 # fmc's platform is the same as fmlib's.
26 FMC_PLATFORM
= $(call qstrip
,$(BR2_PACKAGE_FMLIB_PLATFORM
))
29 $(SED
) "s:P4080:$(FMC_PLATFORM):g" $(@D
)/source
/Makefile
30 # The linking step has dependency issues so using MAKE1
31 $(TARGET_MAKE_ENV
) $(MAKE1
) $(FMC_MAKE_OPTS
) -C
$(@D
)/source
34 define FMC_INSTALL_TARGET_CMDS
35 $(INSTALL
) -D
-m
0755 $(@D
)/source
/fmc
$(TARGET_DIR
)/usr
/sbin
/fmc
36 cp
-dpfr
$(@D
)/etc
/fmc
$(TARGET_DIR
)/etc
/
39 $(eval
$(generic-package
))