Commit d6540ae9 authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

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: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent bafbc89d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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

+2 −2
Original line number Diff line number Diff line
$(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)