hypriot / rpi-kernel

Build a Linux kernel for Raspberry Pi 0/1/2/3/3B+
MIT License
134 stars 46 forks source link

deleting kernel source and firmware tools any time the build script is launched #52

Open artynet opened 5 years ago

artynet commented 5 years ago

Hello folks,

any time I launch the compile_kernel.sh script the linux-source and rpi_firmware folders and deleted, downloaded again and checked out to a given specific commit..

Shouldn't you fix this behaviour ? I am working on a patch supporting the new RPi 4 board and the arm64 architecture as well...

You should also consider to use the cross-toolchains already residing in the repositories of most popular linux distributions, first of all the debian based, installing them with a simple package manager one liner command (instead of cloning them)...

geeks-r-us commented 5 years ago

@artynet any progress on your patch?

anon8675309 commented 1 year ago

I've submitted a patch to fix the unnecessary deletion, but I'm not sure if this repo is accepting merge requests. In any case, you can switch to my fork to get this fix.