Revert "Revert "Revert "FROMLIST: kheaders: Follow symlinks to source files."""
This reverts commit 81ce9a4343.
Reason for revert: Increased image size by too much. Plus, it does not strip out comments properly.
Bug: 276339429
Change-Id: I083a4aa9d39bca5b6448e4b87df8616c198cf018
Signed-off-by: Yifan Hong <elsk@google.com>
This commit is contained in:
@@ -87,7 +87,7 @@ find $cpio_dir -type f -print0 |
|
|||||||
# pre-sorted, as --sort=name might not be available.
|
# pre-sorted, as --sort=name might not be available.
|
||||||
find $cpio_dir -printf "./%P\n" | LC_ALL=C sort | \
|
find $cpio_dir -printf "./%P\n" | LC_ALL=C sort | \
|
||||||
tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
|
tar "${KBUILD_BUILD_TIMESTAMP:+--mtime=$KBUILD_BUILD_TIMESTAMP}" \
|
||||||
--owner=0 --group=0 --numeric-owner --no-recursion --dereference \
|
--owner=0 --group=0 --numeric-owner --no-recursion \
|
||||||
-I $XZ -cf $tarfile -C $cpio_dir/ -T - > /dev/null
|
-I $XZ -cf $tarfile -C $cpio_dir/ -T - > /dev/null
|
||||||
|
|
||||||
echo $headers_md5 > kernel/kheaders.md5
|
echo $headers_md5 > kernel/kheaders.md5
|
||||||
|
|||||||
Reference in New Issue
Block a user