From d84260a2ad249b2846df7fab94474d2a45bd5866 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 13 Jun 2019 11:50:10 +0000 Subject: [PATCH] listfiles.mk: Fix cpio --directory option cpio -D doesn't mean the same thing for different versions of cpio, --directory does, so use that Signed-off-by: Jan Lindemann --- make/list-files.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/list-files.mk b/make/list-files.mk index 8a3d7c26..73d1aafe 100644 --- a/make/list-files.mk +++ b/make/list-files.mk @@ -13,7 +13,7 @@ tar-files: @$(LIST_VCS_FILES) $(TOPDIR) -f | xargs tar -C $(TOPDIR) -cf - cpio-files: - @$(LIST_VCS_FILES) $(TOPDIR) -f | cpio -D $(TOPDIR) -o -H newc + @$(LIST_VCS_FILES) $(TOPDIR) -f | cpio --directory=$(TOPDIR) -o -H newc endif # ifndef LIST_FILES_MK_INCLUDED