]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - scripts/adjust_autoksyms.sh
drm/i915/gvt: set ring buffer size to default for guc submission
[mirror_ubuntu-artful-kernel.git] / scripts / adjust_autoksyms.sh
index 8dc1918b6783dd337590f97b5aa33be5125980ea..513da1a4a2daaf7ed329b816c49d787916e72e3b 100755 (executable)
@@ -59,6 +59,7 @@ cat > "$new_ksyms_file" << EOT
  */
 
 EOT
+[ "$(ls -A "$MODVERDIR")" ] &&
 sed -ns -e '3{s/ /\n/g;/^$/!p;}' "$MODVERDIR"/*.mod | sort -u |
 while read sym; do
        if [ -n "$CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX" ]; then