I have changed codec engine source code, but I don't know how to make it. Has anybody know how to do it?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have changed codec engine source code, but I don't know how to make it. Has anybody know how to do it?
Benlu,
Is this Codec Engine 3.21.00.19, as you said in another post? If you can upgrade to Codec Engine 3.21.01.23, you will have a codec_engine.mak file at the root of the installation. In this file, you set a few variables, depending on what targets you want to build for and then run:
make -f codec_engine.mak clean
make -f codec_engine.mak
I have attached my codec_engine.mak file that I modified to build for GCArmv5T and C674Elf targets. (I had to rename it to codec_engine.mak.txt in order to upload it to the forum). I set the following variables in codec_engine.mak:
XDC_INSTALL_DIR=$(TREES)/xdcprod/xdcprod-o21/product/Linux/xdctools_3_22_01_21
BIOS_INSTALL_DIR=$(TREES)/avalaprod/avalaprod-h39/exports/bios_6_32_02_39
LINK_INSTALL_DIR=$(TREES)/sl/sl-a82/exports/syslink_2_00_03_82
XDAIS_INSTALL_DIR=$(TREES)/dais/dais-u07/exports/xdais_7_21_01_07
CMEM_INSTALL_DIR=$(TREES)/linuxutils/linuxutils-i04/exports/linuxutils_3_21_00_04
OSAL_INSTALL_DIR=$(TREES)/osal/osal-d08/exports/osal_1_21_01_08
FC_INSTALL_DIR=$(TREES)/fc/fc-o32/exports/framework_components_3_21_02_32
EDMA3_LLD_INSTALL_DIR=$(VENDORS)/ti/edma3_lld/edma3_lld_02_11_02_04
IPC_INSTALL_DIR=$(TREES)/ipc/ipc-g26/exports/ipc_1_23_01_26
ti.targets.elf.C674 ?= $(VENDORS)/ti/c6x/7.2.0/Linux
gnu.targets.arm.GCArmv5T ?= $(VENDORS)/cs/arm/arm-2007q3;LONGNAME=bin/arm-none-linux-gnueabi-gcc
You will have to set them to your particular product installation directories and tools locations.
I'm also attaching the codec_engine.bld that comes with 3.21.01.23, which you should not modify, but if you want, you can copy these two files to the root of your codec engine 3.21.00.19 directory, to build, in case you can't upgrade to 3.21.01.23.
Best regards,
Janet