* [meta-raspberrypi][PATCH 0/1] linux-rpi: clean .config in before do_configure step
@ 2016-12-15 10:05 Piotr Lewicki
2016-12-15 10:05 ` [meta-raspberrypi][PATCH 1/1] " Piotr Lewicki
2016-12-15 10:51 ` [meta-raspberrypi][PATCH 0/1] " Andreas Müller
0 siblings, 2 replies; 10+ messages in thread
From: Piotr Lewicki @ 2016-12-15 10:05 UTC (permalink / raw)
To: yocto
Previously using bbappend files for linux-raspberrypi recipe did not allow to
use "kernel_configure_variable" function to set kernel config variables.
If user wanted to use it in his bbappend with "do_configure_prepend" it was
cleared afterwards. This patch moves cleaning to a separate step.
I'm unsure about whether CONF_SED_SCRIPT variable gets cleaned here. Please
verify this.
Piotr Lewicki (1):
linux-rpi: clean .config in before do_configure step
recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 10+ messages in thread
* [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-15 10:05 [meta-raspberrypi][PATCH 0/1] linux-rpi: clean .config in before do_configure step Piotr Lewicki
@ 2016-12-15 10:05 ` Piotr Lewicki
2016-12-16 16:58 ` Khem Raj
2016-12-15 10:51 ` [meta-raspberrypi][PATCH 0/1] " Andreas Müller
1 sibling, 1 reply; 10+ messages in thread
From: Piotr Lewicki @ 2016-12-15 10:05 UTC (permalink / raw)
To: yocto
Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
---
recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
index 95a9530..c665b9f 100644
--- a/recipes-kernel/linux/linux-rpi.inc
+++ b/recipes-kernel/linux/linux-rpi.inc
@@ -34,11 +34,13 @@ kernel_configure_variable() {
fi
}
-do_configure_prepend() {
+do_rpi_kconfig_clean() {
# Clean .config
- echo "" > ${B}/.config
+ echo -n "" > ${B}/.config
CONF_SED_SCRIPT=""
+}
+do_configure_prepend() {
# oabi / eabi support
kernel_configure_variable AEABI y
if [ "${ARM_KEEP_OABI}" = "1" ] ; then
@@ -124,8 +126,11 @@ do_configure_prepend() {
# Keep this the last line
# Remove all modified configs and add the rest to .config
sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
+ # Clean variable- useful when calling configure step multiple times
+ CONF_SED_SCRIPT=""
yes '' | oe_runmake oldconfig
+
}
# Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
@@ -146,3 +151,5 @@ python () {
configfile.close()
}
+
+addtask rpi_kconfig_clean before do_configure after do_populate_lic
--
2.7.4
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 0/1] linux-rpi: clean .config in before do_configure step
2016-12-15 10:05 [meta-raspberrypi][PATCH 0/1] linux-rpi: clean .config in before do_configure step Piotr Lewicki
2016-12-15 10:05 ` [meta-raspberrypi][PATCH 1/1] " Piotr Lewicki
@ 2016-12-15 10:51 ` Andreas Müller
1 sibling, 0 replies; 10+ messages in thread
From: Andreas Müller @ 2016-12-15 10:51 UTC (permalink / raw)
To: Piotr Lewicki; +Cc: Yocto Project
On Thu, Dec 15, 2016 at 11:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
> Previously using bbappend files for linux-raspberrypi recipe did not allow to
> use "kernel_configure_variable" function to set kernel config variables.
> If user wanted to use it in his bbappend with "do_configure_prepend" it was
> cleared afterwards. This patch moves cleaning to a separate step.
> I'm unsure about whether CONF_SED_SCRIPT variable gets cleaned here. Please
> verify this.
^^ I would suggest to put this description into the patch itself
Andreas
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-15 10:05 ` [meta-raspberrypi][PATCH 1/1] " Piotr Lewicki
@ 2016-12-16 16:58 ` Khem Raj
2016-12-16 19:31 ` Mike Looijmans
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: Khem Raj @ 2016-12-16 16:58 UTC (permalink / raw)
To: Piotr Lewicki; +Cc: yocto
> On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
>
> Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
> ---
> recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
> index 95a9530..c665b9f 100644
> --- a/recipes-kernel/linux/linux-rpi.inc
> +++ b/recipes-kernel/linux/linux-rpi.inc
> @@ -34,11 +34,13 @@ kernel_configure_variable() {
> fi
> }
>
> -do_configure_prepend() {
> +do_rpi_kconfig_clean() {
> # Clean .config
> - echo "" > ${B}/.config
> + echo -n "" > ${B}/.config
> CONF_SED_SCRIPT=""
> +}
>
> +do_configure_prepend() {
> # oabi / eabi support
> kernel_configure_variable AEABI y
> if [ "${ARM_KEEP_OABI}" = "1" ] ; then
> @@ -124,8 +126,11 @@ do_configure_prepend() {
> # Keep this the last line
> # Remove all modified configs and add the rest to .config
> sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
> + # Clean variable- useful when calling configure step multiple times
> + CONF_SED_SCRIPT=""
>
> yes '' | oe_runmake oldconfig
> +
> }
>
> # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
> @@ -146,3 +151,5 @@ python () {
>
> configfile.close()
> }
> +
> +addtask rpi_kconfig_clean before do_configure after do_populate_lic
we should investigate the kernel tooling from OE-Core and use that IMO
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-16 16:58 ` Khem Raj
@ 2016-12-16 19:31 ` Mike Looijmans
2016-12-19 15:31 ` Sandro Stiller
2016-12-29 18:20 ` Andrei Gherzan
2 siblings, 0 replies; 10+ messages in thread
From: Mike Looijmans @ 2016-12-16 19:31 UTC (permalink / raw)
To: yocto
On 16-12-16 17:58, Khem Raj wrote:
>
>>
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: mike.looijmans@topicproducts.com
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
>>
>> Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
>> ---
>> recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
>> 1 file changed, 9 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
>> index 95a9530..c665b9f 100644
>> --- a/recipes-kernel/linux/linux-rpi.inc
>> +++ b/recipes-kernel/linux/linux-rpi.inc
>> @@ -34,11 +34,13 @@ kernel_configure_variable() {
>> fi
>> }
>>
>> -do_configure_prepend() {
>> +do_rpi_kconfig_clean() {
>> # Clean .config
>> - echo "" > ${B}/.config
>> + echo -n "" > ${B}/.config
>> CONF_SED_SCRIPT=""
>> +}
>>
>> +do_configure_prepend() {
>> # oabi / eabi support
>> kernel_configure_variable AEABI y
>> if [ "${ARM_KEEP_OABI}" = "1" ] ; then
>> @@ -124,8 +126,11 @@ do_configure_prepend() {
>> # Keep this the last line
>> # Remove all modified configs and add the rest to .config
>> sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
>> + # Clean variable- useful when calling configure step multiple times
>> + CONF_SED_SCRIPT=""
>>
>> yes '' | oe_runmake oldconfig
>> +
>> }
>>
>> # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
>> @@ -146,3 +151,5 @@ python () {
>>
>> configfile.close()
>> }
>> +
>> +addtask rpi_kconfig_clean before do_configure after do_populate_lic
>
> we should investigate the kernel tooling from OE-Core and use that IMO
See this thread on the OE list for a similar problem:
http://lists.openembedded.org/pipermail/openembedded-core/2016-November/129205.html
--
Mike Looijmans
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-16 16:58 ` Khem Raj
2016-12-16 19:31 ` Mike Looijmans
@ 2016-12-19 15:31 ` Sandro Stiller
2016-12-29 18:20 ` Andrei Gherzan
2 siblings, 0 replies; 10+ messages in thread
From: Sandro Stiller @ 2016-12-19 15:31 UTC (permalink / raw)
To: yocto
Am 16.12.2016 um 17:58 schrieb Khem Raj:
>
>> On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
>>
>> Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
>>[...]
>
> we should investigate the kernel tooling from OE-Core and use that IMO
You mean configuration fragments?
I don't like the special kernel cfg stuff for meta-raspberrypi and applied this patch to use the same system with all bsp layers:
https://lists.yoctoproject.org/pipermail/yocto/2015-October/027034.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-16 16:58 ` Khem Raj
2016-12-16 19:31 ` Mike Looijmans
2016-12-19 15:31 ` Sandro Stiller
@ 2016-12-29 18:20 ` Andrei Gherzan
2016-12-30 7:20 ` Piotr Lewicki
2 siblings, 1 reply; 10+ messages in thread
From: Andrei Gherzan @ 2016-12-29 18:20 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2121 bytes --]
On Fri, Dec 16, 2016 at 08:58:22AM -0800, Khem Raj wrote:
>
> > On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
> >
> > Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
> > ---
> > recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
> > 1 file changed, 9 insertions(+), 2 deletions(-)
> >
> > diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
> > index 95a9530..c665b9f 100644
> > --- a/recipes-kernel/linux/linux-rpi.inc
> > +++ b/recipes-kernel/linux/linux-rpi.inc
> > @@ -34,11 +34,13 @@ kernel_configure_variable() {
> > fi
> > }
> >
> > -do_configure_prepend() {
> > +do_rpi_kconfig_clean() {
> > # Clean .config
> > - echo "" > ${B}/.config
> > + echo -n "" > ${B}/.config
> > CONF_SED_SCRIPT=""
> > +}
> >
> > +do_configure_prepend() {
> > # oabi / eabi support
> > kernel_configure_variable AEABI y
> > if [ "${ARM_KEEP_OABI}" = "1" ] ; then
> > @@ -124,8 +126,11 @@ do_configure_prepend() {
> > # Keep this the last line
> > # Remove all modified configs and add the rest to .config
> > sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
> > + # Clean variable- useful when calling configure step multiple times
> > + CONF_SED_SCRIPT=""
> >
> > yes '' | oe_runmake oldconfig
> > +
> > }
> >
> > # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
> > @@ -146,3 +151,5 @@ python () {
> >
> > configfile.close()
> > }
> > +
> > +addtask rpi_kconfig_clean before do_configure after do_populate_lic
>
> we should investigate the kernel tooling from OE-Core and use that IMO
I'm all for this. We should get rid of this and unify with oe-core
tooling.
@Piotr Would you like to work on this and remove completely this while
reworking on the kernel fragments configuration support? I'll take a
look on the old patches too.
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Andrei Gherzan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-29 18:20 ` Andrei Gherzan
@ 2016-12-30 7:20 ` Piotr Lewicki
2016-12-30 13:20 ` Andrei Gherzan
0 siblings, 1 reply; 10+ messages in thread
From: Piotr Lewicki @ 2016-12-30 7:20 UTC (permalink / raw)
To: Andrei Gherzan, Khem Raj; +Cc: yocto
On 29.12.2016 19:20, Andrei Gherzan wrote:
> On Fri, Dec 16, 2016 at 08:58:22AM -0800, Khem Raj wrote:
>>> On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
>>>
>>> Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
>>> ---
>>> recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
>>> 1 file changed, 9 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
>>> index 95a9530..c665b9f 100644
>>> --- a/recipes-kernel/linux/linux-rpi.inc
>>> +++ b/recipes-kernel/linux/linux-rpi.inc
>>> @@ -34,11 +34,13 @@ kernel_configure_variable() {
>>> fi
>>> }
>>>
>>> -do_configure_prepend() {
>>> +do_rpi_kconfig_clean() {
>>> # Clean .config
>>> - echo "" > ${B}/.config
>>> + echo -n "" > ${B}/.config
>>> CONF_SED_SCRIPT=""
>>> +}
>>>
>>> +do_configure_prepend() {
>>> # oabi / eabi support
>>> kernel_configure_variable AEABI y
>>> if [ "${ARM_KEEP_OABI}" = "1" ] ; then
>>> @@ -124,8 +126,11 @@ do_configure_prepend() {
>>> # Keep this the last line
>>> # Remove all modified configs and add the rest to .config
>>> sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
>>> + # Clean variable- useful when calling configure step multiple times
>>> + CONF_SED_SCRIPT=""
>>>
>>> yes '' | oe_runmake oldconfig
>>> +
>>> }
>>>
>>> # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
>>> @@ -146,3 +151,5 @@ python () {
>>>
>>> configfile.close()
>>> }
>>> +
>>> +addtask rpi_kconfig_clean before do_configure after do_populate_lic
>> we should investigate the kernel tooling from OE-Core and use that IMO
> I'm all for this. We should get rid of this and unify with oe-core
> tooling.
>
> @Piotr Would you like to work on this and remove completely this while
> reworking on the kernel fragments configuration support? I'll take a
> look on the old patches too.
@Andrei: I'll try to do this.
>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> --
> Andrei Gherzan
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-30 7:20 ` Piotr Lewicki
@ 2016-12-30 13:20 ` Andrei Gherzan
2017-01-02 13:41 ` Piotr Lewicki
0 siblings, 1 reply; 10+ messages in thread
From: Andrei Gherzan @ 2016-12-30 13:20 UTC (permalink / raw)
To: Piotr Lewicki; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2405 bytes --]
On Fri, Dec 30, 2016 at 08:20:00AM +0100, Piotr Lewicki wrote:
> On 29.12.2016 19:20, Andrei Gherzan wrote:
> > On Fri, Dec 16, 2016 at 08:58:22AM -0800, Khem Raj wrote:
> > > > On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
> > > >
> > > > Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
> > > > ---
> > > > recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
> > > > 1 file changed, 9 insertions(+), 2 deletions(-)
> > > >
> > > > diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
> > > > index 95a9530..c665b9f 100644
> > > > --- a/recipes-kernel/linux/linux-rpi.inc
> > > > +++ b/recipes-kernel/linux/linux-rpi.inc
> > > > @@ -34,11 +34,13 @@ kernel_configure_variable() {
> > > > fi
> > > > }
> > > >
> > > > -do_configure_prepend() {
> > > > +do_rpi_kconfig_clean() {
> > > > # Clean .config
> > > > - echo "" > ${B}/.config
> > > > + echo -n "" > ${B}/.config
> > > > CONF_SED_SCRIPT=""
> > > > +}
> > > >
> > > > +do_configure_prepend() {
> > > > # oabi / eabi support
> > > > kernel_configure_variable AEABI y
> > > > if [ "${ARM_KEEP_OABI}" = "1" ] ; then
> > > > @@ -124,8 +126,11 @@ do_configure_prepend() {
> > > > # Keep this the last line
> > > > # Remove all modified configs and add the rest to .config
> > > > sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
> > > > + # Clean variable- useful when calling configure step multiple times
> > > > + CONF_SED_SCRIPT=""
> > > >
> > > > yes '' | oe_runmake oldconfig
> > > > +
> > > > }
> > > >
> > > > # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
> > > > @@ -146,3 +151,5 @@ python () {
> > > >
> > > > configfile.close()
> > > > }
> > > > +
> > > > +addtask rpi_kconfig_clean before do_configure after do_populate_lic
> > > we should investigate the kernel tooling from OE-Core and use that IMO
> > I'm all for this. We should get rid of this and unify with oe-core
> > tooling.
> >
> > @Piotr Would you like to work on this and remove completely this while
> > reworking on the kernel fragments configuration support? I'll take a
> > look on the old patches too.
> @Andrei: I'll try to do this.
That would be very helpful. This one of my top things to change in this
layer.
--
Andrei Gherzan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [meta-raspberrypi][PATCH 1/1] linux-rpi: clean .config in before do_configure step
2016-12-30 13:20 ` Andrei Gherzan
@ 2017-01-02 13:41 ` Piotr Lewicki
0 siblings, 0 replies; 10+ messages in thread
From: Piotr Lewicki @ 2017-01-02 13:41 UTC (permalink / raw)
To: Andrei Gherzan; +Cc: yocto
On 30.12.2016 14:20, Andrei Gherzan wrote:
> On Fri, Dec 30, 2016 at 08:20:00AM +0100, Piotr Lewicki wrote:
>> On 29.12.2016 19:20, Andrei Gherzan wrote:
>>> On Fri, Dec 16, 2016 at 08:58:22AM -0800, Khem Raj wrote:
>>>>> On Dec 15, 2016, at 2:05 AM, Piotr Lewicki <piotr.lewicki@elfin.de> wrote:
>>>>>
>>>>> Signed-off-by: Piotr Lewicki <piotr.lewicki@elfin.de>
>>>>> ---
>>>>> recipes-kernel/linux/linux-rpi.inc | 11 +++++++++--
>>>>> 1 file changed, 9 insertions(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
>>>>> index 95a9530..c665b9f 100644
>>>>> --- a/recipes-kernel/linux/linux-rpi.inc
>>>>> +++ b/recipes-kernel/linux/linux-rpi.inc
>>>>> @@ -34,11 +34,13 @@ kernel_configure_variable() {
>>>>> fi
>>>>> }
>>>>>
>>>>> -do_configure_prepend() {
>>>>> +do_rpi_kconfig_clean() {
>>>>> # Clean .config
>>>>> - echo "" > ${B}/.config
>>>>> + echo -n "" > ${B}/.config
>>>>> CONF_SED_SCRIPT=""
>>>>> +}
>>>>>
>>>>> +do_configure_prepend() {
>>>>> # oabi / eabi support
>>>>> kernel_configure_variable AEABI y
>>>>> if [ "${ARM_KEEP_OABI}" = "1" ] ; then
>>>>> @@ -124,8 +126,11 @@ do_configure_prepend() {
>>>>> # Keep this the last line
>>>>> # Remove all modified configs and add the rest to .config
>>>>> sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config'
>>>>> + # Clean variable- useful when calling configure step multiple times
>>>>> + CONF_SED_SCRIPT=""
>>>>>
>>>>> yes '' | oe_runmake oldconfig
>>>>> +
>>>>> }
>>>>>
>>>>> # Automatically depend on lzop-native if CONFIG_KERNEL_LZO is enabled
>>>>> @@ -146,3 +151,5 @@ python () {
>>>>>
>>>>> configfile.close()
>>>>> }
>>>>> +
>>>>> +addtask rpi_kconfig_clean before do_configure after do_populate_lic
>>>> we should investigate the kernel tooling from OE-Core and use that IMO
>>> I'm all for this. We should get rid of this and unify with oe-core
>>> tooling.
>>>
>>> @Piotr Would you like to work on this and remove completely this while
>>> reworking on the kernel fragments configuration support? I'll take a
>>> look on the old patches too.
>> @Andrei: I'll try to do this.
> That would be very helpful. This one of my top things to change in this
> layer.
I'm wondering if this make sense to rewrite linux-rpi.inc file so that
it uses config fragments.
If we only apply the old patch from Alex J Lennon ("linux-raspberrypi:
support configuration fragments / in-tree defconfig") than kernel config
fragments (using .cfg files with kernel configs) can be used with
linux-raspberrypi (tested).
All of the kernel configs that are set in "linux-rpi.inc" file (e.g. VC4
related config flags if one has VC4 support) should be applied even if
somebody sets some other value in config fragment file.
If we only use Alex's patch then we first apply all of the config
fragments and then if needed - overwrite them with options necessary by
the rpi machine.
I'm resending Alex's patch either way for easier applying.
>
> --
> Andrei Gherzan
--
Piotr Lewicki
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2017-01-02 13:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-15 10:05 [meta-raspberrypi][PATCH 0/1] linux-rpi: clean .config in before do_configure step Piotr Lewicki
2016-12-15 10:05 ` [meta-raspberrypi][PATCH 1/1] " Piotr Lewicki
2016-12-16 16:58 ` Khem Raj
2016-12-16 19:31 ` Mike Looijmans
2016-12-19 15:31 ` Sandro Stiller
2016-12-29 18:20 ` Andrei Gherzan
2016-12-30 7:20 ` Piotr Lewicki
2016-12-30 13:20 ` Andrei Gherzan
2017-01-02 13:41 ` Piotr Lewicki
2016-12-15 10:51 ` [meta-raspberrypi][PATCH 0/1] " Andreas Müller
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.