All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm PATCH v2 00/16] Machine overrides extender - reduce code duplication
@ 2016-09-01 22:20 Otavio Salvador
  2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 01/16] Convert SOC_FAMILY to MACHINEOVERRIDES Otavio Salvador
                   ` (16 more replies)
  0 siblings, 17 replies; 41+ messages in thread
From: Otavio Salvador @ 2016-09-01 22:20 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"

Changes in v2:
- Use BitBake event to insert the extends
- New patch.

Otavio Salvador (16):
  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
  gstreamer1.0-plugins-imx: Change EGL platform preference order

 .../recipes-browser/chromium/chromium-imx.inc      |  3 +-
 .../chromium/chromium_48.0.2548.0.bbappend         |  5 +-
 classes/machine-overrides-extender.bbclass         | 29 ++++++++++
 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   | 19 ++++---
 recipes-multimedia/imx-codec/imx-codec.inc         |  3 +-
 38 files changed, 160 insertions(+), 137 deletions(-)
 create mode 100644 classes/machine-overrides-extender.bbclass

-- 
2.9.3



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

end of thread, other threads:[~2016-09-06 17:38 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-01 22:20 [meta-fsl-arm PATCH v2 00/16] Machine overrides extender - reduce code duplication Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 01/16] Convert SOC_FAMILY to MACHINEOVERRIDES Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 02/16] imx-lib: Stop using generic SoC overrides Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 03/16] imx-test: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 04/16] machine-overrides-extender.bbclass: Automatically set extend the MACHINEOVERRIDES Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 05/16] imx-base.inc: Enable machine overrides extender for i.MX6 Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 06/16] chromium: Refactor code to use the the new overrides Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 07/16] glmark2: Refactor code to use " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 08/16] qtbase: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 09/16] cairo: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 10/16] eglinfo: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 11/16] imx-gpu-viv: " Otavio Salvador
2016-09-06 14:23   ` Tom Hochstein
2016-09-06 14:54     ` Otavio Salvador
2016-09-06 15:04       ` Tom Hochstein
2016-09-06 16:14         ` Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 12/16] mesa-gl: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 13/16] weston: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 14/16] gstreamer1.0-plugins-imx: " Otavio Salvador
2016-09-06 14:25   ` Tom Hochstein
2016-09-06 14:42     ` Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 15/16] imx-codec: " Otavio Salvador
2016-09-01 22:20 ` [meta-fsl-arm PATCH v2 16/16] gstreamer1.0-plugins-imx: Change EGL platform preference order Otavio Salvador
2016-09-02  3:42 ` [meta-fsl-arm PATCH v2 00/16] Machine overrides extender - reduce code duplication Tom Hochstein
2016-09-02 10:13   ` Otavio Salvador
2016-09-02 14:46     ` Tom Hochstein
2016-09-02 18:55       ` Otavio Salvador
2016-09-02 19:56         ` Tom Hochstein
2016-09-02 20:11           ` Otavio Salvador
2016-09-02 22:29             ` Tom Hochstein
2016-09-03 20:23               ` Otavio Salvador
2016-09-04 17:15                 ` Tom Hochstein
2016-09-05 12:55                   ` Otavio Salvador
2016-09-05 16:37                     ` Tom Hochstein
2016-09-05 17:18                       ` Otavio Salvador
2016-09-06  1:13                         ` Tom Hochstein
2016-09-06 12:39                           ` Otavio Salvador
2016-09-06 13:25                             ` Tom Hochstein
2016-09-06 13:45                               ` Otavio Salvador
2016-09-06 14:54                                 ` Tom Hochstein
2016-09-06 16:11                                   ` 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.