While playing around with it, the compiling appears to be working great. However, I am having a small problem with the Makefile in the root directory of the project. Using the default configuration, I get the following error when attempting to run make (I get the same output when running make deploy):
Code:
cd PPC603gnu && exec make -f Makefile_linux "Makefile"
make[1]: Entering directory `/home/wiredcats/code/Wiredcats2011/PPC603gnu'
make[1]: *** No rule to make target `Makefile'. Stop.
make[1]: Leaving directory `/home/wiredcats/code/Wiredcats2011/PPC603gnu'
make: *** [Makefile] Error 2
My quick hack replaced the Makefile with this:
Code:
#UCPP makefile
# For the default target, use the WindRiver makefile
all: force
cd PPC603gnu && exec $(MAKE) -f Makefile_linux
# TODO: insert targets that download gcc and WPIlib
# For all other targets, use the WindRiver makefile
deploy: force
cd PPC603gnu && exec $(MAKE) -f Makefile_linux deploy
force: ;
Everything works as expected in terms of building/deploying (or at least, it appears it does. I haven't tested it on a cRIO yet). But of course, it isn't ideal as it only lets me use the "deploy" target. I'm not too proficient in make, so I'm not positive as to how to fix it myself.
I'm running Ubuntu 10.04 with GNU Make 3.81 if it helps. I'm about to head to the shop, so I'll keep you posted on whether or not it successfully deploys and runs.