diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-25 07:45:01 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-05-25 07:48:32 +0200 |
commit | 5efcadb3dc32132b3ea73035ecd617c9e7ac873c (patch) | |
tree | 2e60312c78d81f30eb5e64e35ff913696e9046f8 /rules | |
parent | 94cab023c72c6ef60e5ca2c1580b9c751500a226 (diff) | |
download | ptxdist-5efcadb3dc32132b3ea73035ecd617c9e7ac873c.tar.gz ptxdist-5efcadb3dc32132b3ea73035ecd617c9e7ac873c.tar.xz |
ptx/oldconfig: handle --output-sync correctly
Handle outer parallelization like quiet and abort if there are changes.
Otherwise remove the --output-sync argument to make sure the user sees the
kconfig output.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/post/ptx_oldconfig.make | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rules/post/ptx_oldconfig.make b/rules/post/ptx_oldconfig.make index 8728b8ffb..100401f5e 100644 --- a/rules/post/ptx_oldconfig.make +++ b/rules/post/ptx_oldconfig.make @@ -3,7 +3,11 @@ ifdef PTXDIST_QUIET _ptx_oldconfig := silentoldconfig else +ifeq ($(filter --output-sync%,$(PTXDIST_PARALLELMFLAGS_EXTERN)),) _ptx_oldconfig := oldconfig +else +_ptx_oldconfig := silentoldconfig +endif endif # @@ -20,7 +24,7 @@ endif # define ptx/oldconfig cd "$($(strip $(1))_DIR)" && $($(strip $(1))_PATH) $($(strip $(1))_ENV) $(MAKE) \ - $($(strip $(1))_MAKEVARS) $($(strip $(1))_MAKE_OPT) $(_ptx_oldconfig) + $(filter-out --output-sync%,$($(strip $(1))_MAKEVARS) $($(strip $(1))_MAKE_OPT)) $(_ptx_oldconfig) endef # vim: syntax=make |