From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 8E9497E23 for ; Fri, 10 Apr 2015 09:49:46 +0200 (CEST) Received: by wiax7 with SMTP id x7so10345579wia.0 for ; Fri, 10 Apr 2015 00:49:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=8F3rC+2gDK+o3NHOa/K/DjrsQIjogn25uLzOmbYT1T4=; b=gHckX2T3BUy1liNDBcMAQgCVd6OQ0zB7DErAlvcmFt0JL/Vn+PEralujJOKOu3gfef DBLLXcJm0fS/JI6SgEWpwTVarb5IK+f3gN3gZQ5pzEqDieCofc+VmQmkqtgE9cx0Uj0Y pbfSSR+h2JWzpYpwMwN9awEvYKerXGos21ojgGW45EgThgolv+GEPhHKIBPHRtKzmzjV hM6+rQyFh6yrUNJwMq+fEAfj3UZJOSoEyKtELVSHLMrBdXkCTpqir9RMFS8HiRZICO7T n6f3eeToAZ+Fbh3DHahUcWwE/Mj7G8t59loKAW/WNeAYrpN/wAz83R0EVnLB4mWCd65K zc3w== X-Gm-Message-State: ALoCoQm5TkCzxQpEsQRLzSh7WDdvxvKf3e92ySdA1SWDR1aZQgYYq+6iKf9HF33XAG6Q6EMo3cNp X-Received: by 10.195.13.168 with SMTP id ez8mr672383wjd.30.1428652186464; Fri, 10 Apr 2015 00:49:46 -0700 (PDT) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id w5sm2191322wiz.11.2015.04.10.00.49.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Apr 2015 00:49:45 -0700 (PDT) From: Thomas Monjalon To: Tetsuya Mukawa Date: Fri, 10 Apr 2015 09:48:57 +0200 Message-Id: <1428652137-19290-1-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.2.2 Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH] mk: fix static linking with null pmd X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 07:49:46 -0000 Null PMD was not found when using a statically linked application: EAL: no driver found for eth_null1 EAL: failed to initialize eth_null1 device Fixes: c743e50c475f ("null: new poll mode driver") Signed-off-by: Thomas Monjalon --- mk/rte.app.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mk/rte.app.mk b/mk/rte.app.mk index aa8af79..62a76ae 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -251,6 +251,10 @@ ifeq ($(CONFIG_RTE_LIBRTE_PMD_AF_PACKET),y) LDLIBS += -lrte_pmd_af_packet endif +ifeq ($(CONFIG_RTE_LIBRTE_PMD_NULL),y) +LDLIBS += -lrte_pmd_null +endif + endif # plugins endif # ! CONFIG_RTE_BUILD_COMBINE_LIBS -- 2.2.2