Index: Makefile
===================================================================
--- Makefile (revision 384)
+++ Makefile (revision 385)
@@ -7,15 +7,21 @@
url = $(DOWNLOAD_SERVER)/sources/U-Boot/denx
-versions = 2022.10
+versions = 2022.10 2023.04 2023.07
tarballs = $(addsuffix .tar.bz2, $(addprefix u-boot-, $(versions)))
sha1s = $(addsuffix .sha1sum, $(tarballs))
+patches = $(CURDIR)/patches/u-boot-2023.04-repka-pi3.patch
+patches += $(CURDIR)/patches/u-boot-2023.07-version.patch
+patches += $(CURDIR)/patches/u-boot-2023.07-orange-pi5.patch
-BUILD_TARGETS = $(tarballs) $(sha1s)
+.NOTPARALLEL: $(patches)
+BUILD_TARGETS = $(tarballs) $(sha1s) $(patches)
+
+
include ../../../build-system/core.mk
@@ -41,5 +47,12 @@
fi ; \
done
+$(patches): $(sha1s)
+ @echo -e "\n======= Create Patches =======\n" ; \
+ ( cd create-2023.04-repka-pi3-patch ; ./create.patch.sh ) ; \
+ ( cd create-2023.07-version-patch ; ./create.patch.sh ) ; \
+ ( cd create-2023.07-orange-pi5-patch ; ./create.patch.sh ) ; \
+ echo -e "\n"
+
download_clean:
- @rm -f $(tarballs) $(sha1s)
+ @rm -f $(tarballs) $(sha1s) $(patches)