[Galaxy Tab 4 General] SimpTheChimp:
OK I am using Sub77's Sub77-CM14 android_kernel_samsung_msm8226 repository, but the cm-14.1 branch of it.

When I try to compile a milletwifi compile, here is what I get:

$ make -C $(pwd) O=output cyanogenmod_milletwifi_defconfig

make: Entering directory '/home/tom/android/lineageos/android_kernel_samsung_msm8226'

HOSTCC scripts/basic/fixdep

GEN /home/tom/android/lineageos/android_kernel_samsung_msm8226/output/Makefile

HOSTCC scripts/kconfig/conf.o

SHIPPED scripts/kconfig/zconf.tab.c

SHIPPED scripts/kconfig/zconf.lex.c

SHIPPED scripts/kconfig/zconf.hash.c

HOSTCC scripts/kconfig/zconf.tab.o

HOSTLD scripts/kconfig/conf

sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'

sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'

boolean symbol SND_SOC_MAX98506 tested for 'm'? test forced to 'n'

sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group

sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group

warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)

KCONFIG_SELINUX((null))

KCONFIG_LOG_SELINUX((null))

KCONFIG_TIMA((null))

KCONFIG_VARIANT((null))

KCONFIG_DEBUG((null))

warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)

#

# configuration written to .config

#

make: Leaving directory '/home/tom/android/lineageos/android_kernel_samsung_msm8226'

tom@android-VirtualBox:~/android/lineageos/android_kernel_samsung_msm8226$ sudo make -j64 -C $(pwd) O=output

make: Entering directory '/home/tom/android/lineageos/android_kernel_samsung_msm8226'

scripts/kconfig/conf --silentoldconfig Kconfig

sound/soc/codecs/audience/Kconfig:40:warning: type of 'SND_SOC_ES_SLIM' redefined from 'boolean' to 'tristate'

sound/soc/codecs/audience/Kconfig:43:warning: type of 'SND_SOC_ES_I2C' redefined from 'boolean' to 'tristate'

boolean symbol SND_SOC_MAX98506 tested for 'm'? test forced to 'n'

sound/soc/codecs/audience/Kconfig:44:warning: choice value used outside its choice group

sound/soc/codecs/audience/Kconfig:41:warning: choice value used outside its choice group

warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)

warning: (SND_SOC_MSM8226) selects DOLBY_DAP which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_MSM8974)

WRAP arch/arm/include/generated/asm/bitsperlong.h

WRAP arch/arm/include/generated/asm/auxvec.h

WRAP arch/arm/include/generated/asm/cputime.h

WRAP arch/arm/include/generated/asm/emergency-restart.h

WRAP arch/arm/include/generated/asm/errno.h

WRAP arch/arm/include/generated/asm/ioctl.h

WRAP arch/arm/include/generated/asm/irq_regs.h

WRAP arch/arm/include/generated/asm/local.h

WRAP arch/arm/include/generated/asm/kdebug.h

CHK include/linux/version.h

WRAP arch/arm/include/generated/asm/local64.h

WRAP arch/arm/include/generated/asm/percpu.h

WRAP arch/arm/include/generated/asm/poll.h

UPD include/linux/version.h

WRAP arch/arm/include/generated/asm/resource.h

WRAP arch/arm/include/generated/asm/sections.h

WRAP arch/arm/include/generated/asm/siginfo.h

WRAP arch/arm/include/generated/asm/sizes.h

Using /home/tom/android/lineageos/android_kernel_samsung_msm8226 as source for kernel

CHK include/generated/utsrelease.h

UPD include/generated/utsrelease.h

HOSTCC scripts/kallsyms

HOSTCC scripts/bin2c

HOSTCC scripts/dtc/checks.o

HOSTCC scripts/dtc/data.o

SHIPPED scripts/dtc/dtc-lexer.lex.c

CC scripts/mod/empty.o

SHIPPED scripts/dtc/dtc-parser.tab.h

HOSTCC scripts/mod/mk_elfconfig

SHIPPED scripts/dtc/dtc-parser.tab.c

HOSTCC scripts/dtc/dtc.o

HOSTCC scripts/dtc/flattree.o

HOSTCC scripts/dtc/fstree.o

HOSTCC scripts/dtc/livetree.o

HOSTCC scripts/selinux/genheaders/genheaders

HOSTCC scripts/selinux/mdp/mdp

HOSTCC scripts/dtc/srcpos.o

HOSTCC scripts/dtc/treesource.o

HOSTCC scripts/dtc/util.o

Generating include/generated/mach-types.h

gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’

gcc: note: valid arguments to ‘-mabi=’ are: ms sysv

gcc: error: unrecognized command line option ‘-mlittle-endian’

gcc: error: unrecognized command line option ‘-mno-thumb-interwork’

/home/tom/android/lineageos/android_kernel_samsung_msm8226/scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed

make[3]: *** [scripts/mod/empty.o] Error 1

make[3]: *** Waiting for unfinished jobs....

CC kernel/bounds.s

gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’

gcc: note: valid arguments to ‘-mabi=’ are: ms sysv

gcc: error: unrecognized command line option ‘-mlittle-endian’

gcc: error: unrecognized command line option ‘-mno-thumb-interwork’

/home/tom/android/lineageos/android_kernel_samsung_msm8226/./Kbuild:35: recipe for target 'kernel/bounds.s' failed

make[2]: *** [kernel/bounds.s] Error 1

/home/tom/android/lineageos/android_kernel_samsung_msm8226/Makefile:999: recipe for target 'prepare0' failed

make[1]: *** [prepare0] Error 2

make[1]: *** Waiting for unfinished jobs....

HOSTCC scripts/dtc/dtc-lexer.lex.o

HOSTCC scripts/dtc/dtc-parser.tab.o

/home/tom/android/lineageos/android_kernel_samsung_msm8226/scripts/Makefile.build:443: recipe for target 'scripts/mod' failed

make[2]: *** [scripts/mod] Error 2

make[2]: *** Waiting for unfinished jobs....

HOSTLD scripts/dtc/dtc

/home/tom/android/lineageos/android_kernel_samsung_msm8226/Makefile:515: recipe for target 'scripts' failed

make[1]: *** [scripts] Error 2

Makefile:130: recipe for target 'sub-make' failed

make: *** [sub-make] Error 2

make: Leaving directory '/home/tom/android/lineageos/android_kernel_samsung_msm8226'

Ideas?