mk: fix install with minimal shell
authorThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Dec 2015 07:58:11 +0000 (08:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Dec 2015 08:39:56 +0000 (09:39 +0100)
Some shells like dash do not support the syntax {}:
{mk,scripts}: No such file or directory

Reported-by: Thiago Martins <thiagocmartinsc@gmail.com>
Reported-by: Piotr Bartosiewicz <piotr.bartosiewicz@atendesoftware.pl>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
mk/rte.sdkinstall.mk

index c611d45..c159bf7 100644 (file)
@@ -139,7 +139,8 @@ install-sdk:
            tar -xf -      -C $(DESTDIR)$(includedir) --strip-components=1 \
                --keep-newer-files --warning=no-ignore-newer
        $(Q)$(call rte_mkdir,                            $(DESTDIR)$(sdkdir))
-       $(Q)cp -a               $(RTE_SDK)/{mk,scripts}  $(DESTDIR)$(sdkdir)
+       $(Q)cp -a               $(RTE_SDK)/mk            $(DESTDIR)$(sdkdir)
+       $(Q)cp -a               $(RTE_SDK)/scripts       $(DESTDIR)$(sdkdir)
        $(Q)$(call rte_mkdir,                            $(DESTDIR)$(targetdir))
        $(Q)cp -a               $O/.config               $(DESTDIR)$(targetdir)
        $(Q)$(call rte_symlink, $(DESTDIR)$(includedir), $(DESTDIR)$(targetdir)/include)