diff options
| author | Arnout Vandecappelle <arnout@mind.be> | 2013-11-07 00:12:35 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2013-11-11 00:37:03 +0100 |
| commit | 13ae0075a94895c1b021d20905867ee5f354bd49 (patch) | |
| tree | f0ca7caa50341ed6f4710d19412925ccd88526a6 /linux/linux.mk | |
| parent | 3970ebf837aa7ac52528d3afc8c1701015a024b0 (diff) | |
| download | buildroot-13ae0075a94895c1b021d20905867ee5f354bd49.tar.gz buildroot-13ae0075a94895c1b021d20905867ee5f354bd49.zip | |
uboot-tools: factor out common mkimage infrastructure
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'linux/linux.mk')
| -rw-r--r-- | linux/linux.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/linux.mk b/linux/linux.mk index 29a3fd3ac0..33931e53fc 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -228,9 +228,9 @@ ifeq ($(BR2_LINUX_KERNEL_APPENDED_UIMAGE),y) # of the image. To do so, we first need to retrieve both load # address and entry point for the kernel from the already # generate uboot image before using mkimage -l. -LINUX_APPEND_DTB += $(sep) MKIMAGE_ARGS=`$(HOST_DIR)/usr/bin/mkimage -l $(LINUX_IMAGE_PATH) |\ +LINUX_APPEND_DTB += $(sep) MKIMAGE_ARGS=`$(MKIMAGE) -l $(LINUX_IMAGE_PATH) |\ sed -n -e 's/Image Name:[ ]*\(.*\)/-n \1/p' -e 's/Load Address:/-a/p' -e 's/Entry Point:/-e/p'`; \ - $(HOST_DIR)/usr/bin/mkimage -A $(KERNEL_ARCH) -O linux \ + $(MKIMAGE) -A $(MKIMAGE_ARCH) -O linux \ -T kernel -C none $${MKIMAGE_ARGS} \ -d $(KERNEL_ARCH_PATH)/boot/zImage $(LINUX_IMAGE_PATH); endif |

