Skip to content

Commit 40d36fa

Browse files
committed
Merge branch 'master' of github.com:jwinarske/flutter_embedded
2 parents 4b02a54 + b4309df commit 40d36fa

2 files changed

Lines changed: 29 additions & 42 deletions

File tree

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: [jwinarske] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

README.md

Lines changed: 17 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Yocto Layer to build Engine, Wayland shell, and Gallery App can be found here:
3131

3232
2. Sysroot compatible with the Clang runtime flavors
3333

34+
3. Linux system to build on
35+
3436

3537
*Notes:*
3638
*LLVM runtime libraries do not support soft floating point. Google does not support armv6 in Dart. It's fairly straight forward to patch and build for armv6, but you will hit problems in Dart.*
@@ -42,8 +44,7 @@ Yocto Layer to build Engine, Wayland shell, and Gallery App can be found here:
4244
cd flutter_embedded
4345
mkdir build && cd build
4446
cmake ..
45-
make -j8
46-
make package
47+
make package -j8
4748

4849
To enable build spew:
4950

@@ -57,8 +58,7 @@ To enable build spew:
5758
cd flutter_embedded
5859
mkdir build && cd build
5960
cmake .. -DBUILD_PLATFORM_SYSROOT=OFF -DTARGET_SYSROOT=/media/joel/rootfs -DBUILD_FLUTTER_PI=ON -DBUILD_GLFW_FLUTTER=OFF
60-
make -j8
61-
make package
61+
make package -j8
6262

6363
*Note*: this requires the following pacakges installed on your target:
6464

@@ -68,62 +68,51 @@ To enable build spew:
6868
To switch channels add variable CHANNEL to cmake invocation. Like this
6969

7070
cmake .. -DCHANNEL=beta
71-
make -j8
72-
make package
71+
make package -j8
7372

7473
To build all channels of Engine/GLFW shell for Raspberry Pi armv7 in your nightly CI build job, you could do this
7574

7675
git clone https://github.com/jwinarske/flutter_embedded
7776
cd flutter_embedded
7877
mkdir build && cd build
7978
cmake ..
80-
make -j8
81-
make package
79+
make package -j8
8280
cmake .. -DCHANNEL=beta
83-
make -j8
84-
make package
81+
make package -j8
8582
cmake .. -DCHANNEL=dev
86-
make -j8
87-
make package
83+
make package -j8
8884
cmake .. -DCHANNEL=master
89-
make -j8
90-
make package
85+
make package -j8
9186
cmake .. -DCHANNEL=stable -DENGINE_RUNTIME_MODE=release
92-
make -j8
93-
make package
87+
make package -j8
9488
cmake .. -DCHANNEL=beta
95-
make -j8
96-
make package
89+
make package -j8
9790
cmake .. -DCHANNEL=dev
98-
make -j8
99-
make package
91+
make package -j8
10092
cmake .. -DCHANNEL=master
101-
make -j8
102-
make package
93+
make package -j8
94+
10395

10496
## Build gtk3+ dependent engine (stable channel) for HOST
10597

10698
git clone https://github.com/jwinarske/flutter_embedded
10799
cd flutter_embedded
108100
mkdir build && cd build
109101
cmake .. -DENGINE_DISABLE_DESKTOP=OFF -DENGINE_EMBEDDER_FOR_TARGET=OFF -DBUILD_FLUTTER_RPI=OFF -DBUILD_PLATFORM_SYSROOT=OFF -DTARGET_SYSROOT=/usr -DTARGET_ARCH=x64 -DBUILD_PLATFORM_SYSROOT_RPI=OFF
110-
make -j8
111-
make package
102+
make package -j8
112103

113104
To switch to building flutter_glfw (TARGET) be sure to undefine the variables set prior.
114105

115106
cmake .. -UENGINE_DISABLE_DESKTOP -UENGINE_EMBEDDER_FOR_TARGET -DBUILD_FLUTTER_RPI=ON -DBUILD_PLATFORM_SYSROOT=ON -UTARGET_SYSROOT -UTARGET_ARCH -DBUILD_PLATFORM_SYSROOT_RPI=ON
116-
make -j8
117-
make package
107+
make package -j8
118108

119109
## Build gtk3+ dependent engine (stable channel) for TARGET
120110

121111
git clone https://github.com/jwinarske/flutter_embedded
122112
cd flutter_embedded
123113
mkdir build && cd build
124114
cmake .. -DENGINE_DISABLE_DESKTOP=OFF -DENGINE_EMBEDDER_FOR_TARGET=OFF
125-
make -j8
126-
make package
115+
make package -j8
127116

128117
# Override Variables
129118
To use the override variables, pass them in with the cmake command. One example
@@ -392,17 +381,3 @@ Run the debugger, once breakpoint hits, change to the Debugger Console window, a
392381
set step-mode on
393382

394383
Step into FlutterEngineRun()
395-
396-
397-
# Reference Links
398-
http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
399-
400-
https://github.com/flutter/flutter/wiki/Compiling-the-engine
401-
402-
https://github.com/flutter/flutter/wiki/Setting-up-the-Engine-development-environment
403-
404-
https://android.googlesource.com/platform/ndk/+/master/docs/BuildSystemMaintainers.md#libc
405-
406-
https://github.com/kergoth/tslib
407-
408-
http://geomodule.com/sw-eng-notes/2017/03/25/raspberry-pi-debugging-with-gdb-command-line/

0 commit comments

Comments
 (0)