Hello,

 

in a bsp project I’ve to build a very special kernel module (“SysLink” from TI).

 

In order to build this syslink.ko kernel module I have to install additional tools from TI.

This can be assumed as an preparation step and have do bee done once manually before building the bsp project.

 

For building the syslink.ko kernel module I have to invoke ‘make’ with a some parameters:

 

make DEVICE=OMAPL1XX \

    SDK=NONE \

    DEPOT==$(PTXDIST_WORKSPACE)/local_src/syslink-2_21_03_11/depot/ \

    LINUXKERNEL=$(PTXDIST_PLATFORMDIR)/build-target/linux-$(KERNEL_VERSION)/ \

    CGT_ARM_PREFIX=$(PTXDIST_TOOLCHAIN)/$(PTXCONF_GNU_TARGET) \

    IPC_INSTALL_DIR=/opt/ti/ipc_1_25_03_15/ \

    BIOS_INSTALL_DIR=/opt/ti/bios_6_34_04_22/ \

    XDC_INSTALL_DIR=/opt/ti/xdctools_3_24_05_48/ \

   CGT_C674_ELF_INSTALL_DIR=/opt/ti/ti-cgt-c6000_8.0.3/ \

    syslink

 

How can this be included in appropriate manner in a user defined rule?

I would need help to create a file “rules/syslink.make” that can be integrated in the existing bsp project.

 

Best regards

Jan-Marc Stranz.