Sergio Gonzalez Monroy 658cf5bc54 mk: fix FreeBSD build
The sed syntax of '0,/regexp/' is GNU specific and fails with
non GNU sed in FreeBSD.

To solve the issue we can use awk instead to remove duplicates.

The awk script basically keeps the last config value, while
maintaining order and comments from original config file.

Fixes: b2063f104db7 ("mk: filter duplicate configuration entries")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
Acked-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
2016-07-21 10:26:12 +02:00
..
2016-07-08 17:07:05 +02:00
2016-03-23 11:00:14 +01:00
2014-11-05 22:18:31 +01:00
2016-03-24 17:46:58 +01:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2014-06-11 00:29:34 +02:00
2016-07-21 10:26:12 +02:00
2014-06-11 00:29:34 +02:00
2015-04-03 16:13:36 +02:00
2014-06-11 00:29:34 +02:00
2016-05-24 17:00:55 +02:00
2014-12-17 22:54:20 +01:00
2014-06-11 00:29:34 +02:00