Commit Graph

230 Commits

Author SHA1 Message Date
Léa Saviot
2af89fb546 [build/android] Prevent code relocations in MicroPython 2020-07-09 20:24:16 -04:00
Léa Saviot
ef8a4f9e7b build: Version 14.4.0 2020-07-07 09:55:21 +02:00
Émilie Feral
38f3c9b813 build: Version 14.3.0 2020-07-02 17:09:38 +02:00
Émilie Feral
cb62747e48 build: Version 14.2.0 2020-06-26 17:48:31 +02:00
Émilie Feral
ef210f9cff build: Version 14.1.0 2020-06-19 12:10:24 +02:00
Émilie Feral
97ffab1fc2 build: Version 14.0.0 2020-06-04 14:58:20 +02:00
Léa Saviot
c7c47acc1b [build/config] Change the languages order 2020-06-04 14:50:02 +02:00
Roberta Rabotti
549f537ff6 [it] Add i18n files to Makefiles 2020-06-04 14:50:02 +02:00
Jorick Alberga
8a37096680 [nl] Start translation 2020-06-04 14:50:01 +02:00
Romain Goyet
196a94e199 [ci] Report .text, .rodata, .bss and .data sections
Note that .text and .rodata are cumulative (internal+external)
2020-04-14 01:44:35 -07:00
Léa Saviot
2ed354710f [build/simulator] NDEBUG flag in release mode
This way, asserts are not performed on simulator platforms
2020-04-10 00:49:15 -07:00
Émilie Feral
8dbe719a68 [Build] Add address sanitizer option if ASAN=1 2020-04-09 15:14:30 +02:00
Émilie Feral
f2efd46814 [build] defaults.mak: don't override previously-added SFLAGS 2020-04-09 14:30:57 +02:00
Romain Goyet
ed7e6bec9d [build/device] Generate a RAM map 2020-04-07 17:15:05 +02:00
Émilie Feral
c363231673 [build] --silent option in rule_for_arch_executable prevent from running
'make V=1' and getting the expected output
2020-04-07 14:22:33 +02:00
Romain Goyet
02738ba06a [build] Add a tool to compare the size of two ELF files 2020-04-06 15:29:03 +02:00
Romain Goyet
84f6b179de [build] rule_for now takes both "local" and "global" parameters
Previous the build would fail on macOS if you had an epsilon.elf file in
at the root of the project. Indeed, the %.elf -> %.bin rule would get
triggered, but this rule should only operate on generated (intermediate)
elf file.
2020-04-06 10:12:54 +02:00
Romain Goyet
7d5cad32b1 [build/all] Q isn't defined (and isn't needed either) 2020-04-06 10:02:06 +02:00
Romain Goyet
edde8e8eba [build/all] Re-sourcing emsdk isn't needed 2020-04-06 10:02:06 +02:00
Romain Goyet
f450e36e65 [build/all] Use the short iOS and Android targets 2020-04-06 10:02:06 +02:00
Romain Goyet
88912be9a8 [build] The all target can live in a standalone Makefile 2020-04-06 10:02:06 +02:00
Romain Goyet
6de90d97a4 [build] Remove duplication of HANDY_TARGETS_EXTENSIONS 2020-04-03 22:26:55 -04:00
Romain Goyet
f7911bae72 [build] Remove DEFAULT
It was redundant with HANDY_TARGETS and HANDY_TARGETS_EXTENSIONS
2020-04-03 22:26:55 -04:00
Romain Goyet
99b916e179 [build] Share multi-app code 2020-04-03 22:26:55 -04:00
Romain Goyet
d4149b1a3d [build] Move %_run targets in the build dir 2020-04-03 22:26:55 -04:00
Romain Goyet
ba57dbde61 [build] macOS and iOS can now build any binary 2020-04-03 22:26:55 -04:00
Romain Goyet
ada205b1a7 [build] Use variants
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Émilie Feral
d950e37b22 [build] Emscripten toolchain: do not use a memory-init-file 2020-03-25 14:35:35 +01:00
Romain Goyet
64bab33792 [build] Add apk has a handy target on android 2020-03-25 13:44:10 +01:00
Romain Goyet
693cff1e23 [build] Defining EXE is not required
Some platforms don't have direct executable formats. For instance, on
Android, there *is* an EXE format for a given ARCH, but .so does not
apply to ARCH-less builds.

And having default rules for %.so on ARCH-less Android would get in
the way when copying the shared obejcts for the APK.
2020-03-25 13:44:10 +01:00
Romain Goyet
964541d645 [build] Don't show any message if official tos have been accepted 2020-03-25 13:44:10 +01:00
Romain Goyet
625afcfd42 [build/android] Unify the behavior with iOS and macOS 2020-03-25 13:44:10 +01:00
Romain Goyet
46647cc35c [build] Allow building official targets on CI environments 2020-03-25 13:44:10 +01:00
Émilie Feral
3245a0060e [build] Fix target all_official: get rif of .mem 2020-03-24 16:44:20 +01:00
Romain Goyet
62324b9cac [build/emscripten] Don't use memory init files anymore
Those provide a really small size gain and are painful to deploy
2020-03-24 15:02:10 +01:00
Romain Goyet
ca89c06ffe [build/emscripten] We now use the newer #canvas convention 2020-03-24 15:02:10 +01:00
Romain Goyet
fd629de548 [build] Clean the "all" targets
Remove "DEBUG=0" because it's the default
Use handy targets when possible
2020-03-24 15:02:10 +01:00
Romain Goyet
eadfe4aa56 [ion/simulator/web] Name the target "epsilon.zip" to match other targets
This way it's consistent with epsilon.ipa on TARGET=ios and epsilon.apk
on TARGET=android
2020-03-24 15:02:10 +01:00
Romain Goyet
edbd879b4b [ion] Modularize the HTML simulator 2020-03-24 15:02:10 +01:00
Émilie Feral
5f5636fe4d [build] Fix all_official target 2020-03-20 09:32:24 +01:00
Émilie Feral
5f8f1d96ee [build] Actually use the mobileprovision file stored in build/artifacts/ 2020-03-16 18:07:01 +01:00
Émilie Feral
8c370b409c [build] Add the .mem files to all_official/ 2020-03-16 18:07:01 +01:00
Émilie Feral
d2f40130b2 [build] Change folder name: stable_release --> all_official 2020-03-16 18:07:01 +01:00
Émilie Feral
d2e9d5fbea [build] Split stable_release target from target.mak, change name to
all_official
2020-02-25 17:37:29 -05:00
Émilie Feral
3aeb4b9ea9 [build] Coding style 2020-02-25 17:37:29 -05:00
Émilie Feral
38d02663b4 [build] epsilon_src & epsilon_official_src have to be defined because
they're used by target.simulator.web.mak
2020-02-25 17:37:29 -05:00
Émilie Feral
6c0bb3cdde [build] Replace make by $(MAKE) in Makefiles 2020-02-25 17:37:29 -05:00
Émilie Feral
ef62c70913 [build] Target: clean epsilon targets dependencies 2020-02-25 17:37:29 -05:00
Émilie Feral
ac6d6f4d5c [build] Complete stable_release target 2020-02-25 17:37:29 -05:00
Émilie Feral
d6504a6c6a [build] Make a target stable_release which build every executable needed
for a stable release
2020-02-25 17:37:29 -05:00