Deduplicate loader vers.c Makefile rules
authoremaste <emaste@FreeBSD.org>
Mon, 19 Dec 2016 14:40:59 +0000 (14:40 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 19 Dec 2016 14:40:59 +0000 (14:40 +0000)
commit52436c4b33e96be6ae5f8dcf78eea4956fb29816
tree29d00b7cab96b363d89b0bc7eb48bd61d8acce46
parentc2e73f9ee884534d5a9e4d9cdcde6e906f60144e
Deduplicate loader vers.c Makefile rules

The Makefile rule to create vers.c for loader version info was
previously duplicated in each of the various loader Makefiles.
Instead, share a common rule in Makefile.inc.

Reviewed by: bapt
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8841
13 files changed:
sys/boot/arm/uboot/Makefile
sys/boot/common/Makefile.inc
sys/boot/efi/loader/Makefile
sys/boot/i386/loader/Makefile
sys/boot/mips/beri/loader/Makefile
sys/boot/mips/uboot/Makefile
sys/boot/pc98/loader/Makefile
sys/boot/powerpc/kboot/Makefile
sys/boot/powerpc/ofw/Makefile
sys/boot/powerpc/ps3/Makefile
sys/boot/powerpc/uboot/Makefile
sys/boot/sparc64/loader/Makefile
sys/boot/userboot/userboot/Makefile