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 <jan@janware.com>
This commit is contained in:
Jan Lindemann 2019-06-13 11:50:10 +00:00
commit d84260a2ad

View file

@ -13,7 +13,7 @@ tar-files:
@$(LIST_VCS_FILES) $(TOPDIR) -f | xargs tar -C $(TOPDIR) -cf - @$(LIST_VCS_FILES) $(TOPDIR) -f | xargs tar -C $(TOPDIR) -cf -
cpio-files: 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 endif # ifndef LIST_FILES_MK_INCLUDED