diff mbox

linux-generic: add arch specific *.h files to EXTRA_DIST

Message ID 1460571195-12458-1-git-send-email-anders.roxell@linaro.org
State Accepted
Commit 9eca3767b49def8b0b39f6b1d9600fed36fd64f6
Headers show

Commit Message

Anders Roxell April 13, 2016, 6:13 p.m. UTC
To make the build from a tarball work again from an architecture that
you didn't create the tarball from.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 platform/linux-generic/Makefile.am | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Ricardo Salveti April 13, 2016, 8:21 p.m. UTC | #1
On Wed, Apr 13, 2016 at 3:13 PM, Anders Roxell <anders.roxell@linaro.org> wrote:
> To make the build from a tarball work again from an architecture that
> you didn't create the tarball from.
>
> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
> ---
>  platform/linux-generic/Makefile.am | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
> index 54f35d6..7b93f19 100644
> --- a/platform/linux-generic/Makefile.am
> +++ b/platform/linux-generic/Makefile.am
> @@ -170,12 +170,16 @@ __LIB__libodp_linux_la_SOURCES = \
>                            arch/@ARCH@/odp_sysinfo_parse.c
>
>  EXTRA_DIST = \
> +            arch/linux/odp/api/cpu_arch.h \
>              arch/linux/odp_cpu_arch.c \
>              arch/linux/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
>
> --
> 2.1.4

Thanks, this allows me to create the tarball on x86 and build the
package on arm64 :-)

Reviewed-and-tested-by: Ricardo Salveti <ricardo.salveti@linaro.org>

Cheers,
Maxim Uvarov April 14, 2016, 3:22 p.m. UTC | #2
Merged,
Maxim.

On 04/13/16 23:21, Ricardo Salveti wrote:
> On Wed, Apr 13, 2016 at 3:13 PM, Anders Roxell <anders.roxell@linaro.org> wrote:
>> To make the build from a tarball work again from an architecture that
>> you didn't create the tarball from.
>>
>> Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
>> ---
>>   platform/linux-generic/Makefile.am | 4 ++++
>>   1 file changed, 4 insertions(+)
>>
>> diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
>> index 54f35d6..7b93f19 100644
>> --- a/platform/linux-generic/Makefile.am
>> +++ b/platform/linux-generic/Makefile.am
>> @@ -170,12 +170,16 @@ __LIB__libodp_linux_la_SOURCES = \
>>                             arch/@ARCH@/odp_sysinfo_parse.c
>>
>>   EXTRA_DIST = \
>> +            arch/linux/odp/api/cpu_arch.h \
>>               arch/linux/odp_cpu_arch.c \
>>               arch/linux/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
>>
>> --
>> 2.1.4
> Thanks, this allows me to create the tarball on x86 and build the
> package on arm64 :-)
>
> Reviewed-and-tested-by: Ricardo Salveti <ricardo.salveti@linaro.org>
>
> Cheers,
diff mbox

Patch

diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am
index 54f35d6..7b93f19 100644
--- a/platform/linux-generic/Makefile.am
+++ b/platform/linux-generic/Makefile.am
@@ -170,12 +170,16 @@  __LIB__libodp_linux_la_SOURCES = \
 			   arch/@ARCH@/odp_sysinfo_parse.c
 
 EXTRA_DIST = \
+	     arch/linux/odp/api/cpu_arch.h \
 	     arch/linux/odp_cpu_arch.c \
 	     arch/linux/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