| 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 | |
| 6 | VERSION_FILE := $(KSRC)/include/linux/version.h |
| 7 | -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h |
| 8 | -CONFIG_FILE := $(KSRC)/include/linux/autoconf.h |
| 9 | +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h |
| 10 | +CONFIG_FILE := $(KSRC)/include/generated/autoconf.h |
| 11 | |
| 12 | ifeq (,$(wildcard $(VERSION_FILE))) |
| 13 | $(error Linux kernel source not configured - missing version.h) |
| 14 | endif |
| 15 | |
| 16 | ifeq (,$(wildcard $(CONFIG_FILE))) |
| 17 | - $(error Linux kernel source not configured - missing autoconf.h) |
| 18 | + $(error Linux kernel source not configured - missing autoconf.h) |
| 19 | endif |
| 20 | |
| 21 | ifeq (,$(wildcard $(UTS_REL_FILE))) |
| 22 | - $(error Linux kernel source not configured - missing utsrelease.h) |
| 23 | + $(error Linux kernel source not configured - missing utsrelease.h) |
| 24 | endif |
| 25 | |
| 26 | # set the install path |
| 27 | --- a/Embedded/src/1588/Makefile |
| 28 | +++ b/Embedded/src/1588/Makefile |
| 29 | @@ -97,8 +97,8 @@ OUTPUT_PATH ?= / |
| 30 | EXTRA_LDFLAGS += -whole-archive |
| 31 | |
| 32 | VERSION_FILE := $(KOBJ)/include/linux/version.h |
| 33 | -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h |
| 34 | -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h |
| 35 | +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h |
| 36 | +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h |
| 37 | |
| 38 | |
| 39 | # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h |
| 40 | --- a/Embedded/src/CAN/Makefile |
| 41 | +++ b/Embedded/src/CAN/Makefile |
| 42 | @@ -100,8 +100,8 @@ OUTPUT_PATH ?= / |
| 43 | EXTRA_LDFLAGS += -whole-archive |
| 44 | |
| 45 | VERSION_FILE := $(KOBJ)/include/linux/version.h |
| 46 | -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h |
| 47 | -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h |
| 48 | +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h |
| 49 | +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h |
| 50 | |
| 51 | |
| 52 | # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h |
| 53 | --- a/Embedded/src/EDMA/Makefile |
| 54 | +++ b/Embedded/src/EDMA/Makefile |
| 55 | @@ -114,8 +114,8 @@ OUTPUT_PATH ?= / |
| 56 | EXTRA_LDFLAGS += -whole-archive |
| 57 | |
| 58 | VERSION_FILE := $(KOBJ)/include/linux/version.h |
| 59 | -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h |
| 60 | -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h |
| 61 | +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h |
| 62 | +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h |
| 63 | |
| 64 | |
| 65 | # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h |
| 66 | --- a/Embedded/src/GPIO/Makefile |
| 67 | +++ b/Embedded/src/GPIO/Makefile |
| 68 | @@ -97,8 +97,8 @@ OUTPUT_PATH ?= / |
| 69 | EXTRA_LDFLAGS += -whole-archive |
| 70 | |
| 71 | VERSION_FILE := $(KOBJ)/include/linux/version.h |
| 72 | -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h |
| 73 | -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h |
| 74 | +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h |
| 75 | +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h |
| 76 | |
| 77 | |
| 78 | # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h |
| 79 | --- a/Embedded/src/WDT/Makefile |
| 80 | +++ b/Embedded/src/WDT/Makefile |
| 81 | @@ -99,8 +99,8 @@ OUTPUT_PATH ?= / |
| 82 | EXTRA_LDFLAGS += -whole-archive |
| 83 | |
| 84 | VERSION_FILE := $(KOBJ)/include/linux/version.h |
| 85 | -UTS_REL_FILE := $(KSRC)/include/linux/utsrelease.h |
| 86 | -CONFIG_FILE := $(KOBJ)/include/linux/autoconf.h |
| 87 | +UTS_REL_FILE := $(KSRC)/include/generated/utsrelease.h |
| 88 | +CONFIG_FILE := $(KOBJ)/include/generated/autoconf.h |
| 89 | |
| 90 | |
| 91 | # as of 2.6.16, kernel define UTS_RELEASE has been moved to utsrelease.h |
| 92 | |