build.ck 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. ];
  24. } else if (arch == "x86") {
  25. ethernet_drivers += [
  26. "//drivers/net/ethernet/atl1c:atl1c",
  27. "//drivers/net/ethernet/dwceth:dwceth",
  28. "//drivers/net/ethernet/e100:e100",
  29. "//drivers/net/ethernet/rtl81xx:rtl81xx",
  30. ];
  31. }
  32. net_drivers = ethernet_drivers + wireless_drivers;
  33. entries = group("net_drivers", net_drivers);
  34. return entries;
  35. }
  36. return build();