diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-10 14:14:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-05-13 09:45:51 +0200 |
commit | 7801010b68b8bffdd31e8ed03d7ddbf94217becb (patch) | |
tree | a33c4c71acd1ffc0bd378d2e3b2a534bf81a77e9 | |
parent | Use static inline functions for jail and prison (diff) | |
download | rtems-libbsd-7801010b68b8bffdd31e8ed03d7ddbf94217becb.tar.bz2 |
Add USB mass storage only build set
-rw-r--r-- | buildset/umass.ini | 18 | ||||
-rw-r--r-- | rtemsbsd/include/rtems/bsd/local/opt_usb.h | 4 |
2 files changed, 22 insertions, 0 deletions
diff --git a/buildset/umass.ini b/buildset/umass.ini new file mode 100644 index 00000000..6a43c58f --- /dev/null +++ b/buildset/umass.ini @@ -0,0 +1,18 @@ +# +# USB mass storage only. +# + +[general] +name = umass + +[modules] +base = on +cam = on +dev_usb = on +dev_usb_controller = on +dev_usb_controller_bbb = on +dev_usb_quirk = on +dev_usb_storage = on +fdt = on +rtems = on +user_space = on diff --git a/rtemsbsd/include/rtems/bsd/local/opt_usb.h b/rtemsbsd/include/rtems/bsd/local/opt_usb.h index 2b7227bd..6453248c 100644 --- a/rtemsbsd/include/rtems/bsd/local/opt_usb.h +++ b/rtemsbsd/include/rtems/bsd/local/opt_usb.h @@ -1,3 +1,5 @@ +#include <rtems/bsd/modules.h> + #define USB_HAVE_CONDVAR 1 #define USB_HAVE_UGEN 1 @@ -8,7 +10,9 @@ #define USB_HAVE_USER_IO 0 +#if defined(RTEMS_BSD_MODULE_NETINET) || defined(RTEMS_BSD_MODULE_NETINET6) #define USB_HAVE_MBUF 1 +#endif #undef USB_VERBOSE |