6 1.2. SMACK enabled Targets
7 2. Building for Ubuntu desktop
8 2.1. Minimum Requirements
9 2.2. Creating a DALi Environment
10 2.3. Building the Repository
17 1.1. NON-SMACK Targets
18 ----------------------
20 gbs build -A [TARGET_ARCH]
22 1.2. SMACK enabled Targets
23 --------------------------
25 gbs build -A [TARGET_ARCH] --define "%enable_dali_smack_rules 1"
29 2. Building for Ubuntu desktop
30 ==============================
32 2.1. Minimum Requirements
33 ------------------------
37 2.2. Creating a DALi Environment
38 -------------------------------
40 To build for desktop first ensure ALL sources are selected:
41 - Go to Ubuntu Settings and then to "Software & Updates"
42 - In the "Ubuntu Software" tab, ensure ALL software sources are ticked
43 (This is required because we install some community-maintained free & open-source software)
45 Then you can create a dali-env folder in your home folder with:
47 dali-core/build/scripts/dali_env -c
49 This will also download any dependencies that the dali repositories require.
51 You can save the environment variables to a file:
53 dali-env/opt/bin/dali_env -s > setenv
55 This process only needs to be done once.
57 Next source these variables:
61 You will have to source these variables every time you open up a new terminal (or you can add to .bashrc if you prefer).
63 2.3. Building the Repository
64 ----------------------------
66 To build the repository enter the 'build/tizen' folder:
68 cd dali-core/build/tizen
70 Then run the following commands:
73 ./configure --prefix=$DESKTOP_PREFIX