Adding net_test_bench application, scripts to set irq smp affinity, setup scripts...
[keystone-rtos/netapi.git] / ti / runtime / netapi / test / build / Makefile
index 5482c1932c57ee2fe42e05b6d6a5a92b22143b34..409ba066a91086c9f4868d1b1599832f9cc38beb 100755 (executable)
@@ -43,6 +43,7 @@ IFDMA_OBJS= $(ARMV7OBJDIR)/netapi/test/ifdma_test.o
 
 NTB_OBJS= $(ARMV7OBJDIR)/netapi/test/nt_bridge.o  $(ARMV7OBJDIR)/netapi/test/stubs.o  
 
+NT_BENCH_OBJS= $(ARMV7OBJDIR)/netapi/test/net_test_bench.o  $(ARMV7OBJDIR)/netapi/test/stubs.o
 
 # Support Libraries used by NETAPI 
 QMSS_LIB = -lqmss
@@ -77,7 +78,7 @@ INTERNALLINKDEFS = -Wl,--start-group $(NETAPI_LIB) $(PKTLIB_LIB) $(HP_LIB) $(QMS
 
 all: tests 
 
-tests: $(ARMV7BINDIR)/netapi/test/.created $(ARMV7BINDIR)/netapi/test/net_test_loopback $(ARMV7BINDIR)/netapi/test/net_test_router $(ARMV7BINDIR)/netapi/test/net_test_max_params $(ARMV7BINDIR)/netapi/test/ifdma_test
+tests: $(ARMV7BINDIR)/netapi/test/.created $(ARMV7BINDIR)/netapi/test/net_test_loopback $(ARMV7BINDIR)/netapi/test/net_test_router $(ARMV7BINDIR)/netapi/test/net_test_max_params $(ARMV7BINDIR)/netapi/test/ifdma_test  $(ARMV7BINDIR)/netapi/test/net_test_bench
 
 
 api_clean:
@@ -91,6 +92,7 @@ clean:
        rm -f $(ARMV7BINDIR)/netapi/test/net_test_router 
        rm -f $(ARMV7BINDIR)/netapi/test/net_test_max_params
        rm -f $(ARMV7BINDIR)/netapi/test/ifdma_test
+       rm -f $(ARMV7BINDIR)/netapi/test/net_test_bench
 
 
 $(ARMV7OBJDIR)/netapi/test/%.o: $(NETAPI_INC_DIR)/ti/runtime/netapi/test/%.c $(ARMV7OBJDIR)/netapi/test/.created
@@ -120,3 +122,5 @@ $(ARMV7BINDIR)/netapi/test/nt_bridge:  $(NTB_OBJS) $(TRIE_OBJS)
 $(ARMV7BINDIR)/netapi/test/ifdma_test:  $(IFDMA_OBJS)
        $(CC) $(LDFLAGS)  $(IFDMA_OBJS) $(INTERNALLINKDEFS)  -o $(ARMV7BINDIR)/netapi/test/ifdma_test
 
+$(ARMV7BINDIR)/netapi/test/net_test_bench:  $(NT_BENCH_OBJS)
+       $(CC) $(LDFLAGS)  $(NT_BENCH_OBJS) $(INTERNALLINKDEFS)  -o $(ARMV7BINDIR)/netapi/test/net_test_bench