blob: 0e73b097647e4dc889e8bcace878b6af36273bf6 [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
Kyle Swenson845ea372021-01-26 14:07:57 -07009 ifeq (TRUE, $(CPDRV))
10 COMPONENTS += CP
11 endif
Yue Lun03a82d92013-10-21 10:15:02 +080012 else
Yue Lun64056562013-10-30 18:02:43 +080013 COMPONENTS = HSL SAL INIT REF
Yue Lun03a82d92013-10-21 10:15:02 +080014 endif
15
16 ifeq (TRUE, $(UK_IF))
17 COMPONENTS += API
18 endif
19 endif
20
21 ifeq (USLIB, $(MODULE_TYPE))
22 ifneq (TRUE, $(KERNEL_MODE))
Yue Lun64056562013-10-30 18:02:43 +080023 COMPONENTS = HSL SAL INIT UTIL REF
Yue Lun03a82d92013-10-21 10:15:02 +080024 ifeq (TRUE, $(FAL))
mingxinh7458b242017-02-21 18:30:24 +080025 COMPONENTS += FAL ADPT
Yue Lun03a82d92013-10-21 10:15:02 +080026 endif
27 else
28 COMPONENTS = UK_IF SAL
29 endif
30
31 ifeq (TRUE, $(UK_IF))
32 COMPONENTS += API
33 endif
34 endif
35
36 ifeq (SHELL, $(MODULE_TYPE))
37 COMPONENTS = SHELL
38 endif
39endif