|
@@ -329,7 +329,8 @@ AFLAGS_KERNEL =
|
|
|
# Needed to be compatible with the O= option
|
|
|
LINUXINCLUDE := -Iinclude \
|
|
|
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
|
|
- -include include/linux/autoconf.h
|
|
|
+ -I$(srctree)/arch/$(hdr-arch)/include \
|
|
|
+ -include include/linux/autoconf.h
|
|
|
|
|
|
KBUILD_CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
|
|
|
|