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

Eric Nelson eric.nelson at boundarydevices.com
Mon Apr 27 20:01:43 UTC 2015


Hi Jérôme,

On 04/27/2015 10:56 AM, Jérôme Pouiller wrote:
> 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.
> 

This can be over-ridden by setting sysconfdir=$(HOST_DIR)/etc/
	https://github.com/boundarydevices/imx_usb_loader/blob/master/Makefile#L6

Regards,


Eric


More information about the buildroot mailing list