On Mon, Oct 20, 2014 at 11:34 AM, Damian Hobson-Garcia <[email protected]> wrote:
> > > 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. > > I think that a similar issue may come up in certain packages, for > example the OpenGL support, where it might be useful to have multiple > versions of the same package in the repository at the same time. > OpenGL can be managed, e.g., with a common devel/headers package and Provides/Conflicts. The boards specific libs RPM will be selected in the image .ks file. See: https://review.tizen.org/git/?p=platform/upstream/opengl-es-virtual-drv.git;a=tree;h=refs/heads/tizen;hb=refs/heads/tizen > > > 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) > > > > > There is already a nice spec file in Philippe Coval's sandbox > that handles the fact that the Renesas platform uses uImage files > instead of zImage, the defconfig, etc. > > > https://review.tizen.org/gerrit/gitweb?p=profile/common/kernel-common.git;a=shortlog;h=refs/heads/sandbox/pcoval/rcar-m2 > > Yes, we could have this configuration in the IVI kernel .spec. > > The .spec file could also have multiple defconfigs for arm and then each > > profile > > can select the default one using a bcond option. > Does selecting one image using bcond require multiple targets? > > Yes -- Mikko
_______________________________________________ IVI mailing list [email protected] https://lists.tizen.org/listinfo/ivi
