diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-06-19 12:29:04 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2010-06-19 12:34:32 +0200 |
commit | e2cc8641676f32ee306739f5b91f8150b6806b62 (patch) | |
tree | 5e08e0f5679b725edd7313235908b408dac7077e | |
parent | 2000ba58eb2ebf9047e1447ab9047cf08c460d64 (diff) | |
download | ptxdist-e2cc8641676f32ee306739f5b91f8150b6806b62.tar.gz ptxdist-e2cc8641676f32ee306739f5b91f8150b6806b62.tar.xz |
[lshw] fix parallel building
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/lshw.make | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/lshw.make b/rules/lshw.make index 388f21307..f7041a1d1 100644 --- a/rules/lshw.make +++ b/rules/lshw.make @@ -37,7 +37,11 @@ $(LSHW_SOURCE): # ---------------------------------------------------------------------------- LSHW_CONF_TOOL := NO -LSHW_MAKE_OPT := $(CROSS_ENV) all +# calling "make all gui" in the toplevel dir breaks parallel building: +# the two targets are run at the same time and src/core/ is built twice. +# the result are random missing symbols or broken files. Calling make in +# the src subdir avoids this. +LSHW_MAKE_OPT := $(CROSS_ENV) -C src all LSHW_INSTALL_OPT := $(CROSS_ENV) install ifdef PTXCONF_LSHW_GUI LSHW_MAKE_OPT += gui |