Message ID | 1625017926-18844-2-git-send-email-xuyang2018.jy@fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v2,1/2] Makefile: fix bug when running make install under tests/* directory | expand |
diff --git a/tests/overlay/Makefile b/tests/overlay/Makefile index de3203c2..2785b94d 100644 --- a/tests/overlay/Makefile +++ b/tests/overlay/Makefile @@ -6,8 +6,8 @@ TOPDIR = ../.. include $(TOPDIR)/include/builddefs include $(TOPDIR)/include/buildgrouplist -TEST_DIR = overlay -TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(TEST_DIR) +OVERLAY_DIR = overlay +TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(OVERLAY_DIR) DIRT = group.list default: $(DIRT)
Since xfs/ext4 uses XFS_DIR/EXT4_DIR in Makefile(also for other filesystems), I think we don't have any reason not to use OVERLAY_DIR in here. Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com> --- tests/overlay/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)