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)) |
| 7 | COMPONENTS += FAL |
| 8 | endif |
| 9 | else |
Yue Lun | 6405656 | 2013-10-30 18:02:43 +0800 | [diff] [blame] | 10 | COMPONENTS = HSL SAL INIT REF |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 11 | 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 Lun | 6405656 | 2013-10-30 18:02:43 +0800 | [diff] [blame] | 20 | COMPONENTS = HSL SAL INIT UTIL REF |
Yue Lun | 03a82d9 | 2013-10-21 10:15:02 +0800 | [diff] [blame] | 21 | 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 |
| 36 | endif |