How to force recompile of part

Help with using MiniMyth's build system

Moderator: Pablo

Post Reply
dagnygren
Member
Posts: 20
Joined: Sun Feb 20, 2011 12:28 pm

How to force recompile of part

Post by dagnygren » Wed Dec 14, 2011 12:10 am

How do I force a recompile of a part of the build system. Tried to do that to the kernel part by touching the config file but the build system doesn't seem to be clever enough to pick up the change.

The system seems rather overcomplicated to me.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: How to force recompile of part

Post by Pablo » Wed Mar 07, 2012 5:10 am

I would agree, in some cases the build system is unnecessarily complicated. I started with the GAR build system and made some modifications so that it better suited my needs. While I felt the GAR build system was overly complicated in some dimensions for my purposes, it was better easier that starting from scratch.

GAR was designed to build everything in one-shot. It was not designed to allow individual packages to be cleanly rebuilt. You can always go into a package directory and run 'make clean ; make install' and it will rebuilt it. However, it will not remove the package's legacy stuff from the image before rebuilding.

Over time, for certain packages that I rebuild more regularly, I added the ability to rebuild them more cleanly. If you go into a package directory that supports it and run 'make clean-all ; make install', then you should have a clean rebuild. The kernel is one of the packages to which I have added this ability.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply