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
98cf7493
Commit
98cf7493
authored
Aug 16, 2014
by
Alejandro Mery
Browse files
tools/meminfo: move `meminfo` into tools/
Signed-off-by:
Alejandro Mery
<
amery@geeks.cl
>
parent
db8a198b
Changes
3
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
98cf7493
...
...
@@ -103,9 +103,6 @@ boot_head_sun5i.bin: boot_head_sun5i.elf
bootinfo
:
bootinfo.c
meminfo
:
meminfo.c
$(CROSS_COMPILE)
gcc
-g
-O0
-Wall
-static
-o
$@
$^
.gitignore
:
Makefile
@
for
x
in
$(TOOLS)
'*.o'
'*.swp'
;
do
\
echo
"
$$
x"
;
\
...
...
tools/Makefile
View file @
98cf7493
.PHONY
:
all clean
CC
=
gcc
AR
=
ar
CC
=
$(CROSS_COMPILE)
gcc
AR
=
$(CROSS_COMPILE)
ar
srctree
?=
..
O
?=
$(srctree)
/out
OBJDIR
:=
$(O)
/tools
TOOLS
:=
fexc fex2bin bin2fex
SRCS
:=
fexc.c
TOOLS
:=
fexc fex2bin bin2fex
meminfo
SRCS
:=
fexc.c
meminfo.c
INCLUDES
=
-I
$(srctree)
/include
CFLAGS
=
-O2
...
...
@@ -33,6 +33,9 @@ $(O)/fexc: $(OBJDIR)/fexc.o $(O)/libfex.a
$(O)/fex2bin $(O)/bin2fex
:
$(O)/fexc
ln
-svnf
fexc
$@
$(O)/meminfo
:
$(OBJDIR)/meminfo.o
$(CC)
-static
$(CFLAGS)
-o
$@
$^
# dependencies
$(DEPS)
:
Makefile
mkdir
-p
$
(
@D
)
...
...
meminfo.c
→
tools/
meminfo.c
View file @
98cf7493
File moved
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