[Buildroot] Properly setting up hotplug

Lloyd Sargent lloyd at cannasoftware.com
Fri Apr 17 14:19:19 UTC 2009

On Apr 17, 2009, at 8:56 AM, Peter Korsgaard wrote:

>>>>>> "Thiago" == Thiago A Corrêa <thiago.correa at gmail.com> writes:
> Hi,
> Thiago> I don't like distclean because it will remove the downloaded  
> files,
> Only if you have it set as BASE_DIR/dl. I expect most people who use
> BR on a regular schedule to store their downloads somewhere else.

I would argue then that, conceptually, for BR there should be two  
forms of distclean:

1) to clean up the projects files (i.e. as if you did 'make distclean'  
for directfb)

2) to clean up ALL of BR (i.e. clean up BR for shipment)

The reasoning is that distclean for a package is DIFFERENT than  
distclean for BR - for obvious reasons.

I understand the desire to keep the same underpinnings (since we all  
know about clean and distclean for particular packages) but because BR  
is not about ONE package but many, I think it is conceptually  
stretched, possibly, to the point of failure. Or worse - that saying  
"distclean" means two different things to two different people.

I would argue two types of distclean - package and BR. Now, how to  
implement them I leave up to the experts.

Look forward to my book "The Philosophical Underpinnings of DistClean  
and Why The Guardrails of the Abyss Have Been Removed"



More information about the buildroot mailing list