Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
61abcd09
Commit
61abcd09
authored
Sep 04, 2012
by
Henrik Nordstrom
Browse files
fel-boot: Add Makefile recipe
parent
71295c2b
Changes
2
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
61abcd09
...
@@ -59,6 +59,15 @@ jtag-loop.bin: jtag-loop.elf
...
@@ -59,6 +59,15 @@ jtag-loop.bin: jtag-loop.elf
jtag-loop.sunxi
:
jtag-loop.bin
jtag-loop.sunxi
:
jtag-loop.bin
mksunxiboot jtag-loop.bin jtag-loop.sunxi
mksunxiboot jtag-loop.bin jtag-loop.sunxi
fel-boot.elf
:
fel-boot.c fel-boot.lds
$(CROSS_COMPILE)
gcc
-g
-Os
-fpic
-fno-common
-fno-builtin
-ffreestanding
-nostdinc
-mno-thumb-interwork
-Wall
-Wstrict-prototypes
-fno-stack-protector
-Wno-format-nonliteral
-Wno-format-security
-fno-toplevel-reorder
fel-boot.c
-nostdlib
-o
fel-boot.elf
-T
fel-boot.lds
-Wl
,-N
fel-boot.bin
:
fel-boot.elf
$(CROSS_COMPILE)
objcopy
-O
binary fel-boot.elf fel-boot.bin
fel-boot.sunxi
:
fel-boot.bin
mksunxiboot fel-boot.bin fel-boot.sunxi
bootinfo
:
bootinfo.c
bootinfo
:
bootinfo.c
.gitignore
:
Makefile
.gitignore
:
Makefile
...
...
fel-boot.lds
0 → 100644
View file @
61abcd09
SECTIONS
{
. = 0x0030;
.text : { *(.text) }
}
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