uio_test_pru: Update Makefile to build the images correctly 01.00.00.00A
authorSam Nelson <sam.nelson@ti.com>
Tue, 21 Jun 2016 18:51:07 +0000 (14:51 -0400)
committerSam Nelson <sam.nelson@ti.com>
Tue, 21 Jun 2016 18:51:07 +0000 (14:51 -0400)
Fix error in building the images for pru0 and pru1 correctly

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Makefile

index eba5f02db51e0dbe10602760a1133acfccb99304..9c8131f1fab09c6942997ce1a36f774576936b3e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -51,7 +51,10 @@ all: uio_test_pru0.bin uio_test_pru1.bin
 uio_test_pru%.asm: $(SOURCE)
        cp $(SOURCE) $@
 
-uio_test_pru%.obj: uio_test_pru%.asm
+uio_test_pru0.obj: uio_test_pru0.asm
+       $(CGT_PRU)/bin/clpru $< $(DEFINES) -DCORE_PRU\=0
+
+uio_test_pru1.obj: uio_test_pru1.asm
        $(CGT_PRU)/bin/clpru $< $(DEFINES) -DCORE_PRU\=1
 
 uio_test_pru%.out: uio_test_pru%.obj