build.ck 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*++
  2. Copyright (c) 2013 Minoca Corp. All Rights Reserved
  3. Module Name:
  4. Networking
  5. Abstract:
  6. This directory contains networking-related drivers, including the
  7. networking core driver and support for many specific NICs.
  8. Author:
  9. Evan Green 4-Apr-2013
  10. Environment:
  11. Kernel
  12. --*/
  13. function build() {
  14. ethernet_drivers = [
  15. "//drivers/net/ethernet/smsc95xx:smsc95xx",
  16. ];
  17. wireless_drivers = [
  18. "//drivers/net/wireless/rtlw81xx:rtlw81xx",
  19. ];
  20. if ((arch == "armv7") || (arch == "armv6")) {
  21. ethernet_drivers += [
  22. "//drivers/net/ethernet/smsc91c1:smsc91c1",
  23. "//drivers/net/ethernet/am3eth:am3eth"
  24. ];
  25. } else if (arch == "x86") {
  26. ethernet_drivers += [
  27. "//drivers/net/ethernet/atl1c:atl1c",
  28. "//drivers/net/ethernet/dwceth:dwceth",
  29. "//drivers/net/ethernet/e100:e100",
  30. "//drivers/net/ethernet/rtl81xx:rtl81xx",
  31. ];
  32. }
  33. net_drivers = ethernet_drivers + wireless_drivers;
  34. entries = group("net_drivers", net_drivers);
  35. return entries;
  36. }
  37. return build();