On Mon, Oct 20, 2014 at 6:03 AM, Damian Hobson-Garcia <[email protected]>
wrote:


> I don't want to create a new profile.  I want to have a way within a
> profile (IVI in this case) to know if the build is for the Renesas
> platform or not.  I understand that its possible to differentiate
> between ARM and Intel with an "ExclusiveArch:" in the spec file, but
> what about differentiating between different ARM platforms? (or Intel
> "platforms" in the case of emulation).  I've also made a mention of this
> issue last week in this bug report:
> https://bugs.tizen.org/jira/browse/TC-1464
>
>
I understand what you mean. However, there's no answer to your question yet.
Let's discuss it here.


> Looking at what is done for emulation, there is a separate build config,
> build-emulator.conf, that sets up emulator specific values.
> Is this the recommended way to do this?  It looks like it results in a
> rebuild of all Tizen packages on the OBS.
>

We have an independent build target in OBS for emulator and we get
a repository for it:
http://download.tizen.org/releases/daily/tizen/ivi/latest/repos/

However, having a separate target for each arm device is not scalable.
This particular challenge we need to solve within 'arm' target.

Right now we are building a generic arm kernel using

# Default arch config for tizen per arch (unless overiden after)
%define kernel_image bzImage
%define defconfig tizen_defconfig

In parallel to this discussion, we could enable your board as the default
'arm' kernel
with this section in the IVI kernel .spec

%ifarch %arm
%define kernel_arch arm
%define kernel_arch_subdir arch/%{kernel_arch}
%define kernel_image zImage
%define vdso_supported 0
%define modules_supported 0
%endif

(just add the defconfig %define)

The .spec file could also have multiple defconfigs for arm and then each
profile
can select the default one using a bcond option.

-- Mikko
_______________________________________________
IVI mailing list
[email protected]
https://lists.tizen.org/listinfo/ivi

Reply via email to