package/ti-gfx: do not forcefully remove source dir on extract
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 26 Feb 2014 18:40:03 +0000 (19:40 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 26 Feb 2014 20:28:12 +0000 (21:28 +0100)
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.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ti-gfx/ti-gfx.mk

index 5ea6b929e529b64c36c3e762eee48fb40b571f54..e48715d8dcbcdc329ef0993c51c889449c1eb9d1 100644 (file)
@@ -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) \