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
nexedi
linux
Commits
db1c6c82
Commit
db1c6c82
authored
Jan 27, 2003
by
Sam Ravnborg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kbuild: ld_flags used consistently in Makefile.build
parent
1b0c3109
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/Makefile.build
scripts/Makefile.build
+2
-2
No files found.
scripts/Makefile.build
View file @
db1c6c82
...
@@ -211,7 +211,7 @@ ifdef O_TARGET
...
@@ -211,7 +211,7 @@ ifdef O_TARGET
quiet_cmd_link_o_target
=
LD
$@
quiet_cmd_link_o_target
=
LD
$@
# If the list of objects to link is empty, just create an empty O_TARGET
# If the list of objects to link is empty, just create an empty O_TARGET
cmd_link_o_target
=
$(
if
$(
strip
$
(
obj-y
))
,
\
cmd_link_o_target
=
$(
if
$(
strip
$
(
obj-y
))
,
\
$(LD)
$(
LDFLAGS)
$(EXTRA_LDFLAGS
)
-r
-o
$@
$(
filter
$
(
obj-y
)
,
$^
)
,
\
$(LD)
$(
ld_flags
)
-r
-o
$@
$(
filter
$
(
obj-y
)
,
$^
)
,
\
rm
-f
$@
;
$(AR)
rcs
$@
)
rm
-f
$@
;
$(AR)
rcs
$@
)
$(O_TARGET)
:
$(obj-y) FORCE
$(O_TARGET)
:
$(obj-y) FORCE
...
@@ -273,7 +273,7 @@ targets += $(multi-used-y) $(multi-used-m)
...
@@ -273,7 +273,7 @@ targets += $(multi-used-y) $(multi-used-m)
ifndef
CONFIG_MODVERSIONING
ifndef
CONFIG_MODVERSIONING
quiet_cmd_link_module
=
LD
[
M]
$@
quiet_cmd_link_module
=
LD
[
M]
$@
cmd_link_module
=
$(LD)
$(
LDFLAGS)
$(EXTRA_LDFLAGS
)
$(LDFLAGS_MODULE)
-o
$@
$<
init/vermagic.o
cmd_link_module
=
$(LD)
$(
ld_flags
)
$(LDFLAGS_MODULE)
-o
$@
$<
init/vermagic.o
# Don't rebuilt vermagic.o unless we actually are in the init/ dir
# Don't rebuilt vermagic.o unless we actually are in the init/ dir
ifneq
($(obj),init)
ifneq
($(obj),init)
...
...
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