mk: fix install on FreeBSD
authorFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Aug 2016 09:11:32 +0000 (10:11 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 22 Sep 2016 21:27:20 +0000 (23:27 +0200)
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 <daniel.verkamp@intel.com>
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
mk/rte.sdkinstall.mk

index 5217063..f3e59db 100644 (file)
@@ -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)