[LG Optimus 2x] Wolf80:
I retried again with brunch p990 and it worked for a very little time,there are the lines I got now:

including vendor/cm/vendorsetup.sh
Looking for dependencies

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.1
TARGET_PRODUCT=cm_p990
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JOP40D
OUT_DIR=/home/alessandro//cm10.1
============================================

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.2.1
TARGET_PRODUCT=cm_p990
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.5.0-17-generic-x86_64-with-Ubuntu-12.10-quantal
HOST_BUILD_TYPE=release
BUILD_ID=JOP40D
OUT_DIR=/home/alessandro//cm10.1
============================================
find: `src': No such file or directory
build/core/base_rules.mk:525: system/core/mkbootimg/Android.mk: Module "unpackbootimg" has useless module tags: eng. It will be installed anyway.
No private recovery resources for TARGET_DEVICE p990
make -C kernel/lge/star O=/home/alessandro//cm10.1/target/product/p990/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" /home/alessandro/cm10.1/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-" cyanogenmod_p990_defconfig
host Executable: mkbootimg (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg)
host Executable: acp (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
host Executable: clang-tblgen (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/clang-tblgen_intermediates/clang-tblgen)
make[1]: Entering directory `/home/alessandro/cm10.1/kernel/lge/star'
host Executable: tblgen (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/tblgen_intermediates/tblgen)
preparing StaticLib: libc_common [including /home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libbionic_ssp_intermediates/libbionic_ssp.a]
preparing StaticLib: libc_common [including /home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libc_netbsd_intermediates/libc_netbsd.a]
target StaticLib: libc_common (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a)
GEN /home/alessandro/cm10.1/target/product/p990/obj/KERNEL_OBJ/Makefile
host Executable: minigzip (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/minigzip_intermediates/minigzip)
target StaticLib: libext2fs (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libext2fs_intermediates/libext2fs.a)
target StaticLib: libedify (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libedify_intermediates/libedify.a)
target StaticLib: libbusybox (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libbusybox_intermediates/libbusybox.a)
arch/arm/mach-tegra/lge/bssq/Kconfig:234:warning: leading whitespace ignored
arch/arm/mach-tegra/lge/star/Kconfig:56:warning: leading whitespace ignored
arch/arm/mach-tegra/lge/star/Kconfig:101:warning: leading whitespace ignored
arch/arm/mach-tegra/lge/star/Kconfig:180:warning: leading whitespace ignored
arch/arm/mach-tegra/lge/star/Kconfig:183:warning: leading whitespace ignored
#
# configuration written to .config
#
make[1]: Leaving directory `/home/alessandro/cm10.1/kernel/lge/star'
host Executable: aapt (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/aapt)
host SharedLib: libcorkscrew (/home/alessandro//cm10.1/host/linux-x86/obj/lib/libcorkscrew.so)
host SharedLib: libssl (/home/alessandro//cm10.1/host/linux-x86/obj/lib/libssl.so)
target SharedLib: libjni_latinime (/home/alessandro//cm10.1/target/product/p990/obj/SHARED_LIBRARIES/libjni_latinime_intermediates/LINKED/libjni_latinime.so)
host SharedLib: libESR_Shared (/home/alessandro//cm10.1/host/linux-x86/obj/lib/libESR_Shared.so)
/home/alessandro/cm10.1/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: warning: shared library text segment is not shareable
host StaticLib: libzipfile (/home/alessandro//cm10.1/host/linux-x86/obj/STATIC_LIBRARIES/libzipfile_intermediates/libzipfile.a)
target Generated: libRS <= frameworks/rs/rsgApiStructs.h.rsg
target Generated: libRS <= frameworks/rs/rsgApiFuncDecl.h.rsg
target Generated: libRS <= frameworks/rs/rsgApi.cpp.rsg
target Generated: libRS <= frameworks/rs/rsgApiReplay.cpp.rsg
target StaticLib: libapplypatch (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libapplypatch_intermediates/libapplypatch.a)
preparing StaticLib: libc_nomalloc [including /home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a]
preparing StaticLib: libfwdlock-converter [including /home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libfwdlock-common_intermediates/libfwdlock-common.a]
preparing StaticLib: libfwdlock-decoder [including /home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libfwdlock-common_intermediates/libfwdlock-common.a]
target StaticLib: libfwdlock-decoder (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libfwdlock-decoder_intermediates/libfwdlock-decoder.a)
target StaticLib: libfwdlock-converter (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libfwdlock-converter_intermediates/libfwdlock-converter.a)
target thumb C++: librs_jni <= frameworks/base/graphics/jni/android_renderscript_RenderScript.cpp
target StaticLib: libskiagpu (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libskiagpu_intermediates/libskiagpu.a)
target StaticLib: libwebrtc_ns (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libwebrtc_ns_intermediates/libwebrtc_ns.a)
host Executable: adb (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/adb_intermediates/adb)
host StaticLib: libext4_utils_host (/home/alessandro//cm10.1/host/linux-x86/obj/STATIC_LIBRARIES/libext4_utils_host_intermediates/libext4_utils_host.a)
host SharedLib: libext2_blkid_host (/home/alessandro//cm10.1/host/linux-x86/obj/lib/libext2_blkid_host.so)
host Executable: bionic-unit-tests-glibc (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/bionic-unit-tests-glibc_intermediates/bionic-unit-tests-glibc)
host Executable: bsdiff (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/bsdiff_intermediates/bsdiff)
host Executable: bspatch (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/bspatch_intermediates/bspatch)
host Executable: checkmodule (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/checkmodule_intermediates/checkmodule)
host Executable: checkpolicy (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/checkpolicy_intermediates/checkpolicy)
host Executable: chkcon (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/chkcon_intermediates/chkcon)
host Executable: cts-usb-accessory (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/cts-usb-accessory_intermediates/cts-usb-accessory)
host Executable: cts_audio_quality (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/cts_audio_quality_intermediates/cts_audio_quality)
host Executable: cts_audio_quality_test (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/cts_audio_quality_test_intermediates/cts_audio_quality_test)
host Executable: elftree (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/elftree_intermediates/elftree)
host Executable: emulator (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/emulator)
host Executable: etc1tool (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/etc1tool_intermediates/etc1tool)
host Executable: ext2simg (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/ext2simg_intermediates/ext2simg)
host Executable: ext4fixup (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/ext4fixup_intermediates/ext4fixup)
host Executable: fastboot (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/fastboot_intermediates/fastboot)
host Executable: glsl_compiler (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/glsl_compiler_intermediates/glsl_compiler)
host Executable: libcorkscrew_test (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/libcorkscrew_test_intermediates/libcorkscrew_test)
host Executable: openssl (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/openssl_intermediates/openssl)
host Executable: perfhost (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/perfhost_intermediates/perfhost)
host Executable: test_algorithm_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_algorithm_host_intermediates/test_algorithm_host)
host Executable: test_char_traits_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_char_traits_host_intermediates/test_char_traits_host)
host Executable: test_functional_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_functional_host_intermediates/test_functional_host)
host Executable: test_iomanip_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_iomanip_host_intermediates/test_iomanip_host)
host Executable: test_ios_base_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_ios_base_host_intermediates/test_ios_base_host)
host Executable: test_ios_pos_types_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_ios_pos_types_host_intermediates/test_ios_pos_types_host)
host Executable: test_iostream_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_iostream_host_intermediates/test_iostream_host)
host Executable: test_iterator_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_iterator_host_intermediates/test_iterator_host)
host Executable: test_limits_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_limits_host_intermediates/test_limits_host)
host Executable: test_list_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_list_host_intermediates/test_list_host)
host Executable: test_memory_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_memory_host_intermediates/test_memory_host)
host Executable: test_set_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_set_host_intermediates/test_set_host)
host Executable: test_sstream_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_sstream_host_intermediates/test_sstream_host)
host Executable: test_streambuf_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_streambuf_host_intermediates/test_streambuf_host)
host Executable: test_string_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_string_host_intermediates/test_string_host)
host Executable: test_type_traits_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_type_traits_host_intermediates/test_type_traits_host)
host Executable: test_uninitialized_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_uninitialized_host_intermediates/test_uninitialized_host)
host Executable: test_vector_host (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_vector_host_intermediates/test_vector_host)
make: *** No rule to make target `vendor/cm/proprietary/Term.apk', needed by `/home/alessandro/cm10.1/target/product/p990/system/app/Term.apk'. Stop.
make: *** Waiting for unfinished jobs....
host Executable: test_zipfile (/home/alessandro//cm10.1/host/linux-x86/obj/EXECUTABLES/test_zipfile_intermediates/test_zipfile)
target StaticLib: libc_nomalloc (/home/alessandro//cm10.1/target/product/p990/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a)