DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] Add error message when trying to use make option T= during build/clean
@ 2015-09-29 16:04 Francesco Montorsi
  2015-10-13 13:22 ` Olivier MATZ
  0 siblings, 1 reply; 4+ messages in thread
From: Francesco Montorsi @ 2015-09-29 16:04 UTC (permalink / raw)
  To: dev

From: Francesco Montorsi <fmontorsi@empirix.com>

---
 mk/rte.sdkbuild.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mk/rte.sdkbuild.mk b/mk/rte.sdkbuild.mk
index 38ec7bd..013aa89 100644
--- a/mk/rte.sdkbuild.mk
+++ b/mk/rte.sdkbuild.mk
@@ -29,6 +29,12 @@
 #   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 #   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+ifdef T
+  ifeq ("$(origin T)", "command line")
+    $(error "Cannot use T= with a build/clean target")
+  endif
+endif
+
 # If DESTDIR variable is given, install binary dpdk
 
 #
-- 
2.5.3.windows.1

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

end of thread, other threads:[~2015-10-21 19:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-29 16:04 [dpdk-dev] [PATCH] Add error message when trying to use make option T= during build/clean Francesco Montorsi
2015-10-13 13:22 ` Olivier MATZ
2015-10-14  8:02   ` Francesco
2015-10-21 19:27     ` Olivier MATZ

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).