[dpdk-dev] [PATCH] Add error message when trying to use make option T= during build/clean
Francesco Montorsi
francesco.montorsi at gmail.com
Tue Sep 29 18:04:42 CEST 2015
From: Francesco Montorsi <fmontorsi at 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
More information about the dev
mailing list