Soft Patch Panel
 help / color / mirror / Atom feed
* [spp] [PATCH 0/2] Update makefile and gitignore
@ 2020-01-17  9:02 yasufum.o
  2020-01-17  9:02 ` [spp] [PATCH 1/2] makefile: update dist-clean task yasufum.o
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: yasufum.o @ 2020-01-17  9:02 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

From: Yasufumi Ogawa <yasufum.o@gmail.com>

As dedicated vhost PMD is added to SPP project, this series of patches
is to update Makefile for cleaning up all files generated while
compiling, and .gitignore to exclude the file from under the management
of git.

Yasufumi Ogawa (2):
  makefile: update dist-clean task
  project: add gitignore entries for vhost PMD

 .gitignore  | 11 +++++++++++
 GNUmakefile |  4 ++--
 2 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [spp] [PATCH 1/2] makefile: update dist-clean task
  2020-01-17  9:02 [spp] [PATCH 0/2] Update makefile and gitignore yasufum.o
@ 2020-01-17  9:02 ` yasufum.o
  2020-01-17  9:02 ` [spp] [PATCH 2/2] project: add gitignore entries for vhost PMD yasufum.o
  2020-01-21  7:36 ` [spp] [PATCH v2 0/2] Update makefile and gitignore Yasufumi Ogawa
  2 siblings, 0 replies; 6+ messages in thread
From: yasufum.o @ 2020-01-17  9:02 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

From: Yasufumi Ogawa <yasufum.o@gmail.com>

