* [PATCH] linux-dtb: Fix compilation failure in install and deploy phases @ 2013-08-20 10:02 Mike Looijmans 2013-08-20 15:21 ` Otavio Salvador 0 siblings, 1 reply; 3+ messages in thread From: Mike Looijmans @ 2013-08-20 10:02 UTC (permalink / raw) To: openembedded-core Baking a kernel failed on the devicetree creation. This was caused by the install and deploy scripts referring to the wrong directory for the dtb files. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> --- meta/recipes-kernel/linux/linux-dtb.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc index cebc76a..65e61eb 100644 --- a/meta/recipes-kernel/linux/linux-dtb.inc +++ b/meta/recipes-kernel/linux/linux-dtb.inc @@ -16,7 +16,7 @@ do_install_append() { DTB_NAME=`echo ${KERNEL_IMAGE_BASE_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` oe_runmake ${DTB} - install -m 0644 ${B}/arch/${ARCH}/boot/${DTB} ${D}/${KERNEL_IMAGEDEST}/devicetree-${DTB_SYMLINK_NAME}.dtb + install -m 0644 ${B}/arch/${ARCH}/boot/dts/${DTB} ${D}/${KERNEL_IMAGEDEST}/devicetree-${DTB_SYMLINK_NAME}.dtb done fi } @@ -32,7 +32,7 @@ do_deploy_append() { DTB_NAME=`echo ${KERNEL_IMAGE_BASE_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` install -d ${DEPLOYDIR} - install -m 0644 ${B}/arch/${ARCH}/boot/${DTB} ${DEPLOYDIR}/${DTB_NAME}.dtb + install -m 0644 ${B}/arch/${ARCH}/boot/dts/${DTB} ${DEPLOYDIR}/${DTB_NAME}.dtb cd ${DEPLOYDIR} ln -sf ${DTB_NAME}.dtb ${DTB_SYMLINK_NAME}.dtb cd - -- 1.7.9.5 ^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] linux-dtb: Fix compilation failure in install and deploy phases 2013-08-20 10:02 [PATCH] linux-dtb: Fix compilation failure in install and deploy phases Mike Looijmans @ 2013-08-20 15:21 ` Otavio Salvador 2013-08-21 5:38 ` Mike Looijmans 0 siblings, 1 reply; 3+ messages in thread From: Otavio Salvador @ 2013-08-20 15:21 UTC (permalink / raw) To: Mike Looijmans; +Cc: Patches and discussions about the oe-core layer On Tue, Aug 20, 2013 at 7:02 AM, Mike Looijmans <mike.looijmans@topic.nl> wrote: > Baking a kernel failed on the devicetree creation. This was caused > by the install and deploy scripts referring to the wrong directory > for the dtb files. > > Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Nack! The right fix for this has been merged already. Your patch fixes kernel > 3.8 but breaks < 3.8 kernels. The patch applied today has support for both cases. Regards, -- Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] linux-dtb: Fix compilation failure in install and deploy phases 2013-08-20 15:21 ` Otavio Salvador @ 2013-08-21 5:38 ` Mike Looijmans 0 siblings, 0 replies; 3+ messages in thread From: Mike Looijmans @ 2013-08-21 5:38 UTC (permalink / raw) To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer On 08/20/2013 05:21 PM, Otavio Salvador wrote: > On Tue, Aug 20, 2013 at 7:02 AM, Mike Looijmans <mike.looijmans@topic.nl> wrote: >> Baking a kernel failed on the devicetree creation. This was caused >> by the install and deploy scripts referring to the wrong directory >> for the dtb files. >> >> Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> > > Nack! The right fix for this has been merged already. > > Your patch fixes kernel > 3.8 but breaks < 3.8 kernels. The patch > applied today has support for both cases. Indeed, forget my patch. Mike. Met vriendelijke groet / kind regards, Mike Looijmans TOPIC Embedded Systems Eindhovenseweg 32-C, NL-5683 KH Best Postbus 440, NL-5680 AK Best Telefoon: (+31) – (0)499 - 33.69.79 Telefax: (+31) - (0)499 - 33.69.70 E-mail: mike.looijmans@topic.nl Website: www.topic.nl Dit e-mail bericht en de eventueel daarbij behorende bijlagen zijn uitsluitend bestemd voor de geadresseerde, zoals die blijkt uit het e-mail bericht en/of de bijlagen. Er kunnen gegevens met betrekking tot een derde instaan. Indien u als niet-geadresseerde dit bericht en de bijlagen ontvangt, terwijl u niet bevoegd of gemachtigd bent om dit bericht namens de geadresseerde te ontvangen, wordt u verzocht de afzender hierover direct te informeren en het e-mail bericht met de bijlagen te vernietigen. Ieder gebruik van de inhoud van het e-mail bericht, waaronder de daarbij behorende bijlagen, door een ander dan de geadresseerde is onrechtmatig jegens ons dan wel de eventueel in het e-mail bericht of de bijlagen voorkomende andere personen. TOPIC Embedded Systems is niet aansprakelijk voor enigerlei schade voortvloeiend uit het gebruik en/of acceptatie van dit e-mail bericht of de daarbij behorende bijlagen. The contents of this message, as well as any enclosures, are addressed personally to, and thus solely intended for the addressee. They may contain information regarding a third party. A recipient who is neither the addressee, nor empowered to receive this message on behalf of the addressee, is kindly requested to immediately inform the sender of receipt, and to destroy the message and the enclosures. Any use of the contents of this message and/or the enclosures by any other person than the addressee or person who is empowered to receive this message, is illegal towards the sender and/or the aforementioned third party. TOPIC Embedded Systems is not liable for any damage as a result of the use and/or acceptance of this message and as well as any enclosures. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-08-21 5:38 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-08-20 10:02 [PATCH] linux-dtb: Fix compilation failure in install and deploy phases Mike Looijmans 2013-08-20 15:21 ` Otavio Salvador 2013-08-21 5:38 ` Mike Looijmans
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox