blob: 01970652ab1aefa3e19c3d97a6657d70aca81f30 [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))
mingxinh7458b242017-02-21 18:30:24 +08007 COMPONENTS += FAL ADPT
Yue Lun03a82d92013-10-21 10:15:02 +08008 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))
mingxinh7458b242017-02-21 18:30:24 +080022 COMPONENTS += FAL ADPT
Yue Lun03a82d92013-10-21 10:15:02 +080023 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