[Buildroot] [PATCH 06/10] *-menuconfig needs dirs to exist

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Fri Oct 9 12:39:31 UTC 2009


On Fri, Oct 09, 2009 at 02:07:24PM +0200, Peter Korsgaard wrote:
>>>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot.nop at gmail.com> writes:
>
>Hi,
>
> Bernhard> cool, so let's configure the beast:
> Bernhard> $ make linux26-menuconfig
>
>OK, that one I can reproduce. So the fix only really fixes a problem
>with linux26, as uclibc has mkdir -p $(TOOLCHAIN_DIR) in it's .unpacked
>rule and busybox depends on BUILD_DIR.

I retract my proposed patch.

I agree this mess should be delt with differently.
move INSTALL?=
to toplevel makefile
MKDIR_P ?= $(INSTALL) -d
there.
remove approximately all manual invocations of "mkdir -p".
Finally remember that, for each targets some stamps
need one (or some) dir as prereq, so spell them out in
one two-liner rule once and for all.

There will be only a handful of "manual" MKDIR_P occurances left
for the few packages that are exceptions.
>
> Bernhard> Note that this is an obvious breakage.
>
>It your commit message would explain the problem, yes ;)

heh :)


More information about the buildroot mailing list