This patch is to add drivers to dist-clean task.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 274f709..1e7ea9f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -25,11 +25,11 @@ DOC_ROOT = docs/guides
 dist-clean:
 	make clean
 	rm -rf $(wildcard src/*/$(RTE_TARGET))
+	rm -rf $(wildcard src/drivers/*/$(RTE_TARGET))
 	rm -rf $(wildcard src/*/*.pyc)
 	rm -rf $(wildcard src/*/__pycache__)
 	rm -rf $(wildcard src/*/shared)
-	rm -rf $(wildcard src/mirror/vf)
-	rm -rf $(wildcard src/pcap/vf)
+	rm src/drivers/vhost/_postclean
 
 .PHONY: doc
 doc: doc-all
-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [spp] [PATCH 2/2] project: add gitignore entries for vhost PMD
  2020-01-17  9:02 [spp] [PATCH 0/2] Update makefile and gitignore yasufum.o
  2020-01-17  9:02 ` [spp] [PATCH 1/2] makefile: update dist-clean task yasufum.o
@ 2020-01-17  9:02 ` yasufum.o
  2020-01-21  7:36 ` [spp] [PATCH v2 0/2] Update makefile and gitignore Yasufumi Ogawa
  2 siblings, 0 replies; 6+ messages in thread
From: yasufum.o @ 2020-01-17  9:02 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

From: Yasufumi Ogawa <yasufum.o@gmail.com>

As dedicated vhost PMD is added, this update is to add files generated
while compiling.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 .gitignore | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitignore b/.gitignore
index 154c284..e67c72f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,17 @@ src/*/x86_64-native-linuxapp-icc/
 src/*/i686-native-linuxapp-gcc/
 src/*/i686-native-linuxapp-icc/
 
+src/drivers/*/*.a
+src/drivers/*/*.o
+src/drivers/*/.*.o.d
+src/drivers/*/.*.a.cmd
+src/drivers/*/.*.o.cmd
+src/drivers/*/*.o.pmd.c
+src/drivers/*/*.o.pmd.o
+src/drivers/*/_postbuild
+src/drivers/*/_postinstall
+src/drivers/*/x86_64-native-linuxapp-gcc/
+
 src/controller/3rd_party/*
 
 tools/sppc/build/*/*/env.sh
-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [spp] [PATCH v2 0/2] Update makefile and gitignore
  2020-01-17  9:02 [spp] [PATCH 0/2] Update makefile and gitignore yasufum.o
  2020-01-17  9:02 ` [spp] [PATCH 1/2] makefile: update dist-clean task yasufum.o
  2020-01-17  9:02 ` [spp] [PATCH 2/2] project: add gitignore entries for vhost PMD yasufum.o
@ 2020-01-21  7:36 ` Yasufumi Ogawa
  2020-01-21  7:36   ` [spp] [PATCH v2 1/2] makefile: update dist-clean task Yasufumi Ogawa
  2020-01-21  7:36   ` [spp] [PATCH v2 2/2] project: add gitignore entries for vhost PMD Yasufumi Ogawa
  2 siblings, 2 replies; 6+ messages in thread
From: Yasufumi Ogawa @ 2020-01-21  7:36 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

As dedicated vhost PMD is added to SPP project, this series of patches
is to update Makefile for cleaning up all files generated while
compiling, and .gitignore to exclude the file from under the management
of git.

v2:
  * Add _postclean in the files
  * Divide dist-clean task into two tasks to remove _postclean

Yasufumi Ogawa (2):
  makefile: update dist-clean task
  project: add gitignore entries for vhost PMD

 .gitignore  | 12 ++++++++++++
 GNUmakefile | 19 ++++++++++++++-----
 2 files changed, 26 insertions(+), 5 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [spp] [PATCH v2 1/2] makefile: update dist-clean task
  2020-01-21  7:36 ` [spp] [PATCH v2 0/2] Update makefile and gitignore Yasufumi Ogawa
@ 2020-01-21  7:36   ` Yasufumi Ogawa
  2020-01-21  7:36   ` [spp] [PATCH v2 2/2] project: add gitignore entries for vhost PMD Yasufumi Ogawa
  1 sibling, 0 replies; 6+ messages in thread
From: Yasufumi Ogawa @ 2020-01-21  7:36 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

This patch is to add drivers to dist-clean task. In this update,
dist-clean is divided into two tasks. It is because files named as
`_postclean` is generated in `src/drivers/*/` directory after cleaning
and still remained. First task named as `_dist-clean` is for removing
files generated while compilation, and second one is for removing
`_postclean`.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 GNUmakefile | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 274f709..9c0cea9 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,15 +21,24 @@ showversion:
 # Compile RST documents
 DOC_ROOT = docs/guides
 
+# Clean all files generated while compilation. It consists of two
+# tasks, _dist-clean and dist-clean. First one is for removing the
+# generated files, and second one is just for removing `_postclean`
+# which is generated after the first task.
 .PHONY: dist-clean
-dist-clean:
+dist-clean: _dist-clean
+	rm -f $(wildcard src/drivers/*/_postclean)
+
+.PHONY: _dist-clean
+_dist-clean:
 	make clean
 	rm -rf $(wildcard src/*/$(RTE_TARGET))
-	rm -rf $(wildcard src/*/*.pyc)
-	rm -rf $(wildcard src/*/__pycache__)
 	rm -rf $(wildcard src/*/shared)
-	rm -rf $(wildcard src/mirror/vf)
-	rm -rf $(wildcard src/pcap/vf)
+	rm -rf $(wildcard src/drivers/*/$(RTE_TARGET))
+	rm -f $(wildcard src/*/*.pyc)
+	rm -f $(wildcard src/*/*/*.pyc)
+	rm -rf $(wildcard src/*/__pycache__)
+	rm -rf $(wildcard src/*/*/__pycache__)
 
 .PHONY: doc
 doc: doc-all
-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [spp] [PATCH v2 2/2] project: add gitignore entries for vhost PMD
  2020-01-21  7:36 ` [spp] [PATCH v2 0/2] Update makefile and gitignore Yasufumi Ogawa
  2020-01-21  7:36   ` [spp] [PATCH v2 1/2] makefile: update dist-clean task Yasufumi Ogawa
@ 2020-01-21  7:36   ` Yasufumi Ogawa
  1 sibling, 0 replies; 6+ messages in thread
From: Yasufumi Ogawa @ 2020-01-21  7:36 UTC (permalink / raw)
  To: spp, ferruh.yigit, yasufum.o

As dedicated vhost PMD is added, this update is to add files generated
while compiling.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
---
 .gitignore | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/.gitignore b/.gitignore
index 154c284..32b785d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,6 +11,18 @@ src/*/x86_64-native-linuxapp-icc/
 src/*/i686-native-linuxapp-gcc/
 src/*/i686-native-linuxapp-icc/
 
+src/drivers/*/*.a
+src/drivers/*/*.o
+src/drivers/*/.*.o.d
+src/drivers/*/.*.a.cmd
+src/drivers/*/.*.o.cmd
+src/drivers/*/*.o.pmd.c
+src/drivers/*/*.o.pmd.o
+src/drivers/*/_postbuild
+src/drivers/*/_postinstall
+src/drivers/*/_postclean
+src/drivers/*/x86_64-native-linuxapp-gcc/
+
 src/controller/3rd_party/*
 
 tools/sppc/build/*/*/env.sh
-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-21  7:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17  9:02 [spp] [PATCH 0/2] Update makefile and gitignore yasufum.o
2020-01-17  9:02 ` [spp] [PATCH 1/2] makefile: update dist-clean task yasufum.o
2020-01-17  9:02 ` [spp] [PATCH 2/2] project: add gitignore entries for vhost PMD yasufum.o
2020-01-21  7:36 ` [spp] [PATCH v2 0/2] Update makefile and gitignore Yasufumi Ogawa
2020-01-21  7:36   ` [spp] [PATCH v2 1/2] makefile: update dist-clean task Yasufumi Ogawa
2020-01-21  7:36   ` [spp] [PATCH v2 2/2] project: add gitignore entries for vhost PMD Yasufumi Ogawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).