mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
graphics/libyuv: refine patching logic
Only stable branch need custom patch, main is fixed by upstream Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
parent
24caccbd02
commit
04e86fc2d5
1 changed files with 2 additions and 0 deletions
|
|
@ -30,7 +30,9 @@ libyuv.tar.gz:
|
|||
$(Q) curl -L https://chromium.googlesource.com/libyuv/libyuv/+archive/refs/heads/$(CONFIG_LIBYUV_BRANCH).tar.gz -o libyuv.tar.gz
|
||||
$(Q) mkdir -p $(SRCDIR)
|
||||
$(Q) tar zxf libyuv.tar.gz --directory $(SRCDIR)
|
||||
ifeq ($(CONFIG_LIBYUV_BRANCH),"stable")
|
||||
$(Q) patch -p0 < 0001-include-libyuv-fix-strict-prototype-warning.patch
|
||||
endif
|
||||
|
||||
# Download and unpack tarball if no git repo found
|
||||
ifeq ($(wildcard libyuv/.git),)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue