X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fovs%2FMakefile;h=384d699356f98a549b03510afd374d4e7fe6f197;hb=65034580a2759c89c418e0a47ee16bee10cc2c7c;hp=a67057f5e99f65ddc2a370863245bd40a7ec2632;hpb=d8e69f9d31492faf685bd92944cc3f4e76c4b1d1;p=vswitchperf.git diff --git a/src/ovs/Makefile b/src/ovs/Makefile index a67057f5..384d6993 100644 --- a/src/ovs/Makefile +++ b/src/ovs/Makefile @@ -72,6 +72,8 @@ config $(WORK_DIR)/Makefile: $(WORK_DIR)/configure INSTALL_TARGET = force_install force_make force_make: $(WORK_DIR)/Makefile + $(AT)cd $(WORK_DIR) && git pull $(OVS_URL) $(OVS_TAG) + @echo "git pull done" $(AT)echo "WITH_LINUX = $(WITH_LINUX)" $(AT)$(MAKE) -C $(WORK_DIR) $(MORE_MAKE_FLAGS) @echo "Make done" @@ -84,14 +86,15 @@ install: $(INSTALL_TARGET) # hard way to clean and clobber clean: + $(AT)cd $(WORK_DIR) && git clean -xfd *.o clobber: $(AT)rm -rf $(WORK_DIR) $(AT)rm -rf $(OVS_VANILLA) $(AT)rm -rf $(OVS_CUSE) -# cleanse is for developer who would like to keep the +# distclean is for developer who would like to keep the # clone git repo, saving time to fetch again from url -cleanse: +distclean: $(AT)cd $(WORK_DIR) && git clean -xfd && git checkout -f test: