Skip to content

Commit

Permalink
Update firmware(9) image names. (#15)
Browse files Browse the repository at this point in the history
Based on manu's comments in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251415#c5
resubmit this change, which previously was part of
#13
to be included in the main kms-firmware repo.

This change will adjust the firmware image name to the firmware
kernel module file name and with that will allow firmware(9)
as-is to auto-load the the kernel module without any extra logic
needed for firmare(9)/kernel linker.

Sposnored by:	The FreeBSD Foundation
  • Loading branch information
bzfbd committed Dec 10, 2020
1 parent f4f876a commit efe0d9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions amdgpukmsfw/Makefile.inc
Expand Up @@ -8,15 +8,14 @@ _NAME= amdgpu_${NAME}_bin

KMOD= ${_NAME}

FIRMWS= ${FWFILE}:amdgpu/${FWFILE}
FIRMWS= ${_NAME}:${_NAME}

#
# Note that a license ack is not needed for amdgpu
#
#FIRMWARE_LICENSE=

CLEANFILES+= ${FWFILE}
CLEANFILES+= ${_NAME} ${_NAME}.fwo ${_NAME}.ko.debug ${_NAME}.ko.full

${FWFILE}: ${.CURDIR}/../../amdgpukmsfw-files/${FWFILE}.uu
${_NAME}: ${.CURDIR}/../../amdgpukmsfw-files/${FWFILE}.uu
uudecode -p $? > ${.TARGET}
5 changes: 2 additions & 3 deletions i915kmsfw/Makefile.inc
Expand Up @@ -9,15 +9,14 @@ _NAME= i915_${NAME}_ver${VERSION}_bin

KMOD= ${_NAME}

FIRMWS= ${FWFILE}:i915/${NAME}_ver${VERSION}.bin
FIRMWS= ${_NAME}:${_NAME}

#
# Note that a license ack is not needed for i915kms.
#
#FIRMWARE_LICENSE=

CLEANFILES+= ${FWFILE}
CLEANFILES+= ${_NAME} ${_NAME}.fwo ${_NAME}.ko.debug ${_NAME}.ko.full

${FWFILE}: ${.CURDIR}/../../i915kmsfw-files/${FWFILE}.uu
${_NAME}: ${.CURDIR}/../../i915kmsfw-files/${FWFILE}.uu
uudecode -p $? > ${.TARGET}
5 changes: 2 additions & 3 deletions radeonkmsfw/Makefile.inc
Expand Up @@ -8,15 +8,14 @@ _NAME= radeon_${NAME}_bin

KMOD= ${_NAME}

FIRMWS= ${FWFILE}:radeon/${FWFILE}
FIRMWS= ${_NAME}:${_NAME}

#
# Note that a license ack is not needed for radeon.
#
#FIRMWARE_LICENSE=

CLEANFILES+= ${FWFILE}
CLEANFILES+= ${_NAME} ${_NAME}.fwo ${_NAME}.ko.debug ${_NAME}.ko.full

${FWFILE}: ${.CURDIR}/../../radeonkmsfw-files/${FWFILE}.uu
${_NAME}: ${.CURDIR}/../../radeonkmsfw-files/${FWFILE}.uu
uudecode -p $? > ${.TARGET}

0 comments on commit efe0d9f

Please sign in to comment.