Message ID | 1624332489-27616-2-git-send-email-xuyang2018.jy@fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] Makefile: fix bug when running make install under tests/* directory | expand |
diff --git a/tests/overlay/Makefile b/tests/overlay/Makefile index b07f8925..8da5b8ad 100644 --- a/tests/overlay/Makefile +++ b/tests/overlay/Makefile @@ -5,8 +5,8 @@ TOPDIR = ../.. include $(TOPDIR)/include/builddefs -TEST_DIR = overlay -TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(TEST_DIR) +OVERLAY_DIR = overlay +TARGET_DIR = $(PKG_LIB_DIR)/$(TESTS_DIR)/$(OVERLAY_DIR) include $(BUILDRULES)
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(-)