From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51])
 by dpdk.org (Postfix) with ESMTP id DD79E2B91
 for <dev@dpdk.org>; Mon, 11 Jul 2016 14:47:58 +0200 (CEST)
Received: by mail-wm0-f51.google.com with SMTP id f126so88100962wma.1
 for <dev@dpdk.org>; Mon, 11 Jul 2016 05:47:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=6wind-com.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:date:message-id:user-agent:in-reply-to
 :references:mime-version:content-transfer-encoding;
 bh=ZLD24ZWkWHFH4nGHVGjkB7t09cyviVs/K57wPuF/Vl4=;
 b=g1UbAJOYFKMOwin70hxYdGlkFuTlZgHqpbgwTSZCoWVcgo+ygF+0zgNAwLxtXiZJ0O
 0Hwu/Eu0lo6JtfIHNF7Kr5m9BexcpU6wp4Z+kehIGzIq6XUuy7hIHf4J3w9zPVfHsY/+
 jer6npR/j3IrE3IfXUhelvIbWeSvCwx3aZvenYeaeTENjEhEi8kHcFqF3h0qdNk0Q/eh
 RBX456aMsVsAva3lJWCupnBAY6ZNaclYlNhs6HteTjNpipJdG0daI96aOHuKzSkawFiM
 MfECPCvGU4tKPD9q3S5hzE4U/9jKS9vcs2H4WJRxIBd4nZ2R4ikIQHjnpkDRegrjYBVn
 ifxw==
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:user-agent
 :in-reply-to:references:mime-version:content-transfer-encoding;
 bh=ZLD24ZWkWHFH4nGHVGjkB7t09cyviVs/K57wPuF/Vl4=;
 b=S6HeWx5Odg/Y/X+BYzW/RSrbMGDd5S0pN5Dj6lHeELFnqhEwgIN5QszjUWRVVfNkqw
 x8PobGIFpcDkm5lN9cVwTiy1NpKWgokljUYPaTxjm2EgCuiRBYEmAK97uX73Sz3HRaxD
 rySxDsgE8A/w+ZvFXH2bhjlHUzoT2eFl619692JhaJ095e9DxICDGXDTr1iYqG6NiM03
 NyMe3EBL2UNbvINGw/8MM2OWSGkmLmwbYcnhtCggr3I8LAnX0g/inzvJcWDwZt7J1XYI
 u11XNkD4Ew90r/bIhEzIvjHOBD7nWHrVvYOGPkZ6ey1/BdLcd++3JLTdbClOf4+52fBD
 vEgg==
X-Gm-Message-State: ALyK8tKk+Jak4KWEFUVWn+G1GgCJmed4Rd3MvL2Kgw2AhhOIT/qRGxSSxTZEW68KkW6vTr3R
X-Received: by 10.28.167.136 with SMTP id q130mr15151794wme.62.1468241278609; 
 Mon, 11 Jul 2016 05:47:58 -0700 (PDT)
Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net.
 [82.239.227.177])
 by smtp.gmail.com with ESMTPSA id o142sm21843508wme.20.2016.07.11.05.47.57
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 11 Jul 2016 05:47:57 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Cc: ferruh.yigit@intel.com, dev@dpdk.org
Date: Mon, 11 Jul 2016 14:47:53 +0200
Message-ID: <5320412.bppHEIE6QQ@xps13>
User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <1467796386-20291-1-git-send-email-christian.ehrhardt@canonical.com>
References: <CAATJJ0+sK1xrY4DgdUVH8MjmChdt5=dSFQEXTjhiG3HOOgdMEw@mail.gmail.com>
 <1467796386-20291-1-git-send-email-christian.ehrhardt@canonical.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v4] mk: filter duplicate configuration entries
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Jul 2016 12:47:59 -0000

2016-07-06 11:13, Christian Ehrhardt:
> *updates in v4*
> - replace awk usage with sed
> - re-add the old loop to be able to get rid of awk
> - add more explanation to the header of the makefile section
> 
> *updates in v3*
> - replace tac with sed '1!G;h;$!d' to avoid build time dependency
> 
> *updates in v2*
> - move to .config target
> - fix usage order of tac
> - simplify inner section by only using awk (instead of awk+loop+bash+sed)
> 
> Due to the hierarchy and the demand to keep the base config showing all
> options, some config keys end up multiple times in the .config file.
> 
> Due to the way the actual config is sourced only the last entry is
> important. That can confuse people changing values in .config which
> are then ignored.
> 
> A suggested solution was to filter for duplicates at the end of the
> actual config step which is implemented here.
> 
> Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>

Applied, thanks