[Buildroot] [PATCH] imx-usb-loader: new host package

Jérôme Pouiller jezz at sysmic.org
Mon Apr 27 17:56:38 UTC 2015


Hello Antoine,

On Monday 27 April 2015 15:47:39 Antoine Tenart wrote:
> This host package allows to build tools to download and execute code on
> Freescale i.MX5/i.MX6 and Vybrid SoCs through the Serial Download
> Protocol.
> 
> The work behind this commit was funded by ECA Group
> <http://www.ecagroup.com>. ECA Group is the copyright owner of the
> contributed code.
> 
> Signed-off-by: Antoine Tenart <antoine.tenart at free-electrons.com>
> ---
>  package/Config.in.host                   |  1 +
>  package/imx-usb-loader/Config.in.host    | 10 ++++++++++
>  package/imx-usb-loader/imx-usb-loader.mk | 22 ++++++++++++++++++++++
>  3 files changed, 33 insertions(+)
>  create mode 100644 package/imx-usb-loader/Config.in.host
>  create mode 100644 package/imx-usb-loader/imx-usb-loader.mk
[...]
> +define HOST_IMX_USB_LOADER_INSTALL_CMDS
> +	$(MAKE) -C $(@D)	\
> +		DESTDIR=$(HOST_DIR) install
> +endef
hmm... configuration files are installed in $(HOST_DIR)/usr/etc, 
$(HOST_DIR)/etc would be better.

More annoying, it seems installed binaries look for configuration files in 
/etc instead of $(HOST_DIR)/etc.


> +
> +$(eval $(host-generic-package))
> 

-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr


More information about the buildroot mailing list