]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't store generated firmware object files in the source directory.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 10 May 2016 03:34:20 +0000 (03:34 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 10 May 2016 03:34:20 +0000 (03:34 +0000)
commitd9eed6f42e45bd982fbc1fdba6253358e1bb78f1
treea00db9d9a415d1c0a4c95a587e1945dd432e886b
parentf7bc393477352f116132689cc7460aa9abf423a1
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