git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713295f
)
mk: in install rule, don't overwrite .config if it already exists
author
Olivier Matz
<olivier.matz@6wind.com>
Wed, 30 Jan 2013 15:30:19 +0000
(16:30 +0100)
committer
David Marchand
<david.marchand@6wind.com>
Wed, 26 Feb 2014 10:01:13 +0000
(11:01 +0100)
This allows the user to prepare a configuration with make config
before using make install.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.sdkinstall.mk
patch
|
blob
|
history
diff --git
a/mk/rte.sdkinstall.mk
b/mk/rte.sdkinstall.mk
index
00cb616
..
61a8771
100644
(file)
--- a/
mk/rte.sdkinstall.mk
+++ b/
mk/rte.sdkinstall.mk
@@
-56,7
+56,9
@@
install: $(INSTALL_TARGETS)
%_install:
@echo ================== Installing $*
- $(Q)$(MAKE) config T=$* O=$(BUILD_DIR)/$*
+ $(Q)if [ ! -f $(BUILD_DIR)/$*/.config ]; then \
+ $(MAKE) config T=$* O=$(BUILD_DIR)/$*; \
+ fi
$(Q)$(MAKE) all O=$(BUILD_DIR)/$*
#