diff options
| author | mrg <mrg@NetBSD.org> | 2015-04-26 21:37:22 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2015-04-26 21:37:22 +0000 |
| commit | 63c7534a6f8d88c8a93db9789ba674c28f55b531 (patch) | |
| tree | f8fba2f08d0b7115b4592a34a69fe28c54211fc8 /sys/dev/microcode | |
| parent | 4d776363521719cc5985733856e6e42edc8d69c9 (diff) | |
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.)
Diffstat (limited to 'sys/dev/microcode')
| -rw-r--r-- | sys/dev/microcode/radeon/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
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 <bsd.own.mk> + +.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: |
