build: don't print top-level directory
For example, if the source code is located in a directory called "spdk", don't print the "spdk/" prefix on all of the directories. Change-Id: I9adc650b13e013773450c721c8434c6e5afeecc2 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
bafbc89d3a
commit
d6540ae907
2
Makefile
2
Makefile
@ -31,6 +31,8 @@
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
S :=
|
||||
|
||||
SPDK_ROOT_DIR := $(CURDIR)
|
||||
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
$(DIRS-y) :
|
||||
@echo "== $S/$@ ($(MAKECMDGOALS))"
|
||||
$(Q)$(MAKE) -e -C $@ S=$S/$@ $(MAKECMDGOALS) $(MAKESUBDIRFLAGS)
|
||||
@echo "== $S$(S:%=/)$@ ($(MAKECMDGOALS))"
|
||||
$(Q)$(MAKE) -e -C $@ S=$S$(S:%=/)$@ $(MAKECMDGOALS) $(MAKESUBDIRFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user