710-3.3-fix-generated-header-locations.patch 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. --- a/Embedded/src/GbE/Makefile
  2. +++ b/Embedded/src/GbE/Makefile
  3. @@ -60,19 +60,19 @@ GBE_NAME = iegbe
  4. GCU_NAME = gcu
  5. VERSION_FILE := $(KSRC)/include/linux/version.h
  6. -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h
  7. -CONFIG_FILE := $(KSRC)/include/linux/autoconf.h
  8. +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h
  9. +CONFIG_FILE := $(KSRC)/include/generated/autoconf.h
  10. ifeq (,$(wildcard $(VERSION_FILE)))
  11. $(error Linux kernel source not configured - missing version.h)
  12. endif
  13. ifeq (,$(wildcard $(CONFIG_FILE)))
  14. - $(error Linux kernel source not configured - missing autoconf.h)
  15. + $(error Linux kernel source not configured - missing autoconf.h)
  16. endif
  17. ifeq (,$(wildcard $(UTS_REL_FILE)))
  18. - $(error Linux kernel source not configured - missing utsrelease.h)
  19. + $(error Linux kernel source not configured - missing utsrelease.h)
  20. endif
  21. # set the install path
  22. --- a/Embedded/src/1588/Makefile
  23. +++ b/Embedded/src/1588/Makefile
  24. @@ -97,8 +97,8 @@ OUTPUT_PATH ?= /
  25. EXTRA_LDFLAGS += -whole-archive
  26. VERSION_FILE := $(KOBJ)/include/linux/version.h
  27. -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h
  28. -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h
  29. +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h
  30. +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h
  31. # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h
  32. --- a/Embedded/src/CAN/Makefile
  33. +++ b/Embedded/src/CAN/Makefile
  34. @@ -100,8 +100,8 @@ OUTPUT_PATH ?= /
  35. EXTRA_LDFLAGS += -whole-archive
  36. VERSION_FILE := $(KOBJ)/include/linux/version.h
  37. -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h
  38. -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h
  39. +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h
  40. +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h
  41. # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h
  42. --- a/Embedded/src/EDMA/Makefile
  43. +++ b/Embedded/src/EDMA/Makefile
  44. @@ -114,8 +114,8 @@ OUTPUT_PATH ?= /
  45. EXTRA_LDFLAGS += -whole-archive
  46. VERSION_FILE := $(KOBJ)/include/linux/version.h
  47. -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h
  48. -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h
  49. +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h
  50. +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h
  51. # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h
  52. --- a/Embedded/src/GPIO/Makefile
  53. +++ b/Embedded/src/GPIO/Makefile
  54. @@ -97,8 +97,8 @@ OUTPUT_PATH ?= /
  55. EXTRA_LDFLAGS += -whole-archive
  56. VERSION_FILE := $(KOBJ)/include/linux/version.h
  57. -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h
  58. -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h
  59. +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h
  60. +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h
  61. # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h
  62. --- a/Embedded/src/WDT/Makefile
  63. +++ b/Embedded/src/WDT/Makefile
  64. @@ -99,8 +99,8 @@ OUTPUT_PATH ?= /
  65. EXTRA_LDFLAGS += -whole-archive
  66. VERSION_FILE := $(KOBJ)/include/linux/version.h
  67. -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h
  68. -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h
  69. +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h
  70. +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h
  71. # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h