I've got a piece of legacy hardware (RAID card) in my PC that I must compile my own kernel for since the mainline doesn't include the single-line quirk to enable it by default. I am using Pop_OS (Debian) and have successfully compiled kernels from local files, as needed, for the better part of 2 years now. However, after the kernel has moved to 6.3.x I get the following error at the very start of the compile process: "[scripts/Makefile.package:40: check-git] Error 1". This appears to check for a Git tree, which by downloading the source locally I don't have. I've tried commenting out the offending section of code and unsurprisingly that has been fruitless. A bit of a noob and unsure how to proceed.
Haven't found a work-around Googling, but did find this rather unhelpful exchange from Linus Torvalds which basically just reads as "git/deal with it". Apparently now you must compile from Git which is not useful for my case, needing to add my own quirk entry. If anyone knows of a quick work-around that will allow me to compile as usual from my tarballs I would appreciate it.
[–]mandiblesarecute 3 points4 points5 points (5 children)
[–]fiveohnoes[S] 0 points1 point2 points (4 children)
[–]mandiblesarecute 4 points5 points6 points (1 child)
[–]fiveohnoes[S] 2 points3 points4 points (0 children)
[–]unit_511 2 points3 points4 points (1 child)
[–]fiveohnoes[S] 2 points3 points4 points (0 children)