From 63c7534a6f8d88c8a93db9789ba674c28f55b531 Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 26 Apr 2015 21:37:22 +0000 Subject: two changes to radeon drm firmware: - only install it by default on x86, set new MKRADEONFIRMWARE variable - install in /libdata, so that separate /usr systems work (this still doesn't solve PR#49811, which possibly could be handled by having them being a kernel module loaded by /boot.) --- sys/dev/microcode/radeon/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys/dev/microcode') diff --git a/sys/dev/microcode/radeon/Makefile b/sys/dev/microcode/radeon/Makefile index 78cc7a25080..0fb71eb3f98 100644 --- a/sys/dev/microcode/radeon/Makefile +++ b/sys/dev/microcode/radeon/Makefile @@ -1,7 +1,11 @@ -# $NetBSD: Makefile,v 1.2 2014/07/28 23:09:06 rjs Exp $ +# $NetBSD: Makefile,v 1.3 2015/04/26 21:37:22 mrg Exp $ NOMAN= # defined +.include + +.if ${MKRADEONFIRMWARE} != "no" + FILES= \ R100_cp.bin \ R200_cp.bin \ @@ -60,8 +64,10 @@ FILES= \ VERDE_ce.bin VERDE_mc.bin VERDE_mc2.bin VERDE_me.bin VERDE_pfp.bin \ VERDE_rlc.bin VERDE_smc.bin -# DRM isn't necessary before /usr! -FIRMWAREDIR= /usr/libdata/firmware +# radeondrmks needs these after mountroot, but before starting init. +FIRMWAREDIR= /libdata/firmware + +.endif # XXX includes: -- cgit