Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
56ddf23b
Commit
56ddf23b
authored
Mar 05, 2003
by
Kai Germaschewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kbuild: Make build stop on vmlinux link error
set -e is needed for each (continued) line.
parent
ebd158e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Makefile
Makefile
+2
-1
No files found.
Makefile
View file @
56ddf23b
...
@@ -322,13 +322,14 @@ endef
...
@@ -322,13 +322,14 @@ endef
# set -e makes the rule exit immediately on error
# set -e makes the rule exit immediately on error
define
rule_vmlinux__
define
rule_vmlinux__
set
-e
;
\
set
-e
\
$(if
$(filter
.tmp_kallsyms%,$^),,
\
$(if
$(filter
.tmp_kallsyms%,$^),,
\
echo
' GEN .version'
;
\
echo
' GEN .version'
;
\
.
$(srctree)/scripts/mkversion
>
.tmp_version;
\
.
$(srctree)/scripts/mkversion
>
.tmp_version;
\
mv
-f
.tmp_version
.version;
\
mv
-f
.tmp_version
.version;
\
$(MAKE)
$(build)
=
init
;
\
$(MAKE)
$(build)
=
init
;
\
)
)
set
-e
\
$(call
cmd,vmlinux__);
\
$(call
cmd,vmlinux__);
\
echo 'cmd_$@
:
= $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
echo 'cmd_$@
:
= $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
endef
endef
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment