|
Message
From: cvs at opencores.org<cvs@o...>
Date: Thu May 22 15:02:57 CEST 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/05 22:15:02 Modified: jop Makefile Log: add pc target Revision Changes Path 1.80 jop/Makefile http://www.opencores.org/cvsweb.shtml/jop/Makefile.diff?r1=1.79&r2=1.80 (In the diff below, changes in quantity of whitespace are not shown.) Index: Makefile =================================================================== RCS file: /cvsroot/martin/jop/Makefile,v retrieving revision 1.79 retrieving revision 1.80 diff -u -b -r1.79 -r1.80 --- Makefile 8 Apr 2008 11:06:05 -0000 1.79 +++ Makefile 22 May 2008 13:02:57 -0000 1.80 @@ -67,17 +67,28 @@ IPDEST=192.168.1.2 IPDEST=192.168.0.123 - P1=test P2=test P3=HelloWorld + +#P1=bench +#P2=jbe +#P3=DoApp # The test program for Basio and the NAND Flash #P3=FlashBaseio +#P1=app +#P2=oebb +#P3=Main + #P2=wcet #P3=Loop WCET_METHOD=measure +#P1=. +#P2=dsvmmcp +#P3=TestDSVMMCP + # # some variables # @@ -92,6 +103,10 @@ #TOOLS_JFLAGS=-d $(TOOLS)/dist/classes $(EXT_CP) -sourcepath $(TOOLS)/src\;$(TARGET)/src/common TOOLS_JFLAGS=-g -d $(TOOLS)/dist/classes $(EXT_CP) -sourcepath $(TOOLS)/src\;$(TARGET)/src/common +PCTOOLS=java/pc +PCTOOLS_JFLAGS=-g -d $(PCTOOLS)/dist/classes -sourcepath $(PCTOOLS)/src + + TARGET=java/target # changed to add another class to the tool chain @@ -127,9 +142,13 @@ # add more directoies here when needed # (and use \; to escape the ';' when using a list!) -TARGET_APP_SOURCE_PATH=$(TARGET_APP_PATH) +TARGET_APP_SOURCE_PATH=$(TARGET_APP_PATH)\;$(TARGET)/src/bench TARGET_APP=$(TARGET_APP_PATH)/$(MAIN_CLASS).java + +# setting for rup DSVM on JopCMP +#TARGET_APP_PATH=/usrx/DSVMFP/src + # just any name that the .jop file gets. JOPBIN=$(P3).jop @@ -248,6 +267,22 @@ @javac $(JAVAC_FLAGS) $(jfiles) +# we moved the pc stuff to it's own target to be +# NOT built on make all. +# It depends on javax.comm which is NOT installed +# by default - Blame SUN on this! +# +# TODO: change it to RXTXcomm if it's working ok +# +pc: + -rm -rf $(PCTOOLS)/dist + mkdir $(PCTOOLS)/dist + mkdir $(PCTOOLS)/dist/lib + mkdir $(PCTOOLS)/dist/classes +# make compile_java -e JAVA_DIR=$(PCTOOLS)/src + javac $(PCTOOLS_JFLAGS) $(PCTOOLS)/src/udp/*.java + cd $(PCTOOLS)/dist/classes && jar cf ../lib/jop-pc.jar * + # # compile and JOPize the application # @@ -281,16 +316,6 @@ cp *.dat modelsim
rm -f *.dat
-# we moved the pc stuff to it's own target to be
-# NOT built on make all.
-# It depends on javax.comm which is NOT installed
-# by default - Blame SUN on this!
-#
-# TODO: change it to RXTXcomm if it's working ok
-#
-pc:
- cd java/pc && ./build.bat
-
#
# project.sof fiels are used to boot from the serial line
#
|
 |