aboutsummaryrefslogtreecommitdiff
path: root/contrib/amd/amd/amd.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-11-21 13:56:16 +0000
committerEd Maste <emaste@FreeBSD.org>2019-11-21 13:56:16 +0000
commit1da495d063aad879b952ff58329224f9be5752c6 (patch)
tree27ec52552d897d57ae4ca988a965642e511ad643 /contrib/amd/amd/amd.c
parent8491540808d9b00abc2a1ea8e37a697ce4020120 (diff)
downloadsrc-1da495d063aad879b952ff58329224f9be5752c6.tar.gz
src-1da495d063aad879b952ff58329224f9be5752c6.zip
revert r354935 and apply fix for cleandir failure
This reapplies the RISC-V GNU ld workaround from r354896, r354899, and 354900, along with a fix for the build failure during cleandir. LINKER_TYPE was not being set during cleandir, resulting in Malformed conditional (${LINKER_TYPE} == "bfd" && ${MACHINE} == "riscv") from Cirrus-CI. PR: 242109 Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=354950
Diffstat (limited to 'contrib/amd/amd/amd.c')
-rw-r--r--contrib/amd/amd/amd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/amd/amd/amd.c b/contrib/amd/amd/amd.c
index 7ec49ce1cec5..5efe0d81be99 100644
--- a/contrib/amd/amd/amd.c
+++ b/contrib/amd/amd/amd.c
@@ -414,6 +414,8 @@ main(int argc, char *argv[])
progname = "amd";
am_set_progname(progname);
+ plog(XLOG_WARNING, "built-in amd in FreeBSD is deprecated and will be removed before FreeBSD 13");
+
/*
* Initialize process id. This is kept
* cached since it is used for generating