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
...
@@ -103,9 +103,6 @@ boot_head_sun5i.bin: boot_head_sun5i.elf
bootinfo
:
bootinfo.c
bootinfo
:
bootinfo.c
meminfo
:
meminfo.c
$(CROSS_COMPILE)
gcc
-g
-O0
-Wall
-static
-o
$@
$^
.gitignore
:
Makefile
.gitignore
:
Makefile
@
for
x
in
$(TOOLS)
'*.o'
'*.swp'
;
do
\
@
for
x
in
$(TOOLS)
'*.o'
'*.swp'
;
do
\
echo
"
$$
x"
;
\
echo
"
$$
x"
;
\
...
...
tools/Makefile
View file @
98cf7493
.PHONY
:
all clean
.PHONY
:
all clean
CC
=
gcc
CC
=
$(CROSS_COMPILE)
gcc
AR
=
ar
AR
=
$(CROSS_COMPILE)
ar
srctree
?=
..
srctree
?=
..
O
?=
$(srctree)
/out
O
?=
$(srctree)
/out
OBJDIR
:=
$(O)
/tools
OBJDIR
:=
$(O)
/tools
TOOLS
:=
fexc fex2bin bin2fex
TOOLS
:=
fexc fex2bin bin2fex
meminfo
SRCS
:=
fexc.c
SRCS
:=
fexc.c
meminfo.c
INCLUDES
=
-I
$(srctree)
/include
INCLUDES
=
-I
$(srctree)
/include
CFLAGS
=
-O2
CFLAGS
=
-O2
...
@@ -33,6 +33,9 @@ $(O)/fexc: $(OBJDIR)/fexc.o $(O)/libfex.a
...
@@ -33,6 +33,9 @@ $(O)/fexc: $(OBJDIR)/fexc.o $(O)/libfex.a
$(O)/fex2bin $(O)/bin2fex
:
$(O)/fexc
$(O)/fex2bin $(O)/bin2fex
:
$(O)/fexc
ln
-svnf
fexc
$@
ln
-svnf
fexc
$@
$(O)/meminfo
:
$(OBJDIR)/meminfo.o
$(CC)
-static
$(CFLAGS)
-o
$@
$^
# dependencies
# dependencies
$(DEPS)
:
Makefile
$(DEPS)
:
Makefile
mkdir
-p
$
(
@D
)
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