From: Hauke Mehrtens Date: Sun, 6 Jul 2014 22:34:24 +0000 (+0000) Subject: kernel: do not build kernel modules by default X-Git-Tag: reboot~6628 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e63318d6d57fb7ed25f1d125bcc09b7b489ee2ae;p=openwrt%2Fstaging%2Fxback.git kernel: do not build kernel modules by default No config option should be set to m in the default config, because there is also some script needed which picks the module up into the image and that is missing this way. Always create a kmod when building a module. Signed-off-by: Hauke Mehrtens SVN-Revision: 41539 --- diff --git a/target/linux/au1000/config-3.10 b/target/linux/au1000/config-3.10 index c5c79f2b1e..3cd5b35dba 100644 --- a/target/linux/au1000/config-3.10 +++ b/target/linux/au1000/config-3.10 @@ -27,11 +27,9 @@ CONFIG_CPU_R4K_CACHE_TLB=y CONFIG_CPU_R4K_FPU=y CONFIG_CPU_SUPPORTS_32BIT_KERNEL=y CONFIG_CPU_SUPPORTS_HIGHMEM=y -CONFIG_CRAMFS=m CONFIG_CRC16=y CONFIG_CSRC_R4K=y CONFIG_DMA_NONCOHERENT=y -CONFIG_DUMMY=m CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y @@ -80,13 +78,6 @@ CONFIG_HZ=250 # CONFIG_HZ_100 is not set CONFIG_HZ_250=y CONFIG_HZ_PERIODIC=y -CONFIG_I2C=m -CONFIG_I2C_ALGOBIT=m -CONFIG_I2C_ALGOPCA=m -CONFIG_I2C_ALGOPCF=m -# CONFIG_I2C_AU1550 is not set -CONFIG_I2C_BOARDINFO=y -CONFIG_I2C_CHARDEV=m CONFIG_INITRAMFS_SOURCE="" CONFIG_IRQ_CPU=y CONFIG_IRQ_FORCED_THREADING=y @@ -127,9 +118,7 @@ CONFIG_PHYS_ADDR_T_64BIT=y # CONFIG_RCU_STALL_COMMON is not set # CONFIG_SCSI_DMA is not set CONFIG_SERIAL_8250_NR_UARTS=4 -CONFIG_SERIAL_8250_PCI=m CONFIG_SERIAL_8250_RUNTIME_UARTS=4 -CONFIG_SOFT_WATCHDOG=m # CONFIG_STANDALONE is not set CONFIG_SYS_HAS_CPU_MIPS32_R1=y CONFIG_SYS_HAS_EARLY_PRINTK=y @@ -144,5 +133,4 @@ CONFIG_UIDGID_CONVERTED=y CONFIG_USB_ARCH_HAS_XHCI=y CONFIG_USB_SUPPORT=y CONFIG_WATCHDOG_CORE=y -CONFIG_ZLIB_INFLATE=m CONFIG_ZONE_DMA_FLAG=0 diff --git a/target/linux/gemini/config-3.10 b/target/linux/gemini/config-3.10 index c980e6f5ef..36f39f0968 100644 --- a/target/linux/gemini/config-3.10 +++ b/target/linux/gemini/config-3.10 @@ -16,7 +16,6 @@ CONFIG_ARM_L1_CACHE_SHIFT=5 CONFIG_ARM_NR_BANKS=8 CONFIG_ARM_PATCH_PHYS_VIRT=y # CONFIG_ARPD is not set -CONFIG_ATA=m CONFIG_ATAGS=y # CONFIG_CACHE_L2X0 is not set CONFIG_CC_OPTIMIZE_FOR_SIZE=y @@ -39,12 +38,9 @@ CONFIG_CPU_TLB_FA=y CONFIG_CPU_USE_DOMAINS=y CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" # CONFIG_DEBUG_USER is not set -CONFIG_DLCI=m -CONFIG_DLCI_MAX=8 +# CONFIG_DLCI is not set CONFIG_DMADEVICES=y CONFIG_DNOTIFY=y -# CONFIG_DSCC4 is not set -# CONFIG_FARSYNC is not set CONFIG_FRAME_POINTER=y CONFIG_GEMINI_MEM_SWAP=y CONFIG_GEMINI_NET_ENGINE_GMAC=y @@ -101,11 +97,6 @@ CONFIG_HAVE_PROC_CPU=y CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y CONFIG_HAVE_SYSCALL_TRACEPOINTS=y CONFIG_HAVE_UID16=y -CONFIG_HDLC=m -CONFIG_HDLC_CISCO=m -CONFIG_HDLC_FR=m -CONFIG_HDLC_PPP=m -CONFIG_HDLC_RAW=m CONFIG_HWMON=y CONFIG_HW_RANDOM=y CONFIG_I2C=y @@ -133,7 +124,6 @@ CONFIG_NEED_DMA_MAP_STATE=y CONFIG_NEED_KUSER_HELPERS=y CONFIG_NEED_MACH_GPIO_H=y CONFIG_NEED_PER_CPU_KM=y -CONFIG_NLS=m CONFIG_OLD_SIGACTION=y CONFIG_OLD_SIGSUSPEND3=y CONFIG_PAGEFLAGS_EXTENDED=y @@ -144,21 +134,15 @@ CONFIG_PHYLIB=y # CONFIG_PREEMPT_RCU is not set # CONFIG_RCU_STALL_COMMON is not set # CONFIG_SCHED_HRTICK is not set -CONFIG_SCSI=m -CONFIG_SCSI_MOD=m -# CONFIG_SCSI_MULTI_LUN is not set +# CONFIG_SCSI_DMA is not set CONFIG_SPLIT_PTLOCK_CPUS=999999 CONFIG_SYS_SUPPORTS_APM_EMULATION=y CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_UID16=y CONFIG_UIDGID_CONVERTED=y CONFIG_UNCOMPRESS_INCLUDE="mach/uncompress.h" -CONFIG_USB=m CONFIG_USB_ARCH_HAS_XHCI=y -CONFIG_USB_COMMON=m -# CONFIG_USB_EHCI_HCD is not set CONFIG_USB_SUPPORT=y -# CONFIG_USB_UHCI_HCD is not set CONFIG_VECTORS_BASE=0xffff0000 CONFIG_VM_EVENT_COUNTERS=y CONFIG_WAN=y diff --git a/target/linux/mpc52xx/config-3.10 b/target/linux/mpc52xx/config-3.10 index d0a891cd10..5cb5aeee25 100644 --- a/target/linux/mpc52xx/config-3.10 +++ b/target/linux/mpc52xx/config-3.10 @@ -281,7 +281,6 @@ CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_UIDGID_CONVERTED=y CONFIG_USB_ARCH_HAS_XHCI=y CONFIG_USB_SUPPORT=y -CONFIG_VIDEO_OUTPUT_CONTROL=m # CONFIG_VLAN_8021Q is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_WATCHDOG_NOWAYOUT=y diff --git a/target/linux/mpc83xx/config-3.10 b/target/linux/mpc83xx/config-3.10 index f0303ff322..bb4cdcb7e2 100644 --- a/target/linux/mpc83xx/config-3.10 +++ b/target/linux/mpc83xx/config-3.10 @@ -35,12 +35,7 @@ CONFIG_CLONE_BACKWARDS=y CONFIG_CMDLINE="console=ttyS0,115200 rootfstype=squashfs,yaffs2,jffs2" CONFIG_CMDLINE_BOOL=y CONFIG_COMPAT_BRK=y -CONFIG_CONFIGFS_FS=m -CONFIG_CRC16=m -CONFIG_CRC7=m CONFIG_CRC_CCITT=y -CONFIG_CRC_ITU_T=m -CONFIG_CRC_T10DIF=m CONFIG_CRYPTO_AEAD=y CONFIG_CRYPTO_AEAD2=y CONFIG_CRYPTO_AUTHENC=y @@ -48,19 +43,13 @@ CONFIG_CRYPTO_BLKCIPHER=y CONFIG_CRYPTO_BLKCIPHER2=y CONFIG_CRYPTO_CBC=y CONFIG_CRYPTO_CRC32C=y -CONFIG_CRYPTO_DEFLATE=m -CONFIG_CRYPTO_DES=m CONFIG_CRYPTO_DEV_TALITOS=y -CONFIG_CRYPTO_GF128MUL=m CONFIG_CRYPTO_HASH=y CONFIG_CRYPTO_HASH2=y -CONFIG_CRYPTO_HMAC=m CONFIG_CRYPTO_HW=y CONFIG_CRYPTO_MANAGER=y CONFIG_CRYPTO_MANAGER2=y -CONFIG_CRYPTO_MD5=m CONFIG_CRYPTO_RNG2=y -CONFIG_CRYPTO_SHA1=m # CONFIG_CRYPTO_SHA1_PPC is not set CONFIG_CRYPTO_WORKQUEUE=y CONFIG_DEFAULT_CFQ=y @@ -150,17 +139,7 @@ CONFIG_HZ=250 # CONFIG_HZ_100 is not set CONFIG_HZ_250=y CONFIG_HZ_PERIODIC=y -CONFIG_INET_AH=m -CONFIG_INET_DIAG=m -CONFIG_INET_ESP=m -CONFIG_INET_IPCOMP=m CONFIG_INET_LRO=y -CONFIG_INET_TCP_DIAG=m -CONFIG_INET_TUNNEL=m -CONFIG_INET_XFRM_MODE_BEET=m -CONFIG_INET_XFRM_MODE_TRANSPORT=m -CONFIG_INET_XFRM_MODE_TUNNEL=m -CONFIG_INET_XFRM_TUNNEL=m CONFIG_INITRAMFS_SOURCE="" CONFIG_INPUT=y # CONFIG_INPUT_MISC is not set @@ -169,8 +148,6 @@ CONFIG_IOSCHED_CFQ=y CONFIG_IPIC=y CONFIG_IP_PIMSM_V1=y CONFIG_IP_PIMSM_V2=y -CONFIG_IP_ROUTE_CLASSID=y -CONFIG_IP_SCTP=m CONFIG_IRQCHIP=y CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_FORCED_THREADING=y @@ -230,33 +207,7 @@ CONFIG_MTD_UBI_WL_THRESHOLD=4096 # CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK is not set CONFIG_NEED_PER_CPU_KM=y CONFIG_NEED_SG_DMA_LENGTH=y -CONFIG_NET_CLS_BASIC=m -CONFIG_NET_CLS_FLOW=m -CONFIG_NET_CLS_FW=m -CONFIG_NET_CLS_ROUTE4=m -CONFIG_NET_CLS_RSVP=m -CONFIG_NET_CLS_RSVP6=m -CONFIG_NET_CLS_TCINDEX=m -CONFIG_NET_CLS_U32=m CONFIG_NET_EMATCH=y -CONFIG_NET_EMATCH_CMP=m -CONFIG_NET_EMATCH_META=m -CONFIG_NET_EMATCH_NBYTE=m -CONFIG_NET_EMATCH_TEXT=m -CONFIG_NET_EMATCH_U32=m -CONFIG_NET_IPIP=m -CONFIG_NET_IP_TUNNEL=m -CONFIG_NET_SCH_CBQ=m -CONFIG_NET_SCH_DSMARK=m -CONFIG_NET_SCH_GRED=m -CONFIG_NET_SCH_HFSC=m -CONFIG_NET_SCH_HTB=m -CONFIG_NET_SCH_NETEM=m -CONFIG_NET_SCH_PRIO=m -CONFIG_NET_SCH_RED=m -CONFIG_NET_SCH_SFQ=m -CONFIG_NET_SCH_TBF=m -CONFIG_NET_SCH_TEQL=m # CONFIG_NONSTATIC_KERNEL is not set CONFIG_NR_IRQS=512 CONFIG_OF=y @@ -350,13 +301,6 @@ CONFIG_SCSI=y # CONFIG_SCSI_LOWLEVEL is not set # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_PROC_FS is not set -CONFIG_SCTP_COOKIE_HMAC_MD5=y -# CONFIG_SCTP_COOKIE_HMAC_SHA1 is not set -# CONFIG_SCTP_DBG_MSG is not set -# CONFIG_SCTP_DBG_OBJCNT is not set -CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5=y -# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE is not set -# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not set CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_8250_PCI=y CONFIG_SERIAL_QE=y @@ -370,7 +314,6 @@ CONFIG_SERIO_SERPORT=y CONFIG_SIMPLE_GPIO=y # CONFIG_SLAB is not set CONFIG_SLOB=y -CONFIG_SOCK_DIAG=y CONFIG_SPARSE_IRQ=y CONFIG_SPI=y CONFIG_SPI_MASTER=y @@ -379,9 +322,6 @@ CONFIG_SPI_MASTER=y CONFIG_SYSCTL_EXCEPTION_TRACE=y CONFIG_TASK_SIZE=0xc0000000 # CONFIG_TAU is not set -CONFIG_TEXTSEARCH_BM=m -CONFIG_TEXTSEARCH_FSM=m -CONFIG_TEXTSEARCH_KMP=m CONFIG_TICK_CPU_ACCOUNTING=y CONFIG_TMPFS_POSIX_ACL=y # CONFIG_UBIFS_FS is not set @@ -397,8 +337,6 @@ CONFIG_VIA_VELOCITY=y CONFIG_VITESSE_PHY=y CONFIG_VITESSE_PHY_8601_SKEW=y CONFIG_WORD_SIZE=32 -CONFIG_XFRM_ALGO=m -CONFIG_XFRM_IPCOMP=m CONFIG_XZ_DEC_BCJ=y CONFIG_XZ_DEC_POWERPC=y CONFIG_YAFFS_9BYTE_TAGS=y