From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Wed, 26 Feb 2014 22:33:34 +0100 Subject: [Buildroot] [PATCH] package/ti-gfx: do not forcefully remove source dir on extract In-Reply-To: <1393440003-29380-1-git-send-email-yann.morin.1998@free.fr> References: <1393440003-29380-1-git-send-email-yann.morin.1998@free.fr> Message-ID: <530E5DAE.8030609@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 26/02/14 19:40, Yann E. MORIN wrote: > From: "Yann E. MORIN" > > 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" > Cc: Spenser Gilliland > --- > 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