[Buildroot] PATCH 1/1 Use same format for kernel patches as used for custom u-boot patches
Sagaert Johan
sagaert.johan at skynet.be
Mon Nov 28 17:19:02 UTC 2011
Hi
It may be nice to use the same file name formatting for the kernel patches
as for custom u-boot patches.
This will allow you to have patches of different kernel versions in the same
directory.
diff -ruaN buildroot-2011.11/linux/linux.mk
buildroot-2011.11js/linux/linux.mk
--- buildroot-2011.11/linux/linux.mk 2011-11-27 11:15:49.000000000 +0100
+++ buildroot-2011.11js/linux/linux.mk 2011-11-27 14:31:38.000000000 +0100
@@ -108,7 +108,7 @@
if echo $$p | grep -q -E "^ftp://|^http://" ; then \
support/scripts/apply-patches.sh $(@D) $(DL_DIR)
`basename $$p` ; \
elif test -d $$p ; then \
- support/scripts/apply-patches.sh $(@D) $$p
linux-\*.patch ; \
+ support/scripts/apply-patches.sh $(@D) $$p
linux-$(LINUX_VERSION)-\*.patch ; \
else \
support/scripts/apply-patches.sh $(@D) `dirname $$p`
`basename $$p` ; \
fi \
Kind Regards,
Sagaert Johan
More information about the buildroot
mailing list