Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
docking
ocladock-fpga
Commits
e0c024cb
Commit
e0c024cb
authored
Aug 19, 2017
by
Leonardo Solis
Browse files
added make copyharp2 = creation of zip to be copied to harp2
parent
ae0fa6fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
ofdock_taskpar_alt/Makefile
View file @
e0c024cb
...
...
@@ -323,7 +323,38 @@ hw_profile:
@
echo
" "
HARP2_DIR
:=
copyharp2
HARP2_DIR_DOCK
:=
ofdock_taskpar_alt
# Delete an existing folder if previously created
# Create a folder $(HARP2_DIR) in the parent directory
# Copy binaries into $(HARP2_DIR) folder, avoiding the (innecesary) compilation intermediate files
# Copy source files into $(HARP2_DIR) as host is built in the HARP2 front-end
# Create a zip file out of the $(HARP2_DIR) folder
copyharp2
:
clean_copyharp2
mkdir
../
$(HARP2_DIR)
mkdir
../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
mkdir
../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
$(TARGET_DIR_HW)
mkdir
../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
$(TARGET_DIR_HW_PROF)
cp
$(TARGET_DIR_HW)
/docking.
*
../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
$(TARGET_DIR_HW)
/
cp
$(TARGET_DIR_HW_PROF)
/docking.
*
../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
$(TARGET_DIR_HW_PROF)
/
cp
Makefile ../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
cp
defines.h ../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
cp
-r
device/ ../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
cp
-r
host/ ../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
cp
-r
input/ ../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
cp
-r
wrapcl/ ../
$(HARP2_DIR)
/
$(HARP2_DIR_DOCK)
/
cp
-r
../common ../
$(HARP2_DIR)
/
cd
../
;
zip
-r
$(HARP2_DIR)
.zip
$(HARP2_DIR)
@
echo
"================================================================================"
@
echo
"The next step is to transfer the .zip file to the HARP2 fron-end: "
@
echo
"> cd .."
@
echo
"> scp copyharp2.zip h2solis@fe-1.harp.pc2.uni-paderborn.de:~/ocladock/"
@
echo
"================================================================================"
@
echo
" "
clean_copyharp2
:
rm
-r
../
$(HARP2_DIR)
$(TARGET_DIR)
:
...
...
Write
Preview
Supports
Markdown
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