diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-06-20 23:29:59 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-06-20 23:43:23 +0200 |
commit | 744e1ffc8ad2aa674a4d4bbaee4afe987e77c2c6 (patch) | |
tree | 3da7b619a4f9a6853c0244c50f27906c70f490ba /rules/lshw.make | |
parent | a63386bbf546bae97de01e854fb08cef691af6aa (diff) | |
download | ptxdist-744e1ffc8ad2aa674a4d4bbaee4afe987e77c2c6.tar.gz ptxdist-744e1ffc8ad2aa674a4d4bbaee4afe987e77c2c6.tar.xz |
[lshw] clean up makefile
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/lshw.make')
-rw-r--r-- | rules/lshw.make | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/rules/lshw.make b/rules/lshw.make index f7041a1d1..c7e672a18 100644 --- a/rules/lshw.make +++ b/rules/lshw.make @@ -37,12 +37,17 @@ $(LSHW_SOURCE): # ---------------------------------------------------------------------------- LSHW_CONF_TOOL := NO + # 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 +# the "src" subdir avoids this. +LSHW_SUBDIR := src + +LSHW_MAKE_ENV := $(CROSS_ENV) +LSHW_MAKE_OPT := all +LSHW_INSTALL_OPT := install + ifdef PTXCONF_LSHW_GUI LSHW_MAKE_OPT += gui LSHW_INSTALL_OPT += install-gui |