[Buildroot] [PATCH] package/ti-gfx: do not forcefully remove source dir on extract

Arnout Vandecappelle arnout at mind.be
Wed Feb 26 21:33:34 UTC 2014


On 26/02/14 19:40, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> 
> ti-gfx uses custom extract commands, which first and foremost removes
> the source dir unconditionally.
> 
> Thee side-effect of this is that make will re-extract, re-patch and
> probably re-build ti-gfx at each run.

 There actually was a reason for this - I think the extract fails if you
re-run it. Have you tried

make ti-gfx-extract; make ti-gfx-extract

?

 Regards,
 Arnout

> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Spenser Gilliland <spenser at gillilanding.com>
> ---
>  package/ti-gfx/ti-gfx.mk | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/package/ti-gfx/ti-gfx.mk b/package/ti-gfx/ti-gfx.mk
> index 5ea6b92..e48715d 100644
> --- a/package/ti-gfx/ti-gfx.mk
> +++ b/package/ti-gfx/ti-gfx.mk
> @@ -90,7 +90,6 @@ TI_GFX_HDR_DIRS = OGLES2/EGL OGLES2/EWS OGLES2/GLES2 OGLES2/KHR \
>  	OGLES/GLES bufferclass_ti/ pvr2d/ wsegl/
>  
>  define TI_GFX_EXTRACT_CMDS
> -	$(RM) -rf $(TI_GFX_DIR)
>  	chmod +x $(DL_DIR)/$(TI_GFX_SOURCE)
>  	printf "Y\nY\n qY\n\n" | $(DL_DIR)/$(TI_GFX_SOURCE) \
>  		--prefix $(@D) \
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F



More information about the buildroot mailing list