Hi,
I just started building cyanogenmod from source, initially to use as an AVD, later on maybe I also do something for my NexusOne.
I have been able to find how to enable a few things I wanted to change, however I am unable to include new files or to modify the system.prop (or build.prop).
I am building on OSX, for the generic target.
The procedure I follow is this:
cd ~/android/system
. ./build/envsetup.sh && lunch cyanogen_generic-eng && mka
I've tried a few different ways to include my modifications, using:
- vendor/cyanogen/products/common.mk
- vendor/cyanogen/products/cyanogen_generic.mk
- build/target/board/generic/system.prop
- copying vendor/cyanogen/products/cyanogen_generic.mk to both ~/android/system/buildspec.mk and ~/android/system/build/buildspec.mk
Other than on the system.prop file, what I've used are the variables PRODUCT_PROPERTY_OVERRIDES, PRODUCT_COPY_FILES and PRODUCT_PACKAGE_OVERLAYS.
Yet the build system doesn't take into account my instructions. I don't get my changes in the final images.
Besides that, I tried to force the TARGET_EMULATOR to true and it complains because I'm not building on linux. I can do that, I just don't know what will be the difference
between a generic build and one with TARGET_EMULATOR.
I just started building cyanogenmod from source, initially to use as an AVD, later on maybe I also do something for my NexusOne.
I have been able to find how to enable a few things I wanted to change, however I am unable to include new files or to modify the system.prop (or build.prop).
I am building on OSX, for the generic target.
The procedure I follow is this:
cd ~/android/system
. ./build/envsetup.sh && lunch cyanogen_generic-eng && mka
I've tried a few different ways to include my modifications, using:
- vendor/cyanogen/products/common.mk
- vendor/cyanogen/products/cyanogen_generic.mk
- build/target/board/generic/system.prop
- copying vendor/cyanogen/products/cyanogen_generic.mk to both ~/android/system/buildspec.mk and ~/android/system/build/buildspec.mk
Other than on the system.prop file, what I've used are the variables PRODUCT_PROPERTY_OVERRIDES, PRODUCT_COPY_FILES and PRODUCT_PACKAGE_OVERLAYS.
Yet the build system doesn't take into account my instructions. I don't get my changes in the final images.
Besides that, I tried to force the TARGET_EMULATOR to true and it complains because I'm not building on linux. I can do that, I just don't know what will be the difference
between a generic build and one with TARGET_EMULATOR.