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.

Regarding linuxutils_4_00_01_08 built error for glsdk6.10.00.02

Hello,

We are working on dra7xx-evm(OMAP5777)  board. Here we are using these things:

1.  linux-3.12 kernel

2. Toolchain- gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux.

3. glsdk_6.10.00.02

4. linuxutils_4_00_01_08

For the cmem support in linux3.12, we are trying to build   linuxutils_4_00_01_08.

For building we have used the following setting in products.mak:

TOOLCHAIN_LONGNAME ?= arm-linux-gnueabihf
TOOLCHAIN_INSTALL_DIR ?= /home/mistral/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux
TOOLCHAIN_PREFIX ?= $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)-

KERNEL_INSTALL_DIR ?= /home/mistral/ti-glsdk_dra7xx-evm_6_10_00_02/board-support/linux

Then run the command to build the cmem library :

make -f  lu.mak

make

For us cmem library built fine.

For building cmem module, we did the following:

cd linuxutils_4_00_01_08/src/cmem/module

make

 

But during building of cmem module we are getting the following error:

 /home/mistral/ti-glsdk_dra7xx-evm_6_10_00_02/board-support/linux/arch//Makefile: No such file or directory

Complete error-log is in the below attached snapshot.

 

 

Please help in this regard.

Regards

Naveen

  • Hi Naveen,

    Problem is that you don't have  /home/mistral/ti-glsdk_dra7xx-evm_6_10_00_02/board-support/linux/arch//Makefile directory. You can check that in the explorer window you dont have arch// directory.

    Your linuxutils build system probably looks for /home/mistral/ti-glsdk_dra7xx-evm_6_10_00_02/board-support/linux/arch/arm/Makefile

    I suggest you check the Makefile (and Rules.make file if available) located in the linuxutils_4_00_01_08/src/cmem/module directory. Locate where your build system looks for the /home/mistral/ti-glsdk_dra7xx-evm_6_10_00_02/board-support/linux/arch//Makefile directory and correct it. Maybe its just a matter of incorrectly set environment variable..

    Best Regards,

    Yordan

  • Can you try adding: export ARCH=arm to your environment variables. So that your steps are:


    export ARCH=arm

    TOOLCHAIN_LONGNAME ?= arm-linux-gnueabihf
    TOOLCHAIN_INSTALL_DIR ?= /home/mistral/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux
    TOOLCHAIN_PREFIX ?= $(TOOLCHAIN_INSTALL_DIR)/bin/$(TOOLCHAIN_LONGNAME)-

    KERNEL_INSTALL_DIR ?= /home/mistral/ti-glsdk_dra7xx-evm_6_10_00_02/board-support/linux

    Best Regards,
    Yordan