[Buildroot] [PATCH] directfb: add host-directfb target for directfb-csource

Sven Neumann s.neumann at raumfeld.com
Fri Oct 2 11:28:42 UTC 2009


On Fri, 2009-10-02 at 13:15 +0200, Peter Korsgaard wrote:
> >>>>> "Sven" == Sven Neumann <s.neumann at raumfeld.com> writes:
> 
>  Sven> directfb-csource is a code generation tool that may be needed to build
>  Sven> other packages. Add host-directfb target that installs directfb-csource
>  Sven> in the host_dir.
> 
> What exactly needs this? I prefer to not add unused stuff. Could we wait
> until there's an actual use for this?

directfb-csource is very similar to gdk-pixbuf-csource. It creates
header files from images so that they can easily be embedded into the
binary. I do make use of this in one of our packages. At some point I
even plan to release this code under the LGPL, but for now its closed. 

Of course I would prefer if the change could be upstream in buildroot,
but if you don't want to add it, then we can maintain it in our branch.
 
>  Sven> +$(STAMP_DIR)/host_directfb_installed: $(STAMP_DIR)/host_directfb_compiled
>  Sven> +	$(INSTALL) -m 0755 $(DIRECTFB_HOST_DIR)/tools/directfb-csource $(HOST_DIR)/usr/bin
> 
> Is directfb-csource the only thing we could ever imagine other packages
> needing? What about the headers/libs for some other host tool?

The other tools are actually useful on the target, but not likely useful
on the host. directfb-csource is the only code-generation tool in there.


Sven




More information about the buildroot mailing list