Dear All,

 

I am now trying to build nesC compiling environment on another GCC
compiler named NIOS II compiling tools.

 

Almost all scripts done, and previously I could compile TinyOS
application on the built environment with the command like make telosa,
but after I execute one script,  like the followings :

 

#############################

cmd="nios2-app-generate-makefile --bsp-dir $BSP_DIR --elf-name
nios2-tinyos.elf --set OBJDUMP_INCLUDE_SOURCE 1 --src-files
$1/app/app.c"

 

echo "create-this-app: Running \"$cmd\""

$cmd || {

    echo "nios2-app-generate-makefile failed"

    exit 1

}

 

cmd="$(MAKE)" # Also tried "make", still could not work

 

echo "create-nios2-tinyos: Running \"$cmd\""

$cmd || {

    echo "make failed"

    exit 1

}

##############################

 

I could not compile TinyOS application any more, no matter which target
I would like to make. It seems that the make could not figure out where
the makerules are, I tried to export all TinyOS-related environment
variables, it still could not work and popped up the following
information:

 

make: *** No rule to make target `telosa'.  Stop.

 

I just wonder whether because I have a recursive make invoked in the
script.

 

Any one encountered such problem before? How could I solve it?

 

Thanks a million!

 

 

Best Wishes,

Neil

 

 

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to