dev-util/mfgtools: add udev rules for librem5 dev kit
This commit is contained in:
parent
9d87d0fd7f
commit
d5f11d0428
@ -1,2 +1,3 @@
|
||||
AUX 99-librem5-devkit.rule 348 BLAKE2B 166f9917966ec0f6488a72221f6ad12c8f80d6f4b9b784ae85b4f4a3f66eb50222fb141d3fdc60756b8330e3acca73d07f0ace8b7b0eb44473e078492a7e5fad SHA512 4add3ef99b6ab80685d2f56bc743e5d7c8f857d15e23491db374d81912c48e5be440d48477b4c97ddc613e32f991fd0bec09bcecd0ce86a8cb0982eae0c049d2
|
||||
DIST mfgtools-1.2.39.tar.gz 50972 BLAKE2B 5bc000075c5f607c8ba22604c824be22981dac60570539309ff31aa2bf64a0a36273d1d101190e33101bb2a9d4ac728677aac9b7fcc551e38baf778d372bade3 SHA512 5a4226568ab757a9c2888fdb8550bf0e2bef458c4821f6dfd3ba684e1b5e4367c133cfbb340e43fbb0b00c78ad4c3bada7372e68bebae684a1a5f738f5e23667
|
||||
EBUILD mfgtools-1.2.39.ebuild 909 BLAKE2B c68c27f1dc8ec5002151e8dd3653d793f34f86caa8f6a9e5c271465a9a4e45f437b7ac365f23ad357a5a2b1a4c4753214b6bbb09e82600ba0ea73e578fa6d05a SHA512 cbcbd365ed9d59aa922dc222d8fbc8738fd8ccc0c302b755d0d7f5dda460bb2ba68c595ab9886f86a72a0a10353dd0a1605789a66f0bf3782ab4a41d7bf10a2b
|
||||
EBUILD mfgtools-1.2.39.ebuild 1043 BLAKE2B 73bc6d8c58ba6886dc85a26d3f27697262fa77b06187ce0a96680044c3819daa0f2bc9c2b1638df83945cf4aa3696e0606f9d832300694c6bceefcc62df05366 SHA512 e6034a8d5a79a6031f57cff10c17253e4e3c68e859f2e0a6d0565a3fe3a4914d9d04276276e7bfd56131536c9fe5c3294ba040b76c9bcc89d6f070c0c70d2a45
|
||||
|
6
dev-util/mfgtools/files/99-librem5-devkit.rule
Normal file
6
dev-util/mfgtools/files/99-librem5-devkit.rule
Normal file
@ -0,0 +1,6 @@
|
||||
SUBSYSTEM!="usb", GOTO="librem5_devkit_rules_end"
|
||||
# Devkit USB flash
|
||||
ATTR{idVendor}=="1fc9", ATTR{idProduct}=="012b", GROUP+="plugdev", TAG+="uaccess"
|
||||
ATTR{idVendor}=="0525", ATTR{idProduct}=="a4a5", GROUP+="plugdev", TAG+="uaccess"
|
||||
ATTR{idVendor}=="0525", ATTR{idProduct}=="b4a4", GROUP+="plugdev", TAG+="uaccess"
|
||||
LABEL="librem5_devkit_rules_end"
|
@ -12,7 +12,7 @@ else
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake-utils udev
|
||||
|
||||
DESCRIPTION="Freescale/NXP I.MX Chip image deploy tools"
|
||||
HOMEPAGE="https://github.com/NXPmicro/mfgtools"
|
||||
@ -47,3 +47,13 @@ src_configure() {
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
udev_dorules "${FILESDIR}/99-librem5-devkit.rule"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user