From 4b7ba2f7366194608aac59b47d0f3c7cd9f21fb1 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 10 Oct 2013 11:40:39 +0100 Subject: remove-path --- software/pong3/create-this-app | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'software/pong3/create-this-app') diff --git a/software/pong3/create-this-app b/software/pong3/create-this-app index 99ab8a0..fe6b3f4 100755 --- a/software/pong3/create-this-app +++ b/software/pong3/create-this-app @@ -1,11 +1,11 @@ #!/bin/bash # -# This script creates the hello_world application in this directory. +# This script creates the blank_project application in this directory. -BSP_DIR=/root/projects/pong3/software/pong3_bsp/ -QUARTUS_PROJECT_DIR=/root/projects/pong3/hardware/ -NIOS2_APP_GEN_ARGS="--elf-name pong3.elf --set OBJDUMP_INCLUDE_SOURCE 1 --src-files hello_world.c" +BSP_DIR=../pong3_bsp +QUARTUS_PROJECT_DIR=../../ +NIOS2_APP_GEN_ARGS="--elf-name pong3.elf --no-src --set OBJDUMP_INCLUDE_SOURCE 1" # First, check to see if $SOPC_KIT_NIOS2 environmental variable is set. @@ -57,18 +57,18 @@ done # Now we also need to go copy the sources for this application to the # local directory. -find "${SOPC_KIT_NIOS2}/examples/software/hello_world/" -name '*.c' -or -name '*.h' -or -name 'hostfs*' | xargs -i cp -L {} ./ || { +find "${SOPC_KIT_NIOS2}/examples/software/blank_project/" -name '*.c' -or -name '*.h' -or -name 'hostfs*' | xargs -i cp -L {} ./ || { echo "failed during copying example source files" exit 1 } -find "${SOPC_KIT_NIOS2}/examples/software/hello_world/" -name 'readme.txt' -or -name 'Readme.txt' | xargs -i cp -L {} ./ || { +find "${SOPC_KIT_NIOS2}/examples/software/blank_project/" -name 'readme.txt' -or -name 'Readme.txt' | xargs -i cp -L {} ./ || { echo "failed copying readme file" } -if [ -d "${SOPC_KIT_NIOS2}/examples/software/hello_world/system" ] +if [ -d "${SOPC_KIT_NIOS2}/examples/software/blank_project/system" ] then - cp -RL "${SOPC_KIT_NIOS2}/examples/software/hello_world/system" . || { + cp -RL "${SOPC_KIT_NIOS2}/examples/software/blank_project/system" . || { echo "failed during copying project support files" exit 1 } -- cgit v1.2.3