Statistics
| Branch: | Revision:

amiro-apps / os / os.mk @ b1f38b27

History | View | Annotate | Download (2.735 KB)

1
################################################################################
2
# AMiRo-Apps is a collection of applications for the Autonomous Mini Robot     #
3
# (AMiRo) platform.                                                            #
4
# Copyright (C) 2016..2018  Thomas Schöpping et al.                            #
5
#                                                                              #
6
# This program is free software: you can redistribute it and/or modify         #
7
# it under the terms of the GNU General Public License as published by         #
8
# the Free Software Foundation, either version 3 of the License, or            #
9
# (at your option) any later version.                                          #
10
#                                                                              #
11
# This program is distributed in the hope that it will be useful,              #
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of               #
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the                #
14
# GNU General Public License for more details.                                 #
15
#                                                                              #
16
# You should have received a copy of the GNU General Public License            #
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.        #
18
#                                                                              #
19
# This research/work was supported by the Cluster of Excellence Cognitive      #
20
# Interaction Technology 'CITEC' (EXC 277) at Bielefeld University, which is   #
21
# funded by the German Research Foundation (DFG).                              #
22
################################################################################
23

    
24

    
25

    
26
# absolute path to this directory
27
OS_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
28

    
29
# define to signal that this is an application build
30
# (no standalone os-only build)
31
UDEFS += -DAMIRO_APPS=true
32

    
33
# setup all variables for the LightRing
34
include $(LIGHTRING_APPS)
35
INCDIR += $(CONFIG_DIR)
36
APPSINC_LIGHTRING := $(INCDIR)
37
APPSCSRC_LIGHTRING := $(CSRC)
38
APPSCPPSRC_LIGHTRING := $(CPPSRC)
39
INCDIR :=
40
CSRC :=
41
CPPSRC :=
42

    
43
# setup all variables for the PowerManagement
44
include $(POWERMANAGEMENT_APPS)
45
INCDIR += $(CONFIG_DIR)
46
APPSINC_POWERMANAGEMENT := $(INCDIR)
47
APPSCSRC_POWERMANAGEMENT := $(CSRC)
48
APPSCPPSRC_POWERMANAGEMENT := $(CPPSRC)
49
INCDIR :=
50
CSRC :=
51
CPPSRC :=
52

    
53
# setup all variables for the DiWheelDrive
54
include $(DIWHEELDRIVE_APPS)
55
INCDIR += $(CONFIG_DIR)
56
APPSINC_DIWHEELDRIVE := $(INCDIR)
57
APPSCSRC_DIWHEELDRIVE := $(CSRC)
58
APPSCPPSRC_DIWHEELDRIVE := $(CPPSRC)
59
INCDIR :=
60
CSRC :=
61
CPPSRC :=
62

    
63
# make all variables that have been set so far available to all other makefiles
64
export
65

    
66
include $(OS_DIR)AMiRo-OS/Makefile