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.

Linux/AM5728: IPC examples build issue

Part Number: AM5728

Tool/software: Linux

Hi,

After following the steps specified by this document and successfully building IPC Bios and Linux libraries, I was not able to build the Linux IPC examples from Processor SDK linux top-level makefile.

The problem seems to be that compiler call in top-level makefile (lines 830 to 842) passes several "never-defined" variables as building parameters, then clearing environment variables which already were properly set by means of "~/ti/ipc_x_xx_xx_xx/products.mak".

I suppose that I am skipping to run some setup script or there is a mistake in the makefile, so I would like to know what the right solution is.

As a workaround, given that these variables should already be defined in IPC's "products.mak", I changed the compiler call in top makefile as shown below, then the compilation worked with success.

Thanks,

Daniel 

__________________________________________________________________________________

Original command  (@ line 839 of "~/ti-processor-sdk-linux-am57xx-evm-04.03.00.05/Makefile" )

SDK_INSTALL_PATH=$(TI_RTOS_PATH_ABS) source $(TI_PRSDK_PATH)/setupenv.sh > /dev/null; \
source $(ENV_SETUP); \
$(MAKE) -j $(MAKE_JOBS) -C $${IPC_INSTALL_PATH}/examples \
HOSTOS="linux" \
PLATFORM="$${IPC_PLATFORM}" \
KERNEL_INSTALL_DIR="$(LINUXKERNEL_INSTALL_DIR)" \
XDC_INSTALL_DIR="$${XDC_INSTALL_PATH}" \
BIOS_INSTALL_DIR="$${BIOS_INSTALL_PATH}" \
IPC_INSTALL_DIR="$${IPC_INSTALL_PATH}" \
TOOLCHAIN_LONGNAME=$${TOOLCHAIN_SYS} \
TOOLCHAIN_INSTALL_DIR=$${SDK_PATH_NATIVE}/usr \
TOOLCHAIN_PREFIX=$(CROSS_COMPILE) \
$(IPC_TOOLS_PATHS)

__________________________________________________________________________________

Modified command

SDK_INSTALL_PATH=$(TI_RTOS_PATH_ABS) source $(TI_PRSDK_PATH)/setupenv.sh > /dev/null; \
source $(ENV_SETUP); \
$(MAKE) -j $(MAKE_JOBS) -C $${IPC_INSTALL_PATH}/examples

__________________________________________________________________________________