All of lore.kernel.org
 help / color / mirror / Atom feed
* [FEATURE meta-fsl-arm PATCH 00/15] Machine overrides extender - reduce code duplication
@ 2016-08-29 17:04 Otavio Salvador
  2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 01/15] Convert SOC_FAMILY to MACHINEOVERRIDES Otavio Salvador
                   ` (14 more replies)
  0 siblings, 15 replies; 28+ messages in thread
From: Otavio Salvador @ 2016-08-29 17:04 UTC (permalink / raw)
  To: meta-freescale Mailing List
  Cc: Otavio Salvador, prabhu.sundararaj, white.weng

We spent some time trying to come up with something which would make
easier to extend the tune-arch support. All we could come up was way
too complex or did not work.

Instead We did a MACHINEOVERRIDES extender.

This enables the machine overrides extender for the i.MX6 devices. It
maps (spaces are used to easy the read):

  - mx6q  ->        imxipu imxvpu imxgpu2d imxgpu3d
  - mx6dl -> imxpxp imxipu imxvpu imxgpu2d imxgpu3d imxepdc
  - mx6sx -> imxpxp               imxgpu2d imxgpu3d
  - mx6sl -> imxpxp               imxgpu2d          imxepdc
  - mx6ul -> imxpxp
  - mx7d  -> imxpxp                                 imxepdc

So it allows for reusing of overrides while keeps this control at the
BSP side. For example, a PACKAGECONFIG setting which is common for
mx6q, mx6dl and mx6sx used to look as:

PACKAGECONFIG_mx6q  = "option"
PACKAGECONFIG_mx6dl = "option"

Now it can be replaced by:

PACKAGECONFIG_imxvpu = "option"


Otavio Salvador (15):
  Convert SOC_FAMILY to MACHINEOVERRIDES
  imx-lib: Stop using generic SoC overrides
  imx-test: Stop using generic SoC overrides
  machine-overrides-extender.bbclass: Automatically set extend the
    MACHINEOVERRIDES
  imx-base.inc: Enable machine overrides extender for i.MX6
  chromium: Refactor code to use the the new overrides
  glmark2: Refactor code to use the new overrides
  qtbase: Refactor code to use the new overrides
  cairo: Refactor code to use the new overrides
  eglinfo: Refactor code to use the new overrides
  imx-gpu-viv: Refactor code to use the new overrides
  mesa-gl: Refactor code to use the new overrides
  weston: Refactor code to use the new overrides
  gstreamer1.0-plugins-imx: Refactor code to use the new overrides
  imx-codec: Refactor code to use the new overrides

 .../recipes-browser/chromium/chromium-imx.inc      |  3 +-
 .../chromium/chromium_48.0.2548.0.bbappend         |  5 +-
 classes/machine-overrides-extender.bbclass         | 23 ++++++++
 conf/machine/imx23evk.conf                         |  4 +-
 conf/machine/imx28evk.conf                         |  4 +-
 conf/machine/imx51evk.conf                         |  4 +-
 conf/machine/imx53ard.conf                         |  4 +-
 conf/machine/imx53qsb.conf                         |  4 +-
 conf/machine/imx6dlsabreauto.conf                  |  4 +-
 conf/machine/imx6dlsabresd.conf                    |  4 +-
 conf/machine/imx6qpsabreauto.conf                  |  4 +-
 conf/machine/imx6qpsabresd.conf                    |  4 +-
 conf/machine/imx6qsabreauto.conf                   |  4 +-
 conf/machine/imx6qsabresd.conf                     |  4 +-
 conf/machine/imx6slevk.conf                        |  4 +-
 conf/machine/imx6solosabreauto.conf                |  4 +-
 conf/machine/imx6solosabresd.conf                  |  4 +-
 conf/machine/imx6sxsabreauto.conf                  |  4 +-
 conf/machine/imx6sxsabresd.conf                    |  4 +-
 conf/machine/imx6ulevk.conf                        |  4 +-
 conf/machine/imx7dsabresd.conf                     |  4 +-
 conf/machine/include/imx-base.inc                  | 11 +++-
 conf/machine/include/qoriq-arm.inc                 |  2 -
 conf/machine/ls1021atwr.conf                       |  4 +-
 conf/machine/twr-vf65gs10.conf                     |  4 +-
 .../recipes-benchmark/glmark2/glmark2_%.bbappend   |  8 +--
 qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc      |  2 +-
 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend         | 19 +++----
 recipes-bsp/imx-lib/imx-lib.inc                    |  6 ++-
 recipes-bsp/imx-test/imx-test.inc                  |  7 +--
 recipes-graphics/cairo/cairo_%.bbappend            | 16 +++---
 recipes-graphics/eglinfo/eglinfo-fb_%.bbappend     |  4 +-
 recipes-graphics/eglinfo/eglinfo-x11_%.bbappend    |  4 +-
 recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc       | 13 +++--
 recipes-graphics/mesa/mesa-gl_%.bbappend           |  5 +-
 recipes-graphics/wayland/weston_%.bbappend         | 61 +++++++++++-----------
 .../gstreamer/gstreamer1.0-plugins-imx_0.12.2.bb   | 11 ++--
 recipes-multimedia/imx-codec/imx-codec.inc         |  3 +-
 38 files changed, 150 insertions(+), 133 deletions(-)
 create mode 100644 classes/machine-overrides-extender.bbclass

-- 
2.9.3



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2016-09-02  1:54 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 17:04 [FEATURE meta-fsl-arm PATCH 00/15] Machine overrides extender - reduce code duplication Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 01/15] Convert SOC_FAMILY to MACHINEOVERRIDES Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 02/15] imx-lib: Stop using generic SoC overrides Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 03/15] imx-test: " Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 04/15] machine-overrides-extender.bbclass: Automatically set extend the MACHINEOVERRIDES Otavio Salvador
2016-08-31  7:41   ` Zhenhua Luo
2016-08-31 10:03     ` Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 05/15] imx-base.inc: Enable machine overrides extender for i.MX6 Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 06/15] chromium: Refactor code to use the the new overrides Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 07/15] glmark2: Refactor code to use " Otavio Salvador
2016-08-29 17:21   ` Prabhu Sundararaj
2016-08-29 18:14     ` Otavio Salvador
2016-08-30 13:50       ` Prabhu Sundararaj
2016-08-30 13:55         ` Otavio Salvador
2016-09-01 22:19           ` Otavio Salvador
2016-09-01 22:22             ` Prabhu Sundararaj
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 08/15] qtbase: " Otavio Salvador
2016-08-29 17:19   ` Prabhu Sundararaj
2016-08-29 18:13     ` Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 09/15] cairo: " Otavio Salvador
2016-08-29 17:17   ` Prabhu Sundararaj
2016-08-29 18:10     ` Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 10/15] eglinfo: " Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 11/15] imx-gpu-viv: " Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 12/15] mesa-gl: " Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 13/15] weston: " Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 14/15] gstreamer1.0-plugins-imx: " Otavio Salvador
2016-08-29 17:04 ` [FEATURE meta-fsl-arm PATCH 15/15] imx-codec: " Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.