summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJames <james.mckenzie@citrix.com>2013-10-13 13:12:09 +0100
committerJames <james.mckenzie@citrix.com>2013-10-13 13:12:09 +0100
commitabb7029fae182f1ef86f64af458267a996748e2b (patch)
treeac8f0241ea06d16cd1a70be493076210978c02be /Makefile
parent7fbec04d3aaca8909f89b325e125e46fe218e3be (diff)
downloadsdram-abb7029fae182f1ef86f64af458267a996748e2b.tar.gz
sdram-abb7029fae182f1ef86f64af458267a996748e2b.tar.bz2
sdram-abb7029fae182f1ef86f64af458267a996748e2b.zip
fish
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 59a04ba..e6ee3a2 100644
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,17 @@ bsp.stamp:${SOPC_FILE}
/bin/rm -rf ${BSP_DIR}
mkdir -p ${BSP_DIR}
tools/wrap nios2-bsp ${BSP_TYPE} ${BSP_DIR} ${SOPC_FILE} ${NIOS2_BSP_ARGS} ${CPU_NAME}
+ tools/wrap nios2-bsp-update-settings --bsp-dir ${BSP_DIR} --settings bsp/settings.bsp \
+ --set hal.sys_clk_timer none \
+ --set hal.max_file_descriptors 4 \
+ --set hal.enable_c_plus_plus 0 \
+ --set hal.make.bsp_cflags_optimization -Os \
+ --set hal.enable_exit 0 \
+ --set hal.enable_small_c_library 1 \
+ --set hal.enable_clean_exit 0 \
+ --set hal.enable_reduced_device_drivers 1 \
+ --set hal.enable_lightweight_device_driver_api 1
+ tools/wrap nios2-bsp-generate-files --bsp-dir ${BSP_DIR} --settings bsp/settings.bsp
tools/wrap make -C ${BSP_DIR}
touch $@
@@ -89,4 +100,3 @@ clean:
-