summaryrefslogtreecommitdiff
path: root/README
blob: 5d2fdb82257e449ac4de75406ef37366f33e823e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
efl-cross-build project is set of scripts that makes cross compilation of EFL on
Linux for Windows easier.

PREPARATION:
0. Install mingw-w64 tools

1. sudo ./setup.sh

   this will create symlinks /opt/windows_32 and /opt/windows_64. This pathes are
   hard-coded into packages from Win-Builds and we need them being available on
   build system for package-config to work properly. This is the only operation
   that requires root permissions.

2. ./link_sources.sh

   All build recipes are expecting to find source code in sources directory.
   You can either copy them manualy or create links using ./link_sources.sh
   Expected structrure:
   sources/
   ├── efl_1.18
   │   ├── efl
   │   └── eflete
   ├── efl_tizen
   │   ├── efl
   │   ├── eflete
   │   └── elementary
   └── efl_upstream
       ├── efl
       └── eflete

BUILD
   Here are examples of your next steps

1. Eflete on efl 1.18 for win64:
   step 1: ./build.sh efl_1.18 native efl
   step 2: ./build.sh efl_1.18 x86_64 efl
   step 3: ./build.sh efl_1.18 x86_64 eflete

2. Eflete on efl 1.18 for win32:
   step 1: ./build.sh efl_1.18 native efl
   step 2: ./build.sh efl_1.18 x686 efl
   step 3: ./build.sh efl_1.18 x686 eflete

3. Eflete on efl_tizen for win64:
   step 1: ./build.sh efl_tizen native efl
   step 2: ./build.sh efl_tizen native elementary
   step 3: ./build.sh efl_tizen x86_64 efl
   step 4: ./build.sh efl_tizen x86_64 elementary
   step 5: ./build.sh efl_tizen x86_64 eflete

4. Eflete on efl upstream for win64:
   step 1: ./build.sh efl_upstream native efl
   step 2: ./build.sh efl_upstream x86_64 efl
   step 3: ./build.sh efl_upstream x86_64 eflete

5. Eflete on efl upstream for win32:
   step 1: ./build.sh efl_upstream native efl
   step 2: ./build.sh efl_upstream x686 efl
   step 3: ./build.sh efl_upstream x686 eflete

DEPLOYMENT
   Just copy files from /opt/windows_XX or ./cross/<TARGET_ARCH>/<TARGET_EFL>
   expanding symlink. I.e:

   cp -RL ./cross/x64_86/efl_1.18 ./deploy_folder