New: U-Boot: mkimage cannot be installed using external toolchain
https://bugs.busybox.net/show_bug.cgi?id=757
Host: Debian Sid
Build: 2009-12-02
Summary: U-Boot: mkimage cannot be installed using external
toolchain
Product: buildroot
Version: 2009.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: anders.darander at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created an attachment (id=789)
--> (https://bugs.busybox.net/attachment.cgi?id=789)
Patch to make sure that staging_dir/usr/bin exists before copying mkimage
When compiling buildroot using an external toolchain, the mkimage tool from u-boot, cannot be installed into the staging area. This happens, as $(STAGING_DIR)/usr/bin has not been created.
Attached is a patch that creates $(STAGING_DIR)/usr/bin if necessary.
Regards,
Anders Darander
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 757] U-Boot: mkimage cannot be installed using external toolchain
https://bugs.busybox.net/show_bug.cgi?id=757
Anders Darander <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #789 is|0 |1
obsolete| |
--- Comment #1 from Anders Darander <[email protected]> 2009-12-09 10:28:35 UTC --- Created an attachment (id=813)
--> (https://bugs.busybox.net/attachment.cgi?id=813)
Rebased patch.
Bumping the issue.
Attached is a rebased version of the patched. It's now based on SHA1 ID:b7ed169692dca7a1bc423e982d37f015fc998943.
Please apply to the buildroot git archive.
Regards,
Anders Darander
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 757] U-Boot: mkimage cannot be installed using external toolchain
Hi all,
Quoted 3 lines · On Wed, Dec 9, 2009 at 11:28, <[email protected]> wrote:
Attached is a rebased version of the patched. It's now based on SHA1 ID:
b7ed169692dca7a1bc423e982d37f015fc998943.
I'm just bumping this issue, as I've not heard anything.
Unless there are any feedback, I hope that the patch could be applied. Or should the problem be solved in some other way?
Recap: The problem is that $(STAGING_DIR)/usr/bin, does not exist when u-boot tries to install the mkimage binary. Thus, the installation will fail. This occurs when using an external toolchain.
Regards,
Anders
[Buildroot] [Bug 757] U-Boot: mkimage cannot be installed using external toolchain
Hi Anders,
Le Fri, 18 Dec 2009 08:32:00 +0100,
Anders Darander <[email protected]> a ?crit :
Quoted 1 line
I'm just bumping this issue, as I've not heard anything.
Good idea. Even if the bug is registered in our bug tracker, it's always good to push patches when we don't include them quickly.
Quoted 3 lines
Recap: The problem is that $(STAGING_DIR)/usr/bin, does not exist when u-boot tries to install the mkimage binary. Thus, the installation will fail. This occurs when using an external toolchain.
I think the patch is ok to solve the immediate problem. But since mkimage is a host tool, I would rather prefer changing the u-boot Makefile.in to install mkimage to $(HOST_DIR)/usr/bin.
Cheers,
Thomas
Signature · 4 lines
Thomas Petazzoni, Free Electrons Kernel, drivers and embedded Linux development, consulting, training and support. http://free-electrons.com
[Buildroot] [Bug 757] U-Boot: mkimage cannot be installed using external toolchain
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Quoted 3 lines
Quoted 3 lines
Recap: The problem is that $(STAGING_DIR)/usr/bin, does not exist when u-boot tries to install the mkimage binary. Thus, the installation will fail. This occurs when using an external toolchain.
Thomas> I think the patch is ok to solve the immediate problem. But since Thomas> mkimage is a host tool, I would rather prefer changing the u-boot Thomas> Makefile.in to install mkimage to $(HOST_DIR)/usr/bin.
True. I'll fix that now.
Signature · 1 line
Bye, Peter Korsgaard
[Buildroot] [Bug 757] U-Boot: mkimage cannot be installed using external toolchain
Quoted 5 lines · Peter Korsgaard
?Thomas> I think the patch is ok to solve the immediate problem. But since ?Thomas> mkimage is a host tool, I would rather prefer changing the u-boot ?Thomas> Makefile.in to install mkimage to $(HOST_DIR)/usr/bin.
True. I'll fix that now.
Ok.
I was on my way to create a patch, but then I'll let you fix it.
Regards,
Anders
[Buildroot] [Bug 757] U-Boot: mkimage cannot be installed using external toolchain
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=757
Peter Korsgaard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #2 from Peter Korsgaard <[email protected]> 2009-12-18 07:51:35 UTC --- Sorry, seems I overlooked this. Committed now, thanks!
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.