Better approach as solving the race condition: As we handle cbfstool as
special subdirectory, like Kconfig, create $(obj)/util/cbfstool the same
way $(obj)/util/kconfig is done.
Why is this better? dependencies on directories are "always rebuild", as
the directory gets a new timestamp once a file in it is touched. We
don't need to rebuild cbfstool all the time.
Am 10.02.2010 13:25, schrieb Patrick Georgi:
Still
> Signed-off-by: Patrick Georgi <[email protected]>
Index: Makefile
===================================================================
--- Makefile (revision 5107)
+++ Makefile (working copy)
@@ -254,7 +254,7 @@
prepare:
mkdir -p $(obj)
- mkdir -p $(obj)/util/kconfig/lxdialog
+ mkdir -p $(obj)/util/kconfig/lxdialog $(obj)/util/cbfstool
test -n "$(alldirs)" && mkdir -p $(alldirs) || true
prepare2: $(obj)/build.h
--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot