numam-dpdk/mk
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: b2063f104d ("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
..
arch mk: define objcopy target and arch on IBM POWER 2016-06-15 15:12:37 +02:00
exec-env mk: prevent overlinking in applications 2016-06-13 16:09:58 +02:00
internal mk: fix verbose pmdinfogen run 2016-07-08 17:07:05 +02:00
machine mk: introduce NXP dpaa2 architecture based on armv8-a 2016-05-18 16:28:45 +02:00
target/generic config: remove obsolete machine descriptions 2016-02-11 12:45:21 +01:00
toolchain mk: fix gcc-5 version on Suse 2016-03-23 11:00:14 +01:00
rte.app.mk mk: fix static link with glibc < 2.17 2016-07-21 10:21:55 +02:00
rte.bsdmodule.mk mk: fix bsd module build 2014-11-05 22:18:31 +01:00
rte.combinedlib.mk mk: fix linker script when re-building 2016-03-17 21:53:06 +01:00
rte.cpuflags.mk mk: improve ARM NEON detection 2016-03-24 17:46:58 +01:00
rte.extapp.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extlib.mk mk: remove ABI versioning for external library 2015-12-08 02:59:54 +01:00
rte.extobj.mk mk, scripts: remove useless blank lines 2015-06-12 11:10:02 +02:00
rte.extshared.mk mk: allow to build shared libraries 2014-02-26 11:01:13 +01:00
rte.extsubdir.mk mk: introduce rte.extsubdir.mk for projects with subdirectories 2014-05-16 13:28:21 +02:00
rte.gnuconfigure.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.hostapp.mk pmdinfogen: add buildtools and pmdinfogen utility 2016-07-06 22:34:39 +02:00
rte.hostlib.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.install.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.lib.mk mk: check shared library dependencies 2016-06-29 13:33:01 +02:00
rte.module.mk mk: quote KERNELCC to allow ccache build 2015-10-25 18:39:46 +01:00
rte.obj.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkbuild.mk mk: remove traces of hostapp build directory 2016-07-08 12:04:02 +02:00
rte.sdkconfig.mk mk: fix FreeBSD build 2016-07-21 10:26:12 +02:00
rte.sdkdepdirs.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkdoc.mk mk: reduce PDF build commands 2015-04-03 16:13:36 +02:00
rte.sdkexamples.mk mk: add "make examples" target in root makefile 2014-05-16 16:02:55 +02:00
rte.sdkgcov.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.sdkinstall.mk mk: fix driver build with installed SDK 2016-07-08 17:06:59 +02:00
rte.sdkroot.mk mk: show version as a decimal integer 2016-04-07 23:05:47 +02:00
rte.sdktest.mk mk: fix autotest lists 2016-05-24 17:00:55 +02:00
rte.shared.mk mk: fix link with CC 2014-12-17 22:54:20 +01:00
rte.subdir.mk remove trailing whitespaces 2014-06-11 00:29:34 +02:00
rte.vars.mk mk: stop on warning only in developer build 2016-03-03 11:33:14 +01:00