[Buildroot] [PATCH 8/9] libcuefile: convert to cmaketargets infrastructure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jan 27 14:42:44 UTC 2011


On Thu, 27 Jan 2011 11:21:33 -0300
Gustavo Zacarias <gustavo at zacarias.com.ar> wrote:

>  define LIBCUEFILE_INSTALL_STAGING_CMDS
>  	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
>  	cp -r $(@D)/include $(STAGING_DIR)/usr
> @@ -39,4 +19,4 @@ define LIBCUEFILE_INSTALL_TARGET_CMDS
>  	cp -r $(@D)/include $(TARGET_DIR)/usr
>  endef

I would prefer to let the infrastructure do the target/staging
installation, and use the post-staging-install and post-target-install
hooks to do the headers copy trick.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list