trex: fix Trex makefile 61/41061/1
authorMartin Goldammer <martin.goldammer6@gmail.com>
Tue, 5 Sep 2017 10:12:24 +0000 (03:12 -0700)
committerMartin Goldammer <martin.goldammer6@gmail.com>
Tue, 5 Sep 2017 10:28:09 +0000 (03:28 -0700)
Trex makefile was fix to checkout correct commit ID.
Add trex repo folder to .gitignore file.

JIRA: VSPERF-528

Change-Id: Icd0406eaf088b88c28d90cf8a7dd9e1fa53a6f3b
Signed-off-by: Martin Goldammer <martin.goldammer6@gmail.com>
Reviewed-by: Martin Klozik <martinx.klozik@intel.com>
Reviewed-by: Al Morton <acmorton@att.com>
Reviewed-by: Christian Trautman <ctrautma@redhat.com>
Reviewed-by: Trevor Cooper <trevor.cooper@intel.com>
.gitignore
src/trex/Makefile

index 4875119..97dbd7d 100644 (file)
@@ -67,6 +67,7 @@ target/
 /src/vpp/vpp/
 /src_cuse/
 /src_vanilla/
+/src/trex/trex
 .vagrant
 tags
 
index 9aaaa20..41eb52a 100644 (file)
@@ -26,7 +26,7 @@ TAG_DONE_FLAG = $(WORK_DIR)/.$(TREX_TAG).done
 all: force_pull
        @echo "Finished pulling $(WORK_DIR) "
 
-force_pull: $(WORK_DIR) Makefile
+force_pull: $(TAG_DONE_FLAG)
        $(AT)cd $(WORK_DIR) && git pull $(TREX_URL) $(TREX_TAG)
        @echo "git pull done"
 
@@ -35,6 +35,7 @@ $(WORK_DIR):
 
 $(TAG_DONE_FLAG): $(WORK_DIR)
        $(AT)cd $(WORK_DIR); git checkout $(TREX_TAG)
+       $(AT)touch $@
 
 install:
        @echo "Make install in $(WORK_DIR) (stub) "