Skip to content

Commit

Permalink
graphics/libyuv: refine patching logic
Browse files Browse the repository at this point in the history
Only stable branch need custom patch, main is fixed by upstream

Signed-off-by: Peter Bee <[email protected]>
  • Loading branch information
PeterBee97 committed Aug 9, 2023
1 parent edeab3a commit a1b91b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions graphics/libyuv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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),)
Expand Down

0 comments on commit a1b91b1

Please sign in to comment.