2018-05-26 12:59:12 +00:00
|
|
|
# This Makefile can be used to identify the selected TARGET used for a
|
|
|
|
# specific build. It can be included by example Makefiles that need to take
|
|
|
|
# decisions based on TARGET. It is also automatically included by the
|
|
|
|
# top-level Makefile.include.
|
|
|
|
|
2017-10-08 16:31:21 +00:00
|
|
|
ifeq ($(TARGET),)
|
|
|
|
-include Makefile.target
|
|
|
|
ifeq ($(TARGET),)
|
|
|
|
${info TARGET not defined, using target 'native'}
|
|
|
|
TARGET=native
|
|
|
|
else
|
|
|
|
${info using saved target '$(TARGET)'}
|
|
|
|
endif
|
2018-02-05 16:18:08 +00:00
|
|
|
else
|
|
|
|
${info using set target '$(TARGET)'}
|
2017-10-08 16:31:21 +00:00
|
|
|
endif
|