X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=Makefile;h=878d7aa3d2dd651651dc90d18fd2d765e4f2d5c8;hb=c207a76bf155cb5cf24cf849c08f6555e9180594;hp=d3528f6aa9388343bc0acbbd729815e13c80c08f;hpb=149b306089b88e186942a8d6647028ae6683aaf9;p=~andy%2Flinux diff --git a/Makefile b/Makefile index d3528f6aa93..878d7aa3d2d 100644 --- a/Makefile +++ b/Makefile @@ -571,7 +571,7 @@ endif # $(dot-config) all: vmlinux ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE -KBUILD_CFLAGS += -Os +KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) else KBUILD_CFLAGS += -O2 endif @@ -1399,7 +1399,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)) # Run depmod only if we have System.map and depmod is executable quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) cmd_depmod = $(CONFIG_SHELL) $(srctree)/scripts/depmod.sh $(DEPMOD) \ - $(KERNELRELEASE) "$(patsubst "%",%,$(CONFIG_SYMBOL_PREFIX))" + $(KERNELRELEASE) "$(patsubst y,_,$(CONFIG_HAVE_UNDERSCORE_SYMBOL_PREFIX))" # Create temporary dir for module support files # clean it up only when building all modules