blob: 891586300f6b81e5d0599b396673bb5299b2948f [file] [log] [blame]
Yue Lun03a82d92013-10-21 10:15:02 +08001
2ifeq (linux, $(OS))
3 ifeq (KSLIB, $(MODULE_TYPE))
4 ifeq (TRUE, $(KERNEL_MODE))
Zou Shunxiang68562562014-03-07 12:56:54 +08005 COMPONENTS = HSL SAL INIT UTIL REF SHELIB
Yue Lun03a82d92013-10-21 10:15:02 +08006 ifeq (TRUE, $(FAL))
7 COMPONENTS += FAL
8 endif
9 else
Yue Lun64056562013-10-30 18:02:43 +080010 COMPONENTS = HSL SAL INIT REF
Yue Lun03a82d92013-10-21 10:15:02 +080011 endif
12
13 ifeq (TRUE, $(UK_IF))
14 COMPONENTS += API
15 endif
16 endif
17
18 ifeq (USLIB, $(MODULE_TYPE))
19 ifneq (TRUE, $(KERNEL_MODE))
Yue Lun64056562013-10-30 18:02:43 +080020 COMPONENTS = HSL SAL INIT UTIL REF
Yue Lun03a82d92013-10-21 10:15:02 +080021 ifeq (TRUE, $(FAL))
22 COMPONENTS += FAL
23 endif
24 else
25 COMPONENTS = UK_IF SAL
26 endif
27
28 ifeq (TRUE, $(UK_IF))
29 COMPONENTS += API
30 endif
31 endif
32
33 ifeq (SHELL, $(MODULE_TYPE))
34 COMPONENTS = SHELL
35 endif
36endif