mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency.
@ 2022-03-06 20:10 Christian Melki
  2022-03-07 14:23 ` Michael Olbrich
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Melki @ 2022-03-06 20:10 UTC (permalink / raw)
  To: ptxdist

Looks like the base kernel is missing host dtc dependency?
A build ended up in a situation where it wouldn't find the host dtc.
This fixes my build atleast.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 platforms/kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index 9f355f5dc..8229014c1 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -13,6 +13,7 @@ menuconfig KERNEL
 	select HOST_SYSTEM_BC
 	select HOST_OPENSSL		if KERNEL_OPENSSL
 	select HOST_LIBELF		if KERNEL_LIBELF
+	select HOST_DTC			if KERNEL_DTB
 	prompt "Linux kernel                  "
 
 if KERNEL
-- 
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

* Re: [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency.
  2022-03-06 20:10 [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency Christian Melki
@ 2022-03-07 14:23 ` Michael Olbrich
  2022-03-07 14:28   ` Christian Melki
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2022-03-07 14:23 UTC (permalink / raw)
  To: Christian Melki; +Cc: ptxdist

On Sun, Mar 06, 2022 at 09:10:14PM +0100, Christian Melki wrote:
> Looks like the base kernel is missing host dtc dependency?
> A build ended up in a situation where it wouldn't find the host dtc.
> This fixes my build atleast.

No, the kernel dtc should be used here. However, there was a bug
ptxdist-2022.02.0 where this was broken. Is that your ptxdist version?
This was fixed in eb4331e7d82a871d5c5e519bb4c5ae4e123c52e1.

Michael

> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> ---
>  platforms/kernel.in | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/platforms/kernel.in b/platforms/kernel.in
> index 9f355f5dc..8229014c1 100644
> --- a/platforms/kernel.in
> +++ b/platforms/kernel.in
> @@ -13,6 +13,7 @@ menuconfig KERNEL
>  	select HOST_SYSTEM_BC
>  	select HOST_OPENSSL		if KERNEL_OPENSSL
>  	select HOST_LIBELF		if KERNEL_LIBELF
> +	select HOST_DTC			if KERNEL_DTB
>  	prompt "Linux kernel                  "
>  
>  if KERNEL
> -- 
> 2.30.2
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

* Re: [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency.
  2022-03-07 14:23 ` Michael Olbrich
@ 2022-03-07 14:28   ` Christian Melki
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Melki @ 2022-03-07 14:28 UTC (permalink / raw)
  To: Michael Olbrich; +Cc: ptxdist



On 3/7/22 3:23 PM, Michael Olbrich wrote:
> On Sun, Mar 06, 2022 at 09:10:14PM +0100, Christian Melki wrote:
>> Looks like the base kernel is missing host dtc dependency?
>> A build ended up in a situation where it wouldn't find the host dtc.
>> This fixes my build atleast.
> 
> No, the kernel dtc should be used here. However, there was a bug
> ptxdist-2022.02.0 where this was broken. Is that your ptxdist version?
> This was fixed in eb4331e7d82a871d5c5e519bb4c5ae4e123c52e1.
> 
> Michael
> 

Ah. That explains it.
Thanks for pointing me in the right direction.

Christian

>> Signed-off-by: Christian Melki <christian.melki@t2data.com>
>> ---
>>   platforms/kernel.in | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/platforms/kernel.in b/platforms/kernel.in
>> index 9f355f5dc..8229014c1 100644
>> --- a/platforms/kernel.in
>> +++ b/platforms/kernel.in
>> @@ -13,6 +13,7 @@ menuconfig KERNEL
>>   	select HOST_SYSTEM_BC
>>   	select HOST_OPENSSL		if KERNEL_OPENSSL
>>   	select HOST_LIBELF		if KERNEL_LIBELF
>> +	select HOST_DTC			if KERNEL_DTB
>>   	prompt "Linux kernel                  "
>>   
>>   if KERNEL
>> -- 
>> 2.30.2
>>
>>
>> _______________________________________________
>> ptxdist mailing list
>> ptxdist@pengutronix.de
>> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
>>
> 

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


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

* Re: [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency.
@ 2022-03-07 10:43 Denis OSTERLAND-HEIM
  0 siblings, 0 replies; 4+ messages in thread
From: Denis OSTERLAND-HEIM @ 2022-03-07 10:43 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1345 bytes --]

Hi,

The help of HOST_DTC reads like this is not the intention here.

> Select this if the HOST_DTC tool is required without
>  building a device tree. (It is also used for building
>  U-boot FIT images)

I thinks there is something other wrong.

Regards, Denis

-----Original Message-----
From: ptxdist <ptxdist-bounces@pengutronix.de> On Behalf Of Christian Melki
Sent: Sunday, March 6, 2022 9:10 PM
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency.

Looks like the base kernel is missing host dtc dependency?
A build ended up in a situation where it wouldn't find the host dtc.
This fixes my build atleast.

Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
 platforms/kernel.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in index
9f355f5dc..8229014c1 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -13,6 +13,7 @@ menuconfig KERNEL
 	select HOST_SYSTEM_BC
 	select HOST_OPENSSL		if KERNEL_OPENSSL
 	select HOST_LIBELF		if KERNEL_LIBELF
+	select HOST_DTC			if KERNEL_DTB
 	prompt "Linux kernel                  "
 
 if KERNEL
--
2.30.2


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to
ptxdist-request@pengutronix.de

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 3908 bytes --]

[-- Attachment #2: Type: text/plain, Size: 181 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

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

end of thread, other threads:[~2022-03-07 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-06 20:10 [ptxdist] [PATCH] platforms/kernel: Add HOST_DTC dependency Christian Melki
2022-03-07 14:23 ` Michael Olbrich
2022-03-07 14:28   ` Christian Melki
2022-03-07 10:43 Denis OSTERLAND-HEIM

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox