Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

244
Views
Cross compile Kernel drivers

I am new at Linux kernel and I try to make a cross compile to build a driver for imx6, previusly I created the kernel using Yocto1.8 (this works ok). I have a linux distribution of 64 bits, and the arm inside imx6 is based in 32 bits

I have this configuration in my makefile:

export CROSS_COMPILE=arm-poky-linux-gnueabi-
export PRODUCT_NAME PRODUCT_VERSION
export ROOTDIR
export PCIE X86 PL330 
export KDIR=~/src/imx6/yocto/build/tmp/work-shared/cgtqmx6/kernel-source/

but doing "make" the compilation generates these errors:

screenshot

I think the problem is due to the differents distribution (64 and 32bits) but I don´t know sure.

If anybody can help me ... thanks!!!

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Those are x86 compiler options.

You probably need to add ARCH=arm.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!