JerryScript
Android Expert
I just started building a kernel for the SPH-L300 from Samsung's JB-MC1 source. This is my first time building a kernel, in my other projects I left kernel development to other team members and concentrate on device folders and UI imrpovements, never had the issue I'm dealing with now.
The only way I can get a build to complete is by running the following list of commands:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=~/android/arm-eabi-4.6/bin/arm-eabi-
make clean
make mrproper
make VaeVictus_defconfig
make oldconfig
sudo chown -R jerryscript:jerryscript ~/android/source/Kernel
sudo chmod a+x -R ~/anrdoid/source/Kernel
make ARCH=arm SUBARCH=arm CROSS_COMPILE=~/android/arm-eabi-4.6/bin/arm-eabi-
If I don't chown and chmod before the final make, I get errors where python says no such file or directory. Looking through the folders, I noticed that all the files were locked, and the only way to make changes is via sudo gedit.
Which part of my build environment might I have a owner/permissions problem with, if everytime I run a buid, the files generated by the build process are not accessible due to owner/permission problems? Any ideas how to fix it? For now, at least the build is finishing, and the kernel runs smooth as silk.
BTW- I'm using Ubuntu 12.04 and the Linaro4.6 toolchain if that makes any difference. Github is JerryScript/VaeVictus
The only way I can get a build to complete is by running the following list of commands:
export ARCH=arm
export SUBARCH=arm
export CROSS_COMPILE=~/android/arm-eabi-4.6/bin/arm-eabi-
make clean
make mrproper
make VaeVictus_defconfig
make oldconfig
sudo chown -R jerryscript:jerryscript ~/android/source/Kernel
sudo chmod a+x -R ~/anrdoid/source/Kernel
make ARCH=arm SUBARCH=arm CROSS_COMPILE=~/android/arm-eabi-4.6/bin/arm-eabi-
If I don't chown and chmod before the final make, I get errors where python says no such file or directory. Looking through the folders, I noticed that all the files were locked, and the only way to make changes is via sudo gedit.
Which part of my build environment might I have a owner/permissions problem with, if everytime I run a buid, the files generated by the build process are not accessible due to owner/permission problems? Any ideas how to fix it? For now, at least the build is finishing, and the kernel runs smooth as silk.
BTW- I'm using Ubuntu 12.04 and the Linaro4.6 toolchain if that makes any difference. Github is JerryScript/VaeVictus