NXP moved all its open source code repositories from Code Aurora Forum to github. See for example:39bc4d8196
Software packages are now grouped in several NXP github projects/organizations (nxp-imx, nxp-qoriq, ...). See: https://www.nxp.com/design/software/embedded-software/nxp-github:NXP-GITHUB The NXP code published on Code Aurora is still present (at the time of this commit) but is no longer receiving updates. It is also expected to be shut down on 2023-03-31. The Code Aurora website https://source.codeaurora.org/ currently show the following message: """ Note: Qualcomm Innovation Center Inc. maintained repositories have migrated to git.codelinaro.org. QUIC repositories on this site will not receive any updates after March 31, 2022, and will be deleted on March 31, 2023. If your project depends on these repositories, please adjust your tooling configuration to use the new, up-to-date project location. """ For this reason, the NXP recipes using codeaurora.org urls need to be updated to the correct github.com replacement. This commit also: - changes the _SITE_METHOD from "git" to the default "wget", - updates an old and broken freescale.com app note link, - adds the github project page as project url. Note: this commit does not change the component version. Only the download URL is updated. The archive content is expected to be the same. The version "fsl-sdk-v2.0" is an old tag from 2015. It was not migrated to github. This commit use instead the commit id corresponding to this tag. See: https://source.codeaurora.org/external/qoriq/qoriq-yocto-sdk/fmc/commit/?h=fsl-sdk-v2.0&id=a079d2c844edd85dff85a317a63198e7988bcd09 The commit id exists on github:a079d2c844
Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
40 lines
1.2 KiB
Makefile
40 lines
1.2 KiB
Makefile
################################################################################
|
|
#
|
|
# fmc
|
|
#
|
|
################################################################################
|
|
|
|
FMC_VERSION = a079d2c844edd85dff85a317a63198e7988bcd09
|
|
FMC_SITE = $(call github,nxp-qoriq,fmc,$(FMC_VERSION))
|
|
FMC_LICENSE = MIT
|
|
FMC_LICENSE_FILES = COPYING
|
|
FMC_DEPENDENCIES = libxml2 tclap fmlib
|
|
|
|
FMC_MAKE_OPTS = \
|
|
CC="$(TARGET_CC)" \
|
|
CXX="$(TARGET_CXX)" \
|
|
FMD_USPACE_HEADER_PATH="$(STAGING_DIR)/usr/include/fmd" \
|
|
FMD_USPACE_LIB_PATH="$(STAGING_DIR)/usr/lib" \
|
|
LIBXML2_HEADER_PATH="$(STAGING_DIR)/usr/include/libxml2" \
|
|
TCLAP_HEADER_PATH="$(STAGING_DIR)/usr/include"
|
|
|
|
ifeq ($(BR2_powerpc64),y)
|
|
FMC_MAKE_OPTS += M64BIT=1
|
|
endif
|
|
|
|
# fmc's platform is the same as fmlib's.
|
|
FMC_PLATFORM = $(call qstrip,$(BR2_PACKAGE_FMLIB_PLATFORM))
|
|
|
|
define FMC_BUILD_CMDS
|
|
$(SED) "s:P4080:$(FMC_PLATFORM):g" $(@D)/source/Makefile
|
|
# The linking step has dependency issues so using MAKE1
|
|
$(TARGET_MAKE_ENV) $(MAKE1) $(FMC_MAKE_OPTS) -C $(@D)/source
|
|
endef
|
|
|
|
define FMC_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/source/fmc $(TARGET_DIR)/usr/sbin/fmc
|
|
cp -dpfr $(@D)/etc/fmc $(TARGET_DIR)/etc/
|
|
endef
|
|
|
|
$(eval $(generic-package))
|