Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 1 | |
| 2 | ifeq (linux, $(OS)) |
| 3 | ifeq (KSLIB, $(MODULE_TYPE)) |
| 4 | ifeq (TRUE, $(KERNEL_MODE)) |
Zou Shunxiang | 6856256 | 2014-03-07 12:56:54 +0800 | [diff] [blame] | 5 | COMPONENTS = HSL SAL INIT UTIL REF SHELIB |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 6 | ifeq (TRUE, $(FAL)) |
mingxinh | 7458b24 | 2017-02-21 18:30:24 +0800 | [diff] [blame] | 7 | COMPONENTS += FAL ADPT |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 8 | endif |
Kyle Swenson | 845ea37 | 2021-01-26 14:07:57 -0700 | [diff] [blame] | 9 | ifeq (TRUE, $(CPDRV)) |
| 10 | COMPONENTS += CP |
| 11 | endif |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 12 | else |
Yue Lun | 6405656 | 2013-10-30 18:02:43 +0800 | [diff] [blame] | 13 | COMPONENTS = HSL SAL INIT REF |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 14 | 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 Lun | 6405656 | 2013-10-30 18:02:43 +0800 | [diff] [blame] | 23 | COMPONENTS = HSL SAL INIT UTIL REF |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 24 | ifeq (TRUE, $(FAL)) |
mingxinh | 7458b24 | 2017-02-21 18:30:24 +0800 | [diff] [blame] | 25 | COMPONENTS += FAL ADPT |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 26 | 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 |
| 39 | endif |