All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-cgl][PATCH 0/2 v2] poky-cgl: avoid the linux bbappend adding cfgs for other distro
@ 2017-10-12  2:12 jackie.huang
  2017-10-12  2:12 ` [meta-cgl][PATCH 1/2 v2] poky-cgl.conf: add poky-cgl into DISTROOVERRIDES jackie.huang
  2017-10-12  2:12 ` [meta-cgl][PATCH 2/2 v2] cgl-common.inc: append SRC_URI for poky-cgl only jackie.huang
  0 siblings, 2 replies; 3+ messages in thread
From: jackie.huang @ 2017-10-12  2:12 UTC (permalink / raw)
  To: yocto

From: Jackie Huang <jackie.huang@windriver.com>

v2 changes:
add the missing leading space for _append.


--
The following changes since commit 73d32950c45cc8d8d468e584be68c54c6e6574b9:

  kernel: Fix config warning for CONFIG_I2C_ALGOBIT (2017-10-03 10:15:47 +0200)

are available in the git repository at:

  https://github.com/jackiehjm/meta-cgl.git jhuang0/d_poky-cgl-kernel_171012_0
  https://github.com//tree/jhuang0/d_poky-cgl-kernel_171012_0

Jackie Huang (2):
  poky-cgl.conf: add poky-cgl into DISTROOVERRIDES
  cgl-common.inc: append SRC_URI for poky-cgl only

 meta-cgl-common/conf/distro/poky-cgl.conf           | 1 +
 meta-cgl-common/recipes-kernel/linux/cgl-common.inc | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.11.0



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

* [meta-cgl][PATCH 1/2 v2] poky-cgl.conf: add poky-cgl into DISTROOVERRIDES
  2017-10-12  2:12 [meta-cgl][PATCH 0/2 v2] poky-cgl: avoid the linux bbappend adding cfgs for other distro jackie.huang
@ 2017-10-12  2:12 ` jackie.huang
  2017-10-12  2:12 ` [meta-cgl][PATCH 2/2 v2] cgl-common.inc: append SRC_URI for poky-cgl only jackie.huang
  1 sibling, 0 replies; 3+ messages in thread
From: jackie.huang @ 2017-10-12  2:12 UTC (permalink / raw)
  To: yocto

From: Jackie Huang <jackie.huang@windriver.com>

Add poky-cgl into DISTROOVERRIDES, otherwise it's
"poky:linuxstdbase" since it requires poky-lsb.conf.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta-cgl-common/conf/distro/poky-cgl.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-cgl-common/conf/distro/poky-cgl.conf b/meta-cgl-common/conf/distro/poky-cgl.conf
index 92c2ac8..269ce49 100644
--- a/meta-cgl-common/conf/distro/poky-cgl.conf
+++ b/meta-cgl-common/conf/distro/poky-cgl.conf
@@ -1,6 +1,7 @@
 require conf/distro/poky-lsb.conf
 
 DISTRO = "poky-cgl"
+DISTROOVERRIDES .= ":poky-cgl"
 
 DISTRO_FEATURES_append = " selinux ptest argp ext2 xattr nfs pci ipv4 ipv6"
 
-- 
2.11.0



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

* [meta-cgl][PATCH 2/2 v2] cgl-common.inc: append SRC_URI for poky-cgl only
  2017-10-12  2:12 [meta-cgl][PATCH 0/2 v2] poky-cgl: avoid the linux bbappend adding cfgs for other distro jackie.huang
  2017-10-12  2:12 ` [meta-cgl][PATCH 1/2 v2] poky-cgl.conf: add poky-cgl into DISTROOVERRIDES jackie.huang
@ 2017-10-12  2:12 ` jackie.huang
  1 sibling, 0 replies; 3+ messages in thread
From: jackie.huang @ 2017-10-12  2:12 UTC (permalink / raw)
  To: yocto

From: Jackie Huang <jackie.huang@windriver.com>

Someone may want to add meta-cgl-common layer into their
distro and only use some of the packages, but these kernel
features will be also added by the bbappend and may cause
unexpected issue, so change to append the SRC_URI for poky-cgl
distro only.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta-cgl-common/recipes-kernel/linux/cgl-common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
index 52cf773..1c93d7d 100644
--- a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
+++ b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
@@ -1,6 +1,6 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
 
-SRC_URI += "file://cfg/00001-systemtap.cfg \
+SRC_URI_append_poky-cgl = " file://cfg/00001-systemtap.cfg \
             file://cfg/00002-oprofile.cfg \
             file://cfg/00003-lttng.cfg \
             file://cfg/00004-kgdb.cfg \
-- 
2.11.0



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

end of thread, other threads:[~2017-10-12  2:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-12  2:12 [meta-cgl][PATCH 0/2 v2] poky-cgl: avoid the linux bbappend adding cfgs for other distro jackie.huang
2017-10-12  2:12 ` [meta-cgl][PATCH 1/2 v2] poky-cgl.conf: add poky-cgl into DISTROOVERRIDES jackie.huang
2017-10-12  2:12 ` [meta-cgl][PATCH 2/2 v2] cgl-common.inc: append SRC_URI for poky-cgl only jackie.huang

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.