Guest Lеech Posted November 4, 2012 Report Posted November 4, 2012 Hi, I'm going to build kernel for cm10 from this source - https://github.com/parvata/liquid-chocolate-jb. When I chose acer-q8k-a1-dvt_defconfig and started making it, begun such erros - No rule to make target Help me please. And sorry for my horrible english :) .
Guest parvata Posted November 4, 2012 Report Posted November 4, 2012 Hi, I'm going to build kernel for cm10 from this source - https://github.com/p...id-chocolate-jb. When I chose acer-q8k-a1-dvt_defconfig and started making it, begun such erros - No rule to make target Help me please. And sorry for my horrible english :) . Take the cyanogen_salsa_defconfig from the cm9 sources.
Guest Lеech Posted November 5, 2012 Report Posted November 5, 2012 Take the cyanogen_salsa_defconfig from the cm9 sources. I've got this : vova@vova-N68S3B:~/Documents/mydroid_cm/kernel$ make ARCH=arm cyanogenmod_salsa_defconfig drivers/video/Kconfig:2276:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:742:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:752:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:760:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:769:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:797:warning: defaults for choice values not supported # # configuration written to .config # vova@vova-N68S3B:~/Documents/mydroid_cm/kernel$ make ARCH=arm CROSS_COMPILE=arm-eabi- -j4 scripts/kconfig/conf -s arch/arm/Kconfig drivers/video/Kconfig:2276:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:742:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:752:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:760:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:769:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:797:warning: defaults for choice values not supported CHK include/linux/version.h SYMLINK include/asm -> include/asm-arm make[1]: `include/asm-arm/mach-types.h' is up to date. CHK include/linux/utsrelease.h HOSTCC scripts/bin2c CC scripts/mod/empty.o MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o scripts/mod/modpost.c: In function ‘get_markers’: scripts/mod/modpost.c:1542:12: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] scripts/mod/modpost.c: In function ‘add_marker’: scripts/mod/modpost.c:1962:10: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] HOSTLD scripts/mod/modpost CC kernel/bounds.s GEN include/linux/bounds.h CC arch/arm/kernel/asm-offsets.s GEN include/asm/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CC init/main.o CC init/do_mounts.o LD usr/built-in.o arm-eabi-ld: usr/initramfs_data.o: No such file: No such file or directory make[1]: *** [usr/built-in.o] Error 1 make: *** [usr] Error 2 make: *** Waiting for unfinished jobs.... CC init/do_mounts_rd.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/calibrate.o CC init/version.o LD init/mounts.o LD init/built-in.o vova@vova-N68S3B:~/Documents/mydroid_cm/kernel$
Guest parvata Posted November 5, 2012 Report Posted November 5, 2012 (edited) Although you can compile the kernel separately I would recommend you to use the cyanogen framework to compile the kernel. Do ". ./buidl/envestup.sh && brunch salsa" after checking out the cm10 source. Edited November 5, 2012 by parvata
Guest Lеech Posted November 6, 2012 Report Posted November 6, 2012 I was integrated kernel building and nothing was changed : OUT_DIR=/home/vova/mydroid_cm/out ============================================ find: `src': No such file or directory build/core/Makefile:39: warning: overriding commands for target `/home/vova/mydroid_cm/out/target/product/salsa/system/bin/brcm_patchram_plus' build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/vova/mydroid_cm/out/target/product/salsa/system/bin/brcm_patchram_plus' PRODUCT_COPY_FILES frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml ignored. build/core/Makefile:39: warning: overriding commands for target `/home/vova/mydroid_cm/out/target/product/salsa/system/etc/mkshrc' build/core/base_rules.mk:529: warning: ignoring old commands for target `/home/vova/mydroid_cm/out/target/product/salsa/system/etc/mkshrc' No private recovery resources for TARGET_DEVICE salsa make -C kernel/acer/salsa O=/home/vova/mydroid_cm/out/target/product/salsa/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/vova/mydroid_cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" cyanogenmod_salsa_defconfig make[1]: Entering directory `/home/vova/mydroid_cm/kernel/acer/salsa' Target ram disk: /home/vova/mydroid_cm/out/target/product/salsa/ramdisk.img GEN /home/vova/mydroid_cm/out/target/product/salsa/obj/KERNEL_OBJ/Makefile Import includes file: /home/vova/mydroid_cm/out/target/product/salsa/obj/STATIC_LIBRARIES/libloc_api-rpc_intermediates/import_includes drivers/video/Kconfig:2276:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:742:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:752:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:760:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:769:warning: defaults for choice values not supported drivers/usb/gadget/Kconfig:797:warning: defaults for choice values not supported # # configuration written to .config # make[1]: Leaving directory `/home/vova/mydroid_cm/kernel/acer/salsa' Install: external/bash/etc/bash_logout -> /home/vova/mydroid_cm/out/target/product/salsa/system/etc/bash/ Install: external/bash/etc/bashrc -> /home/vova/mydroid_cm/out/target/product/salsa/system/etc/bash/ Install: external/vim/runtime/colors/blue.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/darkblue.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/default.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/delek.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/desert.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/elflord.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/evening.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/koehler.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/morning.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/murphy.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/pablo.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/peachpuff.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/ron.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/shine.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/slate.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/torte.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/colors/zellner.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/filetype.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/ftoff.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/indent.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/indoff.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Install: external/vim/runtime/scripts.vim -> /home/vova/mydroid_cm/out/target/product/salsa/system/usr/share/vim/ Target userdata fs image: /home/vova/mydroid_cm/out/target/product/salsa/userdata.img make -C kernel/acer/salsa O=/home/vova/mydroid_cm/out/target/product/salsa/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/vova/mydroid_cm/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" headers_install make[1]: Entering directory `/home/vova/mydroid_cm/kernel/acer/salsa' Running: mkyaffs2image -f /home/vova/mydroid_cm/out/target/product/salsa/data /home/vova/mydroid_cm/out/target/product/salsa/userdata.img /home/vova/mydroid_cm/out/target/product/salsa/userdata.img maxsize=214106112 blocksize=4224 total=2112 reserve=2162688 Install system fs image: /home/vova/mydroid_cm/out/target/product/salsa/system.img CHK include/linux/version.h make[3]: `scripts/unifdef' is up to date. make[5]: *** No rule to make target `/home/vova/mydroid_cm/kernel/acer/salsa/include/linux/netfilter/xt_DSCP.h', needed by `/home/vova/mydroid_cm/out/target/product/salsa/obj/KERNEL_OBJ/usr/include/linux/netfilter/.install'. Stop. make[4]: *** [netfilter] Error 2 make[3]: *** [linux] Error 2 make[2]: *** [headers_install] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/home/vova/mydroid_cm/kernel/acer/salsa' make: *** [/home/vova/mydroid_cm/out/target/product/salsa/obj/KERNEL_OBJ/usr] Error 2 make: *** Waiting for unfinished jobs.... vova@vova-N68S3B:~/mydroid_cm$
Guest parvata Posted November 6, 2012 Report Posted November 6, 2012 (edited) Did you check if the missing file is there or not? Otherwise use the kernel I used when I compiled cm10. It can be accessed from https://github.com/parvata/liquid-chocolate-jb Note that there are some changes in the android source too that you need to make. But probably try to compile the kernel first. On subsequent compilations you can simply use the command "make bootimage" to only compile the kernel and nothing else. Edited November 6, 2012 by parvata
Guest Lеech Posted December 15, 2012 Report Posted December 15, 2012 The outcome is same :( . Can you post here all steps of building it for CyanogenMod 10 ?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now