From eb8c826e02392b5ed24138c68f831f2f16bcb2d9 Mon Sep 17 00:00:00 2001 From: Ferruh Yigit Date: Mon, 29 Aug 2016 10:11:32 +0100 Subject: [PATCH] mk: fix install on FreeBSD FreeBSD make install fails because of unsupported tar option: tar: Option --warning=no-ignore-newer is not supported Issue fixed by removing unsupported tar option. Fixes: 6b62a72a70d0 ("mk: install a standard cutomizable tree") Fixes: e4552b9cc603 ("mk: install doc") Reported-by: Daniel Verkamp Signed-off-by: Ferruh Yigit --- mk/rte.sdkinstall.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk index 5217063556..f3e59db4e4 100644 --- a/mk/rte.sdkinstall.mk +++ b/mk/rte.sdkinstall.mk @@ -121,7 +121,7 @@ install-runtime: --exclude 'app/cmdline*' --exclude app/test \ --exclude app/testacl --exclude app/testpipeline app | \ tar -xf - -C $(DESTDIR)$(bindir) --strip-components=1 \ - --keep-newer-files --warning=no-ignore-newer + --keep-newer-files $(Q)$(call rte_mkdir, $(DESTDIR)$(datadir)) $(Q)cp -a $(RTE_SDK)/tools $(DESTDIR)$(datadir) $(Q)$(call rte_symlink, $(DESTDIR)$(datadir)/tools/dpdk-setup.sh, \ @@ -144,7 +144,7 @@ install-sdk: $(Q)$(call rte_mkdir, $(DESTDIR)$(includedir)) $(Q)tar -chf - -C $O include | \ tar -xf - -C $(DESTDIR)$(includedir) --strip-components=1 \ - --keep-newer-files --warning=no-ignore-newer + --keep-newer-files $(Q)$(call rte_mkdir, $(DESTDIR)$(sdkdir)) $(Q)cp -a $(RTE_SDK)/mk $(DESTDIR)$(sdkdir) $(Q)cp -a $(RTE_SDK)/scripts $(DESTDIR)$(sdkdir) @@ -159,7 +159,7 @@ ifneq ($(wildcard $O/doc),) $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir)) $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \ tar -xf - -C $(DESTDIR)$(docdir) --strip-components=1 \ - --keep-newer-files --warning=no-ignore-newer + --keep-newer-files endif ifneq ($(wildcard $O/doc/*/*/*pdf),) $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir)/guides) -- 2.20.1