Commit f35356c9 authored by yoogx's avatar yoogx

* Reorganize AIR examples

	For openaadl/ocarina#160
parent 38018f1f
......@@ -75,6 +75,7 @@ AC_OUTPUT([
Makefile
examples/Makefile
examples/air/Makefile
examples/air/hello/Makefile
examples/adiru/Makefile
examples/ahrs_discovery/Makefile
examples/aocs/Makefile
......
AADL_SOURCES = $(srcdir)/hello_world.aadl
AADL_ROOT = hello.impl
SUBDIRS= hello
OTHER_FILES =
CLEANDIRS = hello_impl
CLEANFILES =
include $(srcdir)/../Makefile.common
AVAILABLE_TARGETS= parse-aadl air_conf c
###############################################################################
# Building for AIR requires
#
# a) removing the root makefile generated by Ocarina,
# b) call configure that will replace the root makefile with its own,
# c) while preserving the partition-specific makefile
# d) finally run make ;-)
build_air:
( cd hello_impl && rm Makefile && (echo "K" | configure) && make )
clean-local:
-rm -rf *~
AADL_SOURCES = $(srcdir)/hello_world.aadl
AADL_ROOT = hello.impl
OTHER_FILES =
CLEANDIRS = hello_impl
CLEANFILES =
include $(srcdir)/../../Makefile.common
AVAILABLE_TARGETS= parse-aadl air_conf c
###############################################################################
# Building for AIR requires
#
# a) removing the root makefile generated by Ocarina,
# b) call configure that will replace the root makefile with its own,
# c) while preserving the partition-specific makefile
# d) finally run make ;-)
build_air:
( cd hello_impl && rm Makefile && (echo "K" | configure) && make )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment