aboutsummaryrefslogtreecommitdiffstats
path: root/linux/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 15:43:33 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 16:36:26 (GMT)
commitc025baff4ff53beb9d35c0a0ae62c73d038723c6 (patch)
treee41681d08f1c522cf73711c00e4eab92a5441762 /linux/Makefile
parent11ab52e7a03fe6829d083914820ad945d1291d68 (diff)
Add a printk messages for media builds
When someone reports an error, we need to know what are the applied patches. Also, users need to be warned that using the backported tree is not the same as running a stable kernel. This patch adds a logic that patches the subsystem core in order to indicate that an experimental tree is being used. It also prints the latest applied patches, in order to help developers when a bug report is filled. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/Makefile')
-rw-r--r--linux/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/Makefile b/linux/Makefile
index 1eb4f51..a23abd3 100644
--- a/linux/Makefile
+++ b/linux/Makefile
@@ -95,7 +95,7 @@ untar: linux-media.tar.bz2
-rm -f .patches_applied
clean:
- -rm -rf $(MAINDIRS) .patches_applied .linked_dir
+ -rm -rf $(MAINDIRS) .patches_applied .linked_dir .git_log.md5
dir: clean
@lsdiff --version >/dev/null # Make 'make dir' fail if lsdiff is not installed
@@ -140,6 +140,7 @@ apply_patches apply-patches:
echo "#$$dir" > .patches_applied; \
cat .patches_applied.old >> .patches_applied; \
rm -f .patches_applied.old; \
+ ./version_patch.pl; \
if [ -e .linked_dir ]; then ./use_dir.pl --get_patched; fi
unapply_patches unapply-patches:

Privacy Policy