Skip to contentSkip to conversation

kbuild: fix external modules build

PATCH In review Gaël UTARD 2 participants 2 messages Jan 5, 2006 – Jan 6, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

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.

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)
 
#1 lore raw
Quoted 3 lines · Ga?l UTARD

The patch 2dd34b488a99135ad2a529e33087ddd6a09e992a breaks external modules build since include/linux/autoconf.h is 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