1 # Copyright 2018 apeos contributors
3 # apeos GNU makefile, build esp apeos via esp-idf
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 # customize esp-idf components
21 COMPONENTS
:= bootloader
# modified esp-idf bootloader, Apache License, Version 2.0
22 COMPONENTS
+= esptool_py
# modified esp-idf esptool for installing apeos on esp-32 flash, GPLv2+
24 # apeos is being built
25 EXTRA_CPPFLAGS
:= -DAPEOS
27 # apeos is being built through esp-idf based build system
28 EXTRA_CPPFLAGS
+= -DESP_IDF_APEOS_BUILD
30 # Don't wear flash storage when building on systems
31 # where tmp files are stored on flash.
32 # Also probably faster unless /tmp is ramfs.
35 $(if
$(V
),$(info including make
/project.mk...
))
36 include make
/project.mk