From: Masahiro Yamada Date: Mon, 9 Jun 2014 02:16:37 +0000 (+0900) Subject: scripts: objdiff: improve path flexibility for record command X-Git-Tag: omap-for-v3.16/fixes-against-rc1~27^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18165efa8203a34d82f60a1831ea290e7304c654;p=pandora-kernel.git scripts: objdiff: improve path flexibility for record command Prior to this commit, scripts/objdiff expected to be run at the top directory and only the relative path of objects. This commit provides more flexibility in terms of object path: [1] scripts/objdiff can be run in any directory For example, $ scripts/objdiff record init/main.o and $ cd init; ../scripts/objdiff record main.o produce the same result. [2] Support absolute path for objects $ scripts/objdiff record /home/foo/bar/linux/init/main.o work as well. Signed-off-by: Masahiro Yamada Acked-by: Jason Cooper Signed-off-by: Michal Marek --- Reading git-diff-tree failed