You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/01/29 12:42:33 UTC

[nuttx-apps] 02/02: graphics/libyuv: fix with using git repo check

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit fc7a95755417b324906132ac61f50ebfc3bc94c6
Author: haopengxiang <ha...@xiaomi.com>
AuthorDate: Sat Jan 28 13:18:52 2023 +0800

    graphics/libyuv: fix with using git repo check
    
    There is no subfolder called "libyuv" in libyuv's folder, check
    libyuv/libyuv may trigger download libyuv in everytime, hence fixed by
    check libyuv repo.
    
    Signed-off-by: haopengxiang <ha...@xiaomi.com>
---
 graphics/libyuv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphics/libyuv/Makefile b/graphics/libyuv/Makefile
index c57dfb3b4..2010b8733 100644
--- a/graphics/libyuv/Makefile
+++ b/graphics/libyuv/Makefile
@@ -33,7 +33,7 @@ libyuv.tar.gz:
 	$(Q) patch -p0 < 0001-include-libyuv-fix-strict-prototype-warning.patch
 
 # Download and unpack tarball if no git repo found
-ifeq ($(wildcard libyuv/libyuv),)
+ifeq ($(wildcard libyuv/.git),)
 context:: libyuv.tar.gz
 
 distclean::