Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
f59465d7
Commit
f59465d7
authored
Nov 04, 2016
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zephyr/Makefile: Allow to override Zephyr config from make command line.
parent
919fc2dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
zephyr/Makefile
zephyr/Makefile
+4
-3
No files found.
zephyr/Makefile
View file @
f59465d7
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
#
#
BOARD
?=
qemu_x86
BOARD
?=
qemu_x86
CONF_FILE
=
prj.conf
# Zephyr 1.5.0
# Zephyr 1.5.0
#OUTDIR_PREFIX =
#OUTDIR_PREFIX =
# Zephyr 1.6.0
# Zephyr 1.6.0
...
@@ -58,7 +59,7 @@ CFLAGS = $(KBUILD_CFLAGS) $(NOSTDINC_FLAGS) $(ZEPHYRINCLUDE) \
...
@@ -58,7 +59,7 @@ CFLAGS = $(KBUILD_CFLAGS) $(NOSTDINC_FLAGS) $(ZEPHYRINCLUDE) \
include
../py/mkrules.mk
include
../py/mkrules.mk
$(Z_EXPORTS)
:
$(Z_EXPORTS)
:
$(MAKE)
-f
Makefile.zephyr
BOARD
=
$(BOARD)
initconfig outputexports
$(MAKE)
-f
Makefile.zephyr
BOARD
=
$(BOARD)
CONF_FILE
=
$(CONF_FILE)
initconfig outputexports
GENERIC_TARGETS
=
all zephyr qemu qemugdb flash debug
GENERIC_TARGETS
=
all zephyr qemu qemugdb flash debug
KCONFIG_TARGETS
=
\
KCONFIG_TARGETS
=
\
...
@@ -73,14 +74,14 @@ $(CLEAN_TARGETS): clean
...
@@ -73,14 +74,14 @@ $(CLEAN_TARGETS): clean
$(GENERIC_TARGETS) $(KCONFIG_TARGETS) $(CLEAN_TARGETS)
:
$(GENERIC_TARGETS) $(KCONFIG_TARGETS) $(CLEAN_TARGETS)
:
$(RM)
-f
outdir/
$(OUTDIR_PREFIX)
/zephyr.lnk
$(RM)
-f
outdir/
$(OUTDIR_PREFIX)
/zephyr.lnk
$(MAKE)
-f
Makefile.zephyr
BOARD
=
$(BOARD)
$@
$(MAKE)
-f
Makefile.zephyr
BOARD
=
$(BOARD)
CONF_FILE
=
$(CONF_FILE)
$@
$(LIBMICROPYTHON)
:
$(Z_SYSGEN_H)
$(LIBMICROPYTHON)
:
$(Z_SYSGEN_H)
build/genhdr/qstr.i.last
:
$(Z_SYSGEN_H)
build/genhdr/qstr.i.last
:
$(Z_SYSGEN_H)
$(Z_SYSGEN_H)
:
$(Z_SYSGEN_H)
:
rm
-f
$(LIBMICROPYTHON)
rm
-f
$(LIBMICROPYTHON)
-
$(MAKE)
-f
Makefile.zephyr
BOARD
=
$(BOARD)
-
$(MAKE)
-f
Makefile.zephyr
BOARD
=
$(BOARD)
CONF_FILE
=
$(CONF_FILE)
# Clean Zephyr things too
# Clean Zephyr things too
clean
:
z_clean
clean
:
z_clean
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment