diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-27 22:17:26 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-11-27 22:17:26 +0000 |
commit | 3fb7f0bd09ae13c417019fec745b685ae072610d (patch) | |
tree | b1ea23fd51f766e05e14a9806e1f32d57aa93342 /net/malo-firmware-kmod | |
parent | a1830e824af48f5f76c44ced1dafb03d2318c520 (diff) | |
download | ports-3fb7f0bd09ae13c417019fec745b685ae072610d.tar.gz ports-3fb7f0bd09ae13c417019fec745b685ae072610d.zip |
Notes
Diffstat (limited to 'net/malo-firmware-kmod')
-rw-r--r-- | net/malo-firmware-kmod/Makefile | 24 | ||||
-rw-r--r-- | net/malo-firmware-kmod/pkg-plist | 2 |
2 files changed, 6 insertions, 20 deletions
diff --git a/net/malo-firmware-kmod/Makefile b/net/malo-firmware-kmod/Makefile index 6b050e667ae0..34e6b0958ef8 100644 --- a/net/malo-firmware-kmod/Makefile +++ b/net/malo-firmware-kmod/Makefile @@ -11,24 +11,21 @@ DISTNAME= ${FWNAME} MAINTAINER= cpm@fbsd.es COMMENT= Marvell Libertas 88W8335 IEEE 802.11b/g Firmware Kernel Module -LICENSE= BSD3CLAUSE - FWNAME= malo-fw-${FWVERSION} FWVERSION= 3.0.0.39 -USES= kmod +USES= kmod uidfix DRIVERNAME= malofw FIRMS= malo8335-h:malo8335-m -WRKSRC= ${WRKDIR} +NO_WRKSUBDIR= yes +BUILD_WRKSRC= ${WRKSRC}/${DRIVERNAME} +INSTALL_WRKSRC= ${WRKSRC}/${DRIVERNAME} KMODVERSION= ${FWVERSION:C/^(...)$/\1.0/:S/.//g} -PLIST_SUB= DRIVERNAME="${DRIVERNAME}" \ - KMODDIR="${KMODDIR}" +PLIST_FILES= ${KMODDIR}/${DRIVERNAME}.ko CFLAGS+= -D_KERNEL NO_PACKAGE= This is a modified version of a restricted firmware -.include <bsd.port.pre.mk> - post-patch: ${MKDIR} ${WRKSRC}/${DRIVERNAME} ${MV} ${WRKSRC}/${FIRMS:C/:.*//} \ @@ -43,13 +40,4 @@ post-patch: ${ECHO_CMD} ".include <bsd.kmod.mk>" >> \ ${WRKSRC}/${DRIVERNAME}/Makefile -do-build: - (cd ${WRKSRC}/${DRIVERNAME} && \ - ${SETENV} KMODDIR="${KMODDIR}" ${MAKE_CMD} all) - -do-install: - ${MKDIR} ${STAGEDIR}${KMODDIR} - cd ${WRKSRC}/${DRIVERNAME}; ${SETENV} KMODDIR="${STAGEDIR}${KMODDIR}" make ${INSTALL} - ${STRIP_CMD} --strip-unneeded ${STAGEDIR}${KMODDIR}/${DRIVERNAME}.ko - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net/malo-firmware-kmod/pkg-plist b/net/malo-firmware-kmod/pkg-plist deleted file mode 100644 index 211b61b97745..000000000000 --- a/net/malo-firmware-kmod/pkg-plist +++ /dev/null @@ -1,2 +0,0 @@ -%%KMODDIR%%/linker.hints -%%KMODDIR%%/%%DRIVERNAME%%.ko |