Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tn40xx Driver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Grant Kim
Tn40xx Driver
Commits
25e9f0eb
Commit
25e9f0eb
authored
7 years ago
by
Andrew Cooks
Browse files
Options
Downloads
Patches
Plain Diff
add cleanup step to remove /*-----*/ comments
(cherry picked from commit
4380d741
)
parent
13b1b98f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cleanup/cleanup.sh
+7
-0
7 additions, 0 deletions
cleanup/cleanup.sh
with
7 additions
and
0 deletions
cleanup/cleanup.sh
+
7
−
0
View file @
25e9f0eb
...
...
@@ -17,6 +17,13 @@ for f in *.c *.h ; do
done
# remove horizontal line breaks like /* ------ */
sed
-i
's|/\*\s*---*---*\s*\*/||g'
*
.c
# Insert new cleanup steps above this comment.
# Keep Lindent as the last step.
# Use the kernel's scripts/Lindent utility
if
[
-z
"
$LINDENT
"
-o
!
-x
"
$LINDENT
"
]
;
then
echo
" You need to set the LINDENT environment variable to specify where the Lindent script is (Hint: in the kernel sources at scripts/Lindent)"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment