a94678cfd9
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. 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 2016. 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/fmlib/commit/?h=fsl-sdk-v2.0&id=43fa98fdbf0c697167e415c3f060896d5b482791 The commit id exists on github:43fa98fdbf
Note 2: the _SITE_METHOD is also changed from "git" to the default "wget", for faster downloads. This is why the package hash has changed. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# fmlib
|
|
#
|
|
################################################################################
|
|
|
|
FMLIB_VERSION = 43fa98fdbf0c697167e415c3f060896d5b482791
|
|
FMLIB_SITE = $(call github,nxp-qoriq,fmlib,$(FMLIB_VERSION))
|
|
FMLIB_LICENSE = BSD-3-Clause, GPL-2.0+
|
|
FMLIB_LICENSE_FILES = COPYING
|
|
FMLIB_DEPENDENCIES = linux
|
|
FMLIB_INSTALL_STAGING = YES
|
|
|
|
# This package installs a static library only, so there's
|
|
# nothing to install to the target
|
|
FMLIB_INSTALL_TARGET = NO
|
|
|
|
FMLIB_MAKE_OPTS = \
|
|
CC="$(TARGET_CC)" \
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
KERNEL_SRC="$(LINUX_DIR)" \
|
|
PREFIX="$(STAGING_DIR)/usr"
|
|
|
|
FMLIB_ARCHTYPE = $(call qstrip,$(BR2_PACKAGE_FMLIB_ARCHTYPE))
|
|
FMLIB_PLATFORM = $(call qstrip,$(BR2_PACKAGE_FMLIB_PLATFORM))
|
|
|
|
define FMLIB_BUILD_CMDS
|
|
$(SED) "s:P4080:$(FMLIB_PLATFORM):g" $(@D)/Makefile
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) libfm-$(FMLIB_ARCHTYPE).a
|
|
endef
|
|
|
|
define FMLIB_INSTALL_STAGING_CMDS
|
|
$(RM) $(STAGING_DIR)/usr/lib/libfm.a
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(FMLIB_MAKE_OPTS) -C $(@D) install-libfm-$(FMLIB_ARCHTYPE)
|
|
endef
|
|
|
|
$(eval $(generic-package))
|