Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Starting Kit
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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 Starting Kit
Commits
e9ae5463
Commit
e9ae5463
authored
Sep 12, 2019
by
Miguel Jimenez Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Makefile to compile properly wrpc-sw submodule.
parent
096fa3a8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
13 deletions
+15
-13
.gitignore
.gitignore
+2
-0
Makefile
Makefile
+13
-13
No files found.
.gitignore
View file @
e9ae5463
# .gitignore file
xcompiler/*
# OS generated files #
######################
*.bak
...
...
Makefile
View file @
e9ae5463
...
...
@@ -14,8 +14,13 @@
## will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
########################################################################
SUBMOD_DIRS
=
spec-sw wr-nic fmc-dio wrpc-sw coht-vic
MAKE_DIRS
=
spec-sw wr-nic fmc-dio wrpc-sw coht-vic
#tools
SUBMOD_DIRS
=
spec-sw wr-nic fmc-dio coht-vic
MAKE_DIRS
=
spec-sw wr-nic fmc-dio coht-vic
#tools
LM32_XCOMPILER_URL
=
"https://www.ohwr.org/project/wrpc-sw/uploads/2776ce0ba43503d1486ae205b48fb450"
LM32_XCOMPILER_NAME
=
"lm32_host_64bit.tar.xz"
XCOMPILER_DIR
=
"xcompiler"
LM32_XCOMPILER_NAME_DIR
=
"lm32-gcc-4.5.3"
#RUNME := $(shell test -d $(FMC_DRV) || git submodule update --init)
...
...
@@ -40,14 +45,9 @@ patch:
update
:
./scripts/wr-ssk-get
-f
git submodule update
cd
spec-sw
git submodule update
cd
wr-nic
git submodule update
cd
fmc-dio
git submodule update
cd
wrpc-sw
git submodule update
cd
coht-vic
git submodule update
@
rm
-rf
$(XCOMPILER_DIR)
mkdir
-p
$(XCOMPILER_DIR)
cd
$(XCOMPILER_DIR)
&&
wget
$(LM32_XCOMPILER_URL)
/
$(LM32_XCOMPILER_NAME)
\
&&
tar
xvf
$(LM32_XCOMPILER_NAME)
cd
wrpc-sw
&&
make spec_defconfig
&&
\
CROSS_COMPILE
=
"
$(
shell
pwd
)
/
$(XCOMPILER_DIR)
/
$(LM32_XCOMPILER_NAME_DIR)
/bin/lm32-elf-"
make
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