blob: 73479d389030ecb41be7637b3a0dc6b676f7fcfa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
include $(SDK_ROOT)/mk/common.mk
SUBDIRS = filesystem usb_stack
# Determine if the target is either the MX6DQ or MX6SDL.
ifeq "$(TARGET)" "mx6dq"
is_dq_or_sdl = 1
endif
ifeq "$(TARGET)" "mx6sdl"
is_dq_or_sdl = 1
endif
ifeq "$(TARGET)" "mx6sl"
is_sl = 1
endif
# Compile these sources directly.
SOURCES = \
profile/profile.c
ifdef is_dq_or_sdl
SOURCES += \
ioexpander/src/max7310.c
endif
ifdef is_sl
SOURCES += \
pmic/pfuse/pf0100.c
endif
include $(SDK_ROOT)/mk/targets.mk
|