File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- KEXT = USBHubPowerFix.kext
2- SUDO = sudo
3- DESTDIR =/Library/Extensions
1+ KEXT = USBHubPowerFix.kext
2+ CODESIGN = codesign
3+ KEXTUTIL = kextutil
4+ SUDO = sudo
5+ DESTDIR = /Library/Extensions
6+ IDENTITY = E1E40BB5B7277129FCA48576BBC1625463B13386
47
58all :
69
10+ sign :
11+ ${CODESIGN} -s ${IDENTITY} ${KEXT}
12+
13+ check :
14+ ${SUDO} ${KEXTUTIL} -t ${KEXT}
15+
16+ clean :
17+ ${RM} -r ${KEXT} /Contents/_CodeSignature
18+
719install :
820 ${SUDO} cp -R ${KEXT} ${DESTDIR}
921 ${SUDO} chown -R root:wheel ${DESTDIR} /${KEXT}
Original file line number Diff line number Diff line change @@ -35,4 +35,5 @@ Note: This kext is not signed. You need either to [disable SIP](http://apple.sta
3535
3636You need to have Apple Developer Program subscription and [ request a kext signing certificate] ( https://developer.apple.com/contact/kext/ ) .
3737
38- TBD
38+ 1 . Modify IDENTITY= in Makefile
39+ 2 . Run ` make sign `
You can’t perform that action at this time.
0 commit comments