On Thu, Nov 25, 2010 at 11:46:15AM +0100, Alexander Stein wrote:
> On some system HOST_SQUASHFS_TOOLS_INSTALL_OPT didn't get set properly
> so the image creation part breaks
> ---
> This new patch includes the suggestions from Michael. But the : removal on
> HOST_SQUASHFS_TOOLS_INSTALL_OPT is still necessary.
> 
> Regards,
> Alexander
> 
>  rules/host-squashfs-tools.make |    5 +++--
>  1 files changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/rules/host-squashfs-tools.make b/rules/host-squashfs-tools.make
> index 98e6c2e..b939a5d 100644
> --- a/rules/host-squashfs-tools.make
> +++ b/rules/host-squashfs-tools.make
> @@ -16,7 +16,8 @@ HOST_PACKAGES-$(PTXCONF_HOST_SQUASHFS_TOOLS) += 
> host-squashfs-tools
>  #
>  # Paths and names
>  #
> -HOST_SQUASHFS_TOOLS_DIR              = $(HOST_BUILDDIR)/$(SQUASHFS_TOOLS)
> +HOST_SQUASHFS_TOOLS          = $(SQUASHFS_TOOLS)
> +HOST_SQUASHFS_TOOLS_PKGDIR   = $(PKGDIR)/host-$(HOST_SQUASHFS_TOOLS)

This should not be necessary. These are generated. Have a look at
platform-*/state/ptx_dgen_deps.pre

Michael

>  HOST_SQUASHFS_TOOLS_SUBDIR   := squashfs-tools
>  
>  # 
> ----------------------------------------------------------------------------
> @@ -25,6 +26,6 @@ HOST_SQUASHFS_TOOLS_SUBDIR  := squashfs-tools
>  
>  HOST_SQUASHFS_TOOLS_MAKE_ENV := $(HOST_ENV)
>  HOST_SQUASHFS_TOOLS_MAKE_PAR := NO
> -HOST_SQUASHFS_TOOLS_INSTALL_OPT := install 
> INSTALL_DIR="$(HOST_SQUASHFS_TOOLS_PKGDIR)/sbin"
> +HOST_SQUASHFS_TOOLS_INSTALL_OPT = install 
> INSTALL_DIR="$(HOST_SQUASHFS_TOOLS_PKGDIR)/sbin"
>  
>  # vim: syntax=make
> -- 
> 1.7.2.2
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to