Don't store generated firmware object files in the source directory.
authorjhb <jhb@FreeBSD.org>
Tue, 10 May 2016 03:34:20 +0000 (03:34 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 10 May 2016 03:34:20 +0000 (03:34 +0000)
commit408d2a9352a4b8c5ccf26de91c4bc2ccf42ebb9d
treea00db9d9a415d1c0a4c95a587e1945dd432e886b
parenta6fa930ada9f9e298a69d970d8eccba5fa059742
Don't store generated firmware object files in the source directory.

Trim the leading directory of a firmware source file from the resulting
target object file name so the object file is stored in the object
directory. Previously, using 'FIRMWS= /path/to/fw.bin:fw.bin' would
store the generated 'fw.bin.fwo' file in the /path/to directory. Now
it stores it in the object directory of the kernel module being built.

Reviewed by: bdrewery
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6285
sys/conf/kmod.mk