diff mbox

[2/2] platform: Makefile.inc: add wildcards

Message ID 1469094199-13427-3-git-send-email-anders.roxell@linaro.org
State New
Headers show

Commit Message

Anders Roxell July 21, 2016, 9:43 a.m. UTC
Reported-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

---
 platform/Makefile.inc | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)

-- 
2.1.4

Comments

Anders Roxell July 21, 2016, 12:24 p.m. UTC | #1
On 21 July 2016 at 11:43, Anders Roxell <anders.roxell@linaro.org> wrote:
> Reported-by: Fathi Boudra <fathi.boudra@linaro.org>

> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>

> ---

>  platform/Makefile.inc | 18 +++---------------

>  1 file changed, 3 insertions(+), 15 deletions(-)

>

> diff --git a/platform/Makefile.inc b/platform/Makefile.inc

> index 370383b..0a6600c 100644

> --- a/platform/Makefile.inc

> +++ b/platform/Makefile.inc

> @@ -62,18 +62,6 @@ odpapispecinclude_HEADERS = \

>                   $(top_srcdir)/include/odp/api/spec/version.h

>

>  EXTRA_DIST = \

> -            arch/default/odp/api/cpu_arch.h \

> -            arch/default/odp_cpu_arch.c \

> -            arch/default/odp_sysinfo_parse.c \

> -            arch/mips64/odp/api/cpu_arch.h \

> -            arch/mips64/odp_cpu_arch.c \

> -            arch/mips64/odp_sysinfo_parse.c \

> -            arch/powerpc/odp/api/cpu_arch.h \

> -            arch/powerpc/odp_cpu_arch.c \

> -            arch/powerpc/odp_sysinfo_parse.c \

> -            arch/x86/odp/api/cpu_arch.h \

> -            arch/x86/odp_cpu_arch.c \

> -            arch/x86/odp_sysinfo_parse.c \

> -            arch/arm/odp/api/cpu_arch.h \

> -            arch/arm/odp_cpu_arch.c \

> -            arch/arm/odp_sysinfo_parse.c

> +            $(wildcard arch/*/odp/api/cpu_arch.h) \

> +            $(wildcard arch/*/odp_cpu_arch.c) \

> +            $(wildcard arch/*/odp_sysinfo_parse.c)

> --

> 2.1.4

>


hmphf, saw that I introduced non-POSIX warnings [1] with this patch.
So please ignore this patch 2/2.

Cheers,
Anders
[1] http://hastebin.com/rikoricodu.md
diff mbox

Patch

diff --git a/platform/Makefile.inc b/platform/Makefile.inc
index 370383b..0a6600c 100644
--- a/platform/Makefile.inc
+++ b/platform/Makefile.inc
@@ -62,18 +62,6 @@  odpapispecinclude_HEADERS = \
 		  $(top_srcdir)/include/odp/api/spec/version.h
 
 EXTRA_DIST = \
-	     arch/default/odp/api/cpu_arch.h \
-	     arch/default/odp_cpu_arch.c \
-	     arch/default/odp_sysinfo_parse.c \
-	     arch/mips64/odp/api/cpu_arch.h \
-	     arch/mips64/odp_cpu_arch.c \
-	     arch/mips64/odp_sysinfo_parse.c \
-	     arch/powerpc/odp/api/cpu_arch.h \
-	     arch/powerpc/odp_cpu_arch.c \
-	     arch/powerpc/odp_sysinfo_parse.c \
-	     arch/x86/odp/api/cpu_arch.h \
-	     arch/x86/odp_cpu_arch.c \
-	     arch/x86/odp_sysinfo_parse.c \
-	     arch/arm/odp/api/cpu_arch.h \
-	     arch/arm/odp_cpu_arch.c \
-	     arch/arm/odp_sysinfo_parse.c
+	     $(wildcard arch/*/odp/api/cpu_arch.h) \
+	     $(wildcard arch/*/odp_cpu_arch.c) \
+	     $(wildcard arch/*/odp_sysinfo_parse.c)