From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id EA0268E61 for ; Thu, 24 Sep 2015 09:42:33 +0200 (CEST) Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 0749EC1A13F6 for ; Thu, 24 Sep 2015 07:42:33 +0000 (UTC) Received: from dhcp195.koti.laiskiainen.org (vpn1-7-167.ams2.redhat.com [10.36.7.167]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8O7gUoC031205 for ; Thu, 24 Sep 2015 03:42:32 -0400 To: dev@dpdk.org References: From: Panu Matilainen Message-ID: <5603A963.9000908@redhat.com> Date: Thu, 24 Sep 2015 10:42:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27 Subject: Re: [dpdk-dev] [PATCH 2/3] scripts: move two identical config fixups into a function 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: Thu, 24 Sep 2015 07:42:34 -0000 On 09/24/2015 10:34 AM, Panu Matilainen wrote: > # Checking abi compliance relies on using the dwarf information in > # The shared objects. Thats only included in the DSO's if we build > @@ -167,6 +171,8 @@ sed -i -e"$ a\CONFIG_RTE_LIBRTE_KNI=n" config/defconfig_$TARGET > export EXTRA_CFLAGS="$EXTRA_CFLAGS -g" > export EXTRA_LDFLAGS="$EXTRA_LDFLAGS -g" > > +fixup_config > + > # Now configure the build > log "INFO" "Configuring DPDK $TAG1" > make config T=$TARGET O=$TARGET > $VERBOSE 2>&1 > @@ -196,13 +202,6 @@ git reset --hard > log "INFO" "Checking out version $TAG2 of the dpdk" > git checkout $TAG2 > > -# Make sure we configure SHARED libraries > -# Also turn off IGB and KNI as those require kernel headers to build > -sed -i -e"$ a\CONFIG_RTE_BUILD_SHARED_LIB=y" config/defconfig_$TARGET > -sed -i -e"$ a\CONFIG_RTE_NEXT_ABI=n" config/defconfig_$TARGET > -sed -i -e"$ a\CONFIG_RTE_EAL_IGB_UIO=n" config/defconfig_$TARGET > -sed -i -e"$ a\CONFIG_RTE_LIBRTE_KNI=n" config/defconfig_$TARGET > - Doh. Obvious brain damage here, will send v2 after fetching apparently needed additional coffee. - Panu -