mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
fmc: added powerpc e6500 support
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Ronak Desai <ronak.desai@rockwellcollins.com> [Thomas: - remove useless indentation.] - calculate FMC_PLATFORM from BR2_PACKAGE_FMLIB_PLATFORM.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c0db6f93ef
commit
a7487bbc25
@ -1,14 +1,14 @@
|
|||||||
comment "fmc needs a toolchain w/ C++"
|
comment "fmc needs a toolchain w/ C++"
|
||||||
depends on BR2_powerpc_e500mc
|
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
|
||||||
depends on !BR2_INSTALL_LIBSTDCPP
|
depends on !BR2_INSTALL_LIBSTDCPP
|
||||||
|
|
||||||
comment "fmc needs a Linux kernel to be built"
|
comment "fmc needs a Linux kernel to be built"
|
||||||
depends on BR2_powerpc_e500mc
|
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
|
||||||
depends on !BR2_LINUX_KERNEL
|
depends on !BR2_LINUX_KERNEL
|
||||||
|
|
||||||
config BR2_PACKAGE_FMC
|
config BR2_PACKAGE_FMC
|
||||||
bool "fmc"
|
bool "fmc"
|
||||||
depends on BR2_powerpc_e500mc
|
depends on BR2_powerpc_e500mc || BR2_powerpc_e6500
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_LINUX_KERNEL # fmlib
|
depends on BR2_LINUX_KERNEL # fmlib
|
||||||
select BR2_PACKAGE_TCLAP
|
select BR2_PACKAGE_TCLAP
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
#
|
#
|
||||||
# fmc
|
# fmc
|
||||||
@ -18,7 +19,15 @@ FMC_MAKE_OPTS = \
|
|||||||
LIBXML2_HEADER_PATH="$(STAGING_DIR)/usr/include/libxml2" \
|
LIBXML2_HEADER_PATH="$(STAGING_DIR)/usr/include/libxml2" \
|
||||||
TCLAP_HEADER_PATH="$(STAGING_DIR)/usr/include"
|
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
|
define FMC_BUILD_CMDS
|
||||||
|
$(SED) "s:P4080:$(FMC_PLATFORM):g" $(@D)/source/Makefile
|
||||||
# The linking step has dependency issues so using MAKE1
|
# The linking step has dependency issues so using MAKE1
|
||||||
$(TARGET_MAKE_ENV) $(MAKE1) $(FMC_MAKE_OPTS) -C $(@D)/source
|
$(TARGET_MAKE_ENV) $(MAKE1) $(FMC_MAKE_OPTS) -C $(@D)/source
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user