Cross compiling a kernel module

后端 未结 6 2026
囚心锁ツ
囚心锁ツ 2020-12-04 18:22

I\'m trying to cross compile a helloworld kernel (2.6.x) module for ARM architecture on my intel x86 host.

The codesourcery tool chain for ARM is located at: /ho

6条回答
  •  不知归路
    2020-12-04 18:52

    Replace

    ARCH=arm
    CROSS_COMPILE=arm-none-linux-gnueabi

    by

    export ARCH:=arm
    export CROSS_COMPILE:=arm-none-linux-gnueabi-

    this will also work if you do not want to give these parameter command line each time.

提交回复
热议问题