kbuild: fix external modules build
PATCH 1/1 kbuild: fix external modules build
The patch 2dd34b488a99135ad2a529e33087ddd6a09e992a breaks external modules build since include/linux/autoconf.h is not found in the header files directories.
Signed-off-by Gaël Utard <[email protected]>
Makefile renamed from Makefile.orig +1 -1
@@ -348,7 +348,7 @@ # Needed to be compatible with the O= option LINUXINCLUDE := -Iinclude \ $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \ - -include include/linux/autoconf.h + -include linux/autoconf.h CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
Quoted 3 lines · Ga?l UTARD
The patch
2dd34b488a99135ad2a529e33087ddd6a09e992abreaks external modules build sinceinclude/linux/autoconf.his not found in the header files directories.
Hi Gael.
Can you please elaborate a little more of what error you see (show output of make with V=1 option.
Also try to show the directory structure you use.
Reason for this is that is works for me - so please let me know what you exactly try to fix.
Thanks,
Sam