Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
54f9a462
Commit
54f9a462
authored
May 17, 2011
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/3rdparty: cleaned up Makefile
parent
8f617a1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
13 deletions
+12
-13
Makefile
userspace/3rdparty/Makefile
+12
-13
No files found.
userspace/3rdparty/Makefile
View file @
54f9a462
include
../../Makedefs
LUA_DIR
=
lua-5.1.4
all
:
all_liblua
all
:
$(MAKE)
-C
$(LUA_DIR)
PLAT
=
posix
\
CC
=
$(CROSS_COMPILE_ARM)
gcc
INSTALL_TOP
=
$(
shell
pwd
)
all
deploy
:
deploy_liblua
install
:
all
$(MAKE)
-C
$(LUA_DIR)
PLAT
=
posix
\
CC
=
$(CROSS_COMPILE_ARM)
gcc
INSTALL_TOP
=
$(
shell
pwd
)
install
chmod
+x lib/liblua.so
mkdir
-p
$(WR_INSTALL_ROOT)
/lib
cp
lib/liblua.so
$(WR_INSTALL_ROOT)
/lib
all_liblua
:
make
-C
$(LUA_DIR)
PLAT
=
posix
CC
=
$(CROSS_COMPILE_ARM)
gcc
INSTALL_TOP
=
$(
shell
pwd
)
all
make
-C
$(LUA_DIR)
PLAT
=
posix
CC
=
$(CROSS_COMPILE_ARM)
gcc
INSTALL_TOP
=
$(
shell
pwd
)
install
deploy_liblua
:
all_liblua
chmod
+x lib/liblua.so
mkdir
-p
$(WR_INSTALL_ROOT)
/lib
cp
lib/liblua.so
$(WR_INSTALL_ROOT)
/lib
# on clean, also remove the installation into the local directory
clean
:
make
-C
$(LUA_DIR)
clean
\ No newline at end of file
$(MAKE)
-C
$(LUA_DIR)
clean
rm
-rf
bin include lib man
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