[ BUILD instructions ] GPL/LGPL software for the Samsung NX1 Series This software distribution consists of GPL and LGPL components used in the Samsung NX1 Series Samsung Electronics, Co. Ltd. ('Samsung') is pleased to make available to you the various source codes ("Source Codes") for download from this website ('Download Service') at no charge. By using the Source Code and/or the Download Service, you expressly assume all risk and liability associated with and/or caused by the same and complying with all applicable user agreements that accompany each Source Code. To the extent any of the Source Codes are licensed under public licenses such as the GNU General Public License and/or GNU Lesser General Public License, such licenses can be found in each of the files containing the Source Codes. SAMSUNG PROVIDES THE SOURCE CODES AND THIS DOWNLOADING SERVICE "AS IS" WITHOUT REPRESENTATION OR WARRANTY OF ANY KIND AND ALL SUCH WARRANTIES, EXPRESS OR IMPLIED, ARE HEREBY DISCLAIMED, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE ACCURACY, COMPLETENESS, CURRENCY, AVAILABILITY, TITLE, OR NON-INFRINGEMENT. SAMSUNG WILL NOT BE LIABLE FOR ANY DAMAGES OF ANY KIND ARISING FROM THE USE OF THE SOURCE CODE AND THIS DOWNLOADING SERVICE, INCLUDING, BUT NOT LIMITED TO DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, AND CONSEQUENTIAL DAMAGES. YOU ACKNOWLEDGE THAT SAMSUNG IS NOT OBLIGATED TO PROVIDE AND DOES NOT PROVIDE ANY SUPPORT OR ASSISTANCE WITH RESPECT TO THE SOURCE CODES OR THE DOWNLOAD SERVICE. This downloading service shall not affect nor extend any warranty or disclaimer which Samsung makes in each of Samsung's products in which the Source Code (or object/executable code based thereon) is incorporated. System requirement (Strongly recommended) * OS: Ubuntu 12.04 or newer Installing Development Tools in Ubuntu * Open the source list by using text editor. $ sudo vi /etc/apt/sources.list * Add Tizen tools repository to the source list. deb http://download.tizen.org/tools/latest-release/Ubuntu_12.04 / * Resynchronize the package index files from the sources specified in the source list by executing the following command: $ sudo apt-get update * Install a development tool by executing the following command: $ sudo apt-get install gbs Build root strap setup * Download build rootstrap(NX1_packages.tar.gz) and unpack into home directory $ sudo tar xfz {build rootstrap name} --same-owner * Change root to the build rootstrap $ sudo chroot standard-armv7l * Change account to abuild $ su abuild Building a package * Source packages are in the /home/abuild/rpmbuild/SRPMS * Build a package with rpmbuild $ cd /home/abuild/rpmbuild/SRPMS $ rpmbuild --rebuild {src.rpm name} * You can find binary rpms in /home/abuild/rpmbuild/RPMS Building a kernel setup * Download the kernel file(NX1_kernel.tar.gz) and unpack into home directory $ tar xfz {kernel file name} Building the kernel * Build the kernel $ cd linux-3.5 $ make - End of file (2014.11.10) -