diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-11 18:40:02 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2019-06-22 08:59:42 +0200 |
commit | 330647f0473894e0475a0073a185e7c98d69192d (patch) | |
tree | 4c66d09f21c4e28701df10088eb4f6a5224de0bc /recipes-support/libusbgx/files/mx7/g1.schema | |
parent | 77fcf610f135e1050ec22bd985f0389eab8ff105 (diff) |
libusbgx: rework g1.schema handling
Add the product name at compile time so that we do not need to provide
slightly different copies of the file.
While at it set package arch to machine arch. The packages created are
machine specific due to the g1.schema file.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 3fa96f28bb30643cac3b8a49d3abd7c976acb704)
Diffstat (limited to 'recipes-support/libusbgx/files/mx7/g1.schema')
-rw-r--r-- | recipes-support/libusbgx/files/mx7/g1.schema | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/recipes-support/libusbgx/files/mx7/g1.schema b/recipes-support/libusbgx/files/mx7/g1.schema deleted file mode 100644 index 79b8882..0000000 --- a/recipes-support/libusbgx/files/mx7/g1.schema +++ /dev/null @@ -1,64 +0,0 @@ -attrs : -{ - bcdUSB = 0x200; - bDeviceClass = 0x2; - bDeviceSubClass = 0x0; - bDeviceProtocol = 0x0; - bMaxPacketSize0 = 0x40; - idVendor = 0x1b67; - bcdDevice = 0x401; -}; -os_descs : -{ - config_id = 1; - use = 1; - qw_sign = "MSFT100"; - b_vendor_code = 0xcd; -}; -strings = ( - { - lang = 0x409; - manufacturer = "Toradex"; - product = "Toradex Colibri iMX7"; - serialnumber = "00000000"; - } ); -functions : -{ - rndis_usb0 : - { - instance = "usb0"; - type = "rndis"; - attrs : - { - dev_addr = "00:14:2d:ff:ff:ff"; - host_addr = "00:14:2d:ff:ff:fe"; - qmult = 5; - }; - os_descs = ( - { - interface = "rndis"; - compatible_id = "RNDIS"; - sub_compatible_id = "5162001"; - } ); - }; -}; -configs = ( - { - id = 1; - name = "c"; - attrs : - { - bmAttributes = 0xC0; - bMaxPower = 0x1; - }; - strings = ( - { - lang = 0x409; - configuration = "RNDIS"; - } ); - functions = ( - { - name = "rndis.usb0"; - function = "rndis_usb0"; - } ); - } ); |