I'm doing a cross-compile Ubuntu kernel build.
I am following instructions for building Ubuntu for omap:
fakeroot debian/rules clean do_tools=false skipabi=true skipmodule=true dpkg-buildpackage -B -aarmhf -uc -us
But the above always makes it from clean, and takes a lot of time. I just make a change in the same file, so I don't need to rebuild from clean.
I have tried to skip the line
fakeroot debian/rules clean
and also removed
-uc, but it still does it from clean.
I then tried another method and did:
make -j3 deb-pkg
But then I got a new error:
dpkg-deb: building package `linux-firmware-image' in `../linux-firmware-image_3.4.27+-1_all.deb'. dpkg-gencontrol: error: current host architecture 'armhf' does not appear in package's architecture list () make: *** [deb-pkg] Error 255
Then I needed to wait ~2 hours for build to finish...
All I'm trying to do is to modify a board file (unfortunately I can't make it a module, as far as I understand).
Thank you for any idea.