From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by dpdk.org (Postfix) with ESMTP id B3261B101 for ; Fri, 16 May 2014 16:37:06 +0200 (CEST) Received: by mail-wg0-f51.google.com with SMTP id x13so4940772wgg.34 for ; Fri, 16 May 2014 07:37:14 -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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=XeKNWTHCehCOOtId6bCpijWk5x//ZoQWJInbtHmV7gA=; b=PMElz8qODmiolGIVY9lTtnOxaweitG9nVkNwUAKoAHgBU2Q+1MUzP3J5ySqdqD2Z9r 2glksGxQqhmvVxO7D19EmFRlsL3CI4Ibdo5Nug7xkoGc/zGwdkvloIjD0NKALpqdJr2T rzCtWj1+3rY2tX0kGhnEkscjid+E3Q1LIC+g5dOmkMRZiUlboQDDKsbXJPd0y2WsVhpu LjYq6SPY7Vaq/kmUcFZSy5+CT0J21Ry2cpLDH8YiOP0Z9NVolUY0Nmf+7EBa49lKOwAs dajt/gP5uffu1xw62qd+JtIGFclwMpBtzwoOKPFDK6E0Ku/UZE435DEHu97VcD6Ylk/w 26UQ== X-Gm-Message-State: ALoCoQk+tq/5K0cPkzbuWL+H8pH3kAKjFmSWXwYGAtMv8hi4dWFNTyJJgLWIzhNaagft3dh4cgkQ X-Received: by 10.180.72.179 with SMTP id e19mr13956850wiv.61.1400251034888; Fri, 16 May 2014 07:37:14 -0700 (PDT) Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.180.237]) by mx.google.com with ESMTPSA id fo10sm3687335wib.12.2014.05.16.07.37.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 May 2014 07:37:14 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Date: Fri, 16 May 2014 16:37:11 +0200 Message-ID: <26928811.ytHVV3ep0X@xps13> Organization: 6WIND User-Agent: KMail/4.13 (Linux/3.14.4-1-ARCH; KDE/4.13.0; x86_64; ; ) In-Reply-To: <1400228341-29334-1-git-send-email-olivier.matz@6wind.com> References: <1400228341-29334-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3 0/6] examples: add a new makefile to build all examples 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, 16 May 2014 14:37:07 -0000 2014-05-16 10:18, Olivier Matz: > This patch series adds a makefile to build all examples supported > by the configuration. It helps to check that all examples compile > after a dpdk modification. > > After applying the patches, it is possible to build all examples for > given targets, given the installation directory: > > # first, install the x86_64-default-linuxapp-gcc in > # ${RTE_SDK}/x86_64-default-linuxapp-gcc directory > user@droids:~/dpdk.org$ make install T=x86_64-default-linuxapp-gcc > # build examples for this new installation in > # ${RTE_SDK}/examples directory > user@droids:~/dpdk.org$ make examples T=x86_64-default-linuxapp-gcc > > Or directly from examples directory: > > user@droids:~/dpdk.org$ cd examples > user@droids:~/dpdk.org/examples$ make RTE_SDK=${PWD}/.. \ > RTE_TARGET=x86_64-default-linuxapp-gcc > > > Changes included in v3: > - use x86_64-default-linuxapp-gcc instead of x86_64-ivshmem-linuxapp-gcc > for default RTE_TARGET of multi_process example (was a bad copy/paste). > - replace ifndef by ?= > - fix when O= is a relative directory > - exit if the installation directory does not exist > > Changes included in v2: > - do not build kni example if CONFIG_RTE_LIBRTE_KNI is not set > - fix rte.extsubdir.mk when there are several levels of subdirectories > - allow to build examples directly from dpdk root directory > - explain in commit logs that it requires an install directory > > Olivier Matz (6): > mk: introduce rte.extsubdir.mk > examples: use rte.extsubdir.mk to process subdirectories > examples: add a makefile to build all examples > examples: fix qos_sched makefile > examples: fix netmap_compat example > mk: add "make examples" target in root makefile Acked-by: Thomas Monjalon Applied for version 1.7.0. -- Thomas