[Samsung Galaxy Mega] philicibine:
Trying this myself... need help

Hello all.... as this seems to have died off.. i thought i would give it a try myself.

i am using graraks device tree as well as some of the msm8930 stuff from the s4 mini.

my issue is building the kernel. CM source now tries to build the kernel from source, so i have placed the source i downloaded from samsung in the /kernel/samsung/msm8930-common folder but the cm source refuses to compile it. It always tries to use a prebuilt kernel (which i dont have).

Also, building the kernel straight from the sammy source also errors out. Not sure what im doing wrong here.

here is what is happening with my build .. would appreciate some input.

Checking build tools versions...
find: ‘../../../hardware/samsung/cmhw’: No such file or directory
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/copybit_priv.h'
build/core/Makefile:44: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/lib/libril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/lib/libril.so'
PRODUCT_COPY_FILES vendor/samsung/melius-common/proprietary/vendor/firmware/bcm2079xB4_firmware.ncd:system/vendor/firmware/bcm2079xB4_firmware.ncd ignored.
PRODUCT_COPY_FILES vendor/samsung/melius-common/proprietary/vendor/firmware/bcm2079xB4_pre_firmware.ncd:system/vendor/firmware/bcm2079xB4_pre_firmware.ncd ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/bin/rild'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/bin/rild'
build/core/Makefile:44: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/lib/libreference-ril.so'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/lib/libreference-ril.so'
build/core/Makefile:44: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/etc/wifi/wpa_supplicant.conf'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/etc/wifi/wpa_supplicant.conf'
build/core/Makefile:44: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/etc/permissions/android.software.live_wallpaper.xml'
PRODUCT_COPY_FILES device/samsung/msm8930-common/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl ignored.
PRODUCT_COPY_FILES device/samsung/msm8930-common/keylayout/Generic.kl:system/usr/keylayout/Generic.kl ignored.
build/core/Makefile:44: warning: overriding commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/etc/mkshrc'
build/core/base_rules.mk:520: warning: ignoring old commands for target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/system/etc/mkshrc'
No private recovery resources for TARGET_DEVICE meliusltexx
build/core/tasks/kernel.mk:56: ***************************************************************
build/core/tasks/kernel.mk:57: * Using prebuilt kernel binary instead of source *
build/core/tasks/kernel.mk:58: * THIS IS DEPRECATED, AND WILL BE DISCONTINUED *
build/core/tasks/kernel.mk:59: * Please configure your device to download the kernel *
build/core/tasks/kernel.mk:60: * source repository to kernel/samsung/msm8930-common
build/core/tasks/kernel.mk:61: * See http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
build/core/tasks/kernel.mk:62: * for more information *
build/core/tasks/kernel.mk:63: ***************************************************************
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//LocApiAdapter.h
Export includes file: system/core/libmincrypt/Android.mk -- /home/phil/android/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/export_includes
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng_xtra.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng_ni.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng_agps.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng_msg.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng_msg_id.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_eng_log.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libloc_eng//loc_ulp.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//loc_log.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//loc_cfg.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//log_util.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//linked_list.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//msg_q.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//loc_target.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/gps.utils//loc_timer.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/libexpat/expat.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/libexpat/expat_external.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libexpat/expat.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libexpat/expat_external.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/libpng/png.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/libpng/pngconf.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/libpng/pngusr.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libpng/png.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libpng/pngconf.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libpng/pngusr.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/selinux/selinux.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/selinux/label.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/selinux/context.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/selinux/avc.h
Header: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/include/selinux/android.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/selinux/selinux.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/selinux/label.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/selinux/context.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/selinux/avc.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/selinux/android.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libsonivox/eas.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libsonivox/eas_types.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libsonivox/eas_reverb.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libsonivox/jet.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libsonivox/ARM_synth_constants_gnu.inc
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/libwpa_client/wpa_ctrl.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/clnt.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/pmap_clnt.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/rpc.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/rpc_router_ioctl.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/svc.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/types.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/librpc/rpc/xdr.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-audio/libalsa-intf/alsa_audio.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-audio/libalsa-intf/alsa_ucm.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-audio/libalsa-intf/msm8960_use_cases.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/gralloc_priv.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/copybit.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/copybit_priv.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/qdMetaData.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/IQService.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/qcom/display/IQClient.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Audio.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Component.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_ContentPipe.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Core.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Image.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Index.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_IVCommon.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Other.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_QCOMExtns.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Types.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_Video.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/qc_omx_common.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/qc_omx_component.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/qc_omx_msg.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_AudioExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_AudioIndexExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_CoreExt.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_CoreExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_FileFormatExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_IVCommonExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_SourceExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_VideoExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/OMX_IndexExt.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QOMX_StreamingExtensions.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QCMediaDefs.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-core/omxcore/QCMetaData.h
Header: /home/phil/android/cyanogenmod/out/target/product/meliusltexx/obj/include/mm-video/DivxDrmDecrypt/DivXDrmDecrypt.h
Import includes file: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/import_includes
Export includes file: system/core/mkbootimg/Android.mk -- /home/phil/android/cyanogenmod/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/export_includes
Export includes file: build/libs/host/Android.mk -- /home/phil/android/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/export_includes
Import includes file: /home/phil/android/cyanogenmod/out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/import_includes
Export includes file: build/tools/acp/Android.mk -- /home/phil/android/cyanogenmod/out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/export_includes
make: *** No rule to make target `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/kernel', needed by `/home/phil/android/cyanogenmod/out/target/product/meliusltexx/boot.img'Notice file: system/core/libmincrypt/NOTICE -- /home/phil/android/cyanogenmod/out/host/linux-x86/obj/NOTICE_FILES/src//lib/libmincrypt.a.txt
. Stop.
make: *** Waiting for unfinished jobs....