Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
993ce240
Commit
993ce240
authored
Apr 21, 2009
by
Michal Simek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
microblaze: Use CFLAGS_KERNEL instead of CFLAGS
Signed-off-by:
Michal Simek
<
monstr@monstr.eu
>
parent
2921e2bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
arch/microblaze/Makefile
arch/microblaze/Makefile
+2
-4
No files found.
arch/microblaze/Makefile
View file @
993ce240
...
...
@@ -32,15 +32,13 @@ CPUFLAGS-1 += $(call cc-option,-mcpu=v$(CPU_VER))
# The various CONFIG_XILINX cpu features options are integers 0/1/2...
# rather than bools y/n
CFLAGS
+=
$
(CPUFLAGS-1)
CFLAGS
+=
$
(CPUFLAGS-2)
# r31 holds current when in kernel mode
CFLAGS
+=
-ffixed-r31
CFLAGS
_KERNEL
+=
-ffixed-r31
$
(CPUFLAGS-1)
$
(CPUFLAGS-2)
LDFLAGS_BLOB
:=
--format binary --oformat elf32-microblaze
LIBGCC
:=
$(
shell
$(CC)
$(CFLAGS)
-print-libgcc-file-name
)
LIBGCC
:=
$(
shell
$(CC)
$(CFLAGS
_KERNEL
)
-print-libgcc-file-name
)
head-y
:=
arch/microblaze/kernel/head.o
libs-y
+=
arch/microblaze/lib/
$(LIBGCC)
...
...
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