The patch number 11259 was added via Trent Piepho <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.
Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel
If anyone has any objections, please let us know by sending a message to:
Linux Media Mailing List <[email protected]>
------
From: Trent Piepho <[email protected]>
build: Fix kernel output directory support
In patch kernel commit v2.6.24-2223-g1d3b3bf the format of the Makefile
placed in a kernel build output directory (i.e., when O=... is used) was
changed. The script in the v4l-dvb build system couldn't parse the new
format and find the kernel source directory. This fixes it so it can.
Priority: normal
Signed-off-by: Trent Piepho <[email protected]>
---
v4l/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -r 2adf4a837334 -r 346bab8698ea v4l/Makefile
--- a/v4l/Makefile Sat Mar 28 06:55:35 2009 -0300
+++ b/v4l/Makefile Sat Mar 28 18:25:35 2009 -0700
@@ -240,7 +240,8 @@ ifneq ($(DIR),)
-e ' elsif (/^PATCHLEVEL\s*=\s*(\d+)/){ $$level=$$1; }' \
-e ' elsif (/^SUBLEVEL\s*=\s*(\d+)/){ $$sublevel=$$1; }' \
-e ' elsif (/^EXTRAVERSION\s*=\s*(\S+)\n/){ $$extra=$$1; }' \
- -e ' elsif (/^KERNELSRC\s*:=\s*(\S.*)\n/){ $$o=$$d; $$d=$$1; goto S;
}' \
+ -e ' elsif (/^KERNELSRC\s*:=\s*(\S.*)\n/ ||
/^MAKEARGS\s*:=\s*-C\s*(\S.*)\n/)' \
+ -e ' { $$o=$$d; $$d=$$1; goto S; }' \
-e '};' \
-e 'printf
("VERSION=%s\nPATCHLEVEL:=%s\nSUBLEVEL:=%s\nKERNELRELEASE:=%s.%s.%s%s\n",' \
-e '
$$version,$$level,$$sublevel,$$version,$$level,$$sublevel,$$extra);' \
---
Patch is available at:
http://linuxtv.org/hg/v4l-dvb/rev/346bab8698eaa92d0c586cd95dac93919243e19d
_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits