ArDrone SDK 1.8 added
[mardrone] / mardrone / ARDrone_SDK_Version_1_8_20110726 / ARDroneLib / VP_SDK / Build / elinux.makefile
1 ###########################################################################################
2 #
3 # Designed to help building vp_sdk's application with eLinux
4 # ----------------------------------------------------------------------------------
5 # Author : pierre.eline@parrot.com
6 # Date   : 2009/07/01
7 #
8 ###########################################################################################
9
10
11 ifeq ($(USE_ELINUX),yes)
12   ifeq ($(USE_BROADCOM),yes)
13     ELINUX_BCM4318_AP=$(shell cat $(LINUX_CONFIG_PATH) | grep BR2_PACKAGE_BCM4318_AP | grep y > /dev/null && echo yes || echo no)
14     ifeq ($(ELINUX_BCM4318_AP),yes)
15       GENERIC_CFLAGS+=-DBR2_PACKAGE_BCM4318_AP
16     endif
17     USE_WIFI=$(shell cat $(LINUX_CONFIG_PATH) | grep BR2_PACKAGE_BCM4318* | grep y > /dev/null && echo yes || echo no)
18   endif
19 endif
20
21 USE_WIFI=yes
22
23 USE_CAMIF = yes
24
25 # All that needs to be exported
26 ########################
27 export USE_MEMPROT
28 export USE_SDCARD
29 export USE_CAMIF
30 export USE_LCD
31 export USE_WIFI
32 export USE_BASEBAND
33 export GENERIC_CFLAGS
34
35