Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
u-boot-2015.04
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
vesta
u-boot-2015.04
Commits
161b2af4
Commit
161b2af4
authored
17 years ago
by
Mike Frysinger
Committed by
Wolfgang Denk
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Only use TEXT_BASE if defined by the board
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
1b769881
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
config.mk
+8
-2
8 additions, 2 deletions
config.mk
with
8 additions
and
2 deletions
config.mk
+
8
−
2
View file @
161b2af4
...
...
@@ -147,7 +147,10 @@ OBJCFLAGS += --gap-fill=0xff
gccincdir
:=
$(
shell
$(
CC
)
-print-file-name
=
include
)
CPPFLAGS
:=
$(
DBGFLAGS
)
$(
OPTFLAGS
)
$(
RELFLAGS
)
\
-D__KERNEL__
-DTEXT_BASE
=
$(
TEXT_BASE
)
\
-D__KERNEL__
ifneq
($(TEXT_BASE),)
CPPFLAGS
+=
-DTEXT_BASE
=
$(
TEXT_BASE
)
endif
ifneq
($(OBJTREE),$(SRCTREE))
CPPFLAGS
+=
-I
$(
OBJTREE
)
/include2
-I
$(
OBJTREE
)
/include
...
...
@@ -185,7 +188,10 @@ endif
AFLAGS
:=
$(
AFLAGS_DEBUG
)
-D__ASSEMBLY__
$(
CPPFLAGS
)
LDFLAGS
+=
-Bstatic
-T
$(
LDSCRIPT
)
-Ttext
$(
TEXT_BASE
)
$(
PLATFORM_LDFLAGS
)
LDFLAGS
+=
-Bstatic
-T
$(
LDSCRIPT
)
$(
PLATFORM_LDFLAGS
)
ifneq
($(TEXT_BASE),)
LDFLAGS
+=
-Ttext
$(
TEXT_BASE
)
endif
# Location of a usable BFD library, where we define "usable" as
# "built for ${HOST}, supports ${TARGET}". Sensible values are
...
...
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