I'm tinkering with a concept I'd like a bit of input on (programmatically) to see if this is even possible.
I'm currently utilizing TC4 within a VM (3.0.21) and am experimenting with an idea, but I figured it best to ask the experts before diving too deep.
I downloaded the latest stable (3.19) kernel a little while ago and ran through make config by just holding down the ENTER key in order to get into menuconfig. I changed things around a little more "TC" oriented (probably not exact) which is the cause for this post.
Considering the 4.x tinycore config file is going to be lacking a good deal of items found in the higher, vanilla (unpatched) kernel, can you think of any way to update the new .config based on the older tinycore specific .config?
In my way of thinking, updating the patches could be done by simply scanning the source tree looking for the file(s) needing to be patched, scan through the file(s) looking for the old identifiers from the patch files and if found, update line numbers, etc. as needed and move onto the next. This is not likely a "perfect" method but should do the job in at least some of the areas being updated. For patch files that weren't able to find the content, we'd simply have to go through the sources manually (unless deprecated) but it should at least cut down on the leg-work.
If this could be done with the .config files as well, this would be awesome. (Update the basic/default .config with the items used in a given release of TC and note those not found, again, cutting down on manual intervention quite a bit.) Even the make config could be automated by simply sending a pipe to it from a file with nothing more than a few hundred line feeds (unless there's a command line variable that could be sent in which tells it to configure based on defaults, such as --no-prompt or what-not.)
Most importantly (regarding this post) Can anyone see any caveats upgrading a kernel, compiled with similar features, being implemented into an existing TC?
(ie: Kernel x.x.x crashes when trying to do (some extension) under TC.)
Thoughts/suggestions are appreciated!
EDIT: I missed the part in the documentation regarding make oldconfig and just now tripped over it. LOL... I haven't come across anything such as patch oldpatchfiles but if anyone has ideas I'd love to hear them!