Kbuild.asm 1016 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Headers that are optional in usr/include/asm/
  3. #
  4. opt-header += kvm.h
  5. opt-header += kvm_para.h
  6. opt-header += a.out.h
  7. #
  8. # Headers that are mandatory in usr/include/asm/
  9. #
  10. header-y += auxvec.h
  11. header-y += bitsperlong.h
  12. header-y += byteorder.h
  13. header-y += errno.h
  14. header-y += fcntl.h
  15. header-y += ioctl.h
  16. header-y += ioctls.h
  17. header-y += ipcbuf.h
  18. header-y += mman.h
  19. header-y += msgbuf.h
  20. header-y += param.h
  21. header-y += poll.h
  22. header-y += posix_types.h
  23. header-y += ptrace.h
  24. header-y += resource.h
  25. header-y += sembuf.h
  26. header-y += setup.h
  27. header-y += shmbuf.h
  28. header-y += sigcontext.h
  29. header-y += siginfo.h
  30. header-y += signal.h
  31. header-y += socket.h
  32. header-y += sockios.h
  33. header-y += stat.h
  34. header-y += statfs.h
  35. header-y += swab.h
  36. header-y += termbits.h
  37. header-y += termios.h
  38. header-y += types.h
  39. header-y += unistd.h
  40. header-y += $(foreach hdr,$(opt-header), \
  41. $(if \
  42. $(wildcard \
  43. $(srctree)/arch/$(SRCARCH)/include/uapi/asm/$(hdr) \
  44. $(srctree)/arch/$(SRCARCH)/include/asm/$(hdr) \
  45. ), \
  46. $(hdr) \
  47. ))