Optimize the WR NIC bitbake recipe

parent a714f403
diff -Naur a/syn/specdio/Manifest.py b/syn/specdio/Manifest.py
--- a/syn/specdio/Manifest.py 2016-07-20 04:17:52.657700773 +0100
+++ b/syn/specdio/Manifest.py 2016-07-20 04:19:26.030800405 +0100
diff -Naur a/Manifest.py b/Manifest.py
--- a/Manifest.py 2016-07-20 04:17:52.657700773 +0100
+++ b/Manifest.py 2016-07-20 04:19:26.030800405 +0100
@@ -9,1 +9,3 @@
syn_project = "wr_nic_dio.xise"
+syn_tool = "ise"
......
......@@ -11,9 +11,7 @@ SRC_URI = "git://ohwr.org/white-rabbit/wr-nic.git \
file://top-manifest.patch"
SRCREV = "3bf04881479303ae41ce3fd2f4df90cd22ea8991"
S = "${WORKDIR}/git"
HDLMAKE_TOP_FOLDER = "${S}/syn/specdio"
S = "${WORKDIR}/git/syn/specdio"
FILES_${PN} += "/lib/firmware/fmc"
......@@ -25,19 +23,12 @@ addtask fetch_extra after do_unpack before do_patch
# Use HDLMake to analyze the project and generate the Makefile
do_configure() {
cd ${HDLMAKE_TOP_FOLDER}
hdlmake
}
# Synthesize the FPGA bitstream
do_compile() {
cd ${HDLMAKE_TOP_FOLDER}
make
}
# Deploy the bitstream into the appropriated target folder
do_install() {
install -d ${D}/lib/firmware/fmc
install -m 0755 ${S}/syn/specdio/wr_nic_dio_top.bin ${D}/lib/firmware/fmc/wr_nic_dio.bin
install -m 0755 ${S}/wr_nic_dio_top.bin ${D}/lib/firmware/fmc/wr_nic_dio.bin
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment