freebsd-dev/usr.sbin/config
Emmanuel Vadot 91221f548e config: Only warn if duplicate option/device comes from the same file
This is useful for arm (possibly other arches too) where we want to have
a GENERIC kernel that only include files for the different SoC. Since
multiple SoCs/Board needs the same device we would need to do either :

    Include the device in a generic file
    Include the device in each file that really needs it

Option 1 works but if someone wants to create a specific kernel config
(which isn't uncommon for embedded system), he will need to add a lots
of nodevice to it.

Option 2 also works but produce a lots of warnings.

Reviewed by:	kevans
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19424
2019-04-16 20:08:19 +00:00
..
config.5 kern_environment: Give the static environment a chance to disable MD env 2018-07-12 02:51:50 +00:00
config.8 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
config.h config: Only warn if duplicate option/device comes from the same file 2019-04-16 20:08:19 +00:00
config.y config: Only warn if duplicate option/device comes from the same file 2019-04-16 20:08:19 +00:00
configvers.h config(8): Add compatibility shims for r335998 2018-07-17 14:14:53 +00:00
kernconf.tmpl
lang.l config(8): Allow escape-quoted empty strings 2018-08-20 22:08:03 +00:00
main.c Fix GCC 4.2 build after r336415, proper declaration and prototype 2018-07-17 14:34:54 +00:00
Makefile config(8): Fix broken ABI 2018-07-06 11:23:14 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mkheaders.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mkmakefile.c config(8): replace opteq with a call to strcasecmp 2019-04-15 21:20:06 +00:00
mkoptions.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00