Cross compiling a kernel module: invalid module format

后端 未结 2 767
予麋鹿
予麋鹿 2021-01-13 12:08

I\'m trying to cross compile a helloworld kernel module with specifications:

  • host: intel x86 32 bit, linux-3.0.0
  • target: ARM machine (Parrot AR.Drone)
2条回答
  •  不要未来只要你来
    2021-01-13 12:35

    my ugly fix is modifing script file "scripts/setlocalversion"

    170         if test "${LOCALVERSION+set}" != "set"; then
    171                 scm=$(scm_version --short)
    172 #               res="$res${scm:++}"
    173                 res="${res}"
    174         fi
    

    Hi, everyone.. I did found simple soulution.

    just modify envirionment vairable

    export LOCALVERSION=
    

    that's all

提交回复
热议问题