lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #***********************************************************************
|
| 2 | # °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
|
| 3 | #
|
| 4 | # ÎļþÃû³Æ£º makefile
|
| 5 | # Îļþ±êʶ£º ±àÒëdal lib
|
| 6 | # ÄÚÈÝÕªÒª£º
|
| 7 | #
|
| 8 | # ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
| 9 | # ---------------------------------------------------------------------
|
| 10 | # 2008/11/17 V1.0 huji create
|
| 11 | #***********************************************************************/
|
| 12 |
|
| 13 | include $(PRJ_PATH)/config/project.mk
|
| 14 | include $(DRV_PATH)/ws/drv_cfg.mk
|
| 15 |
|
| 16 |
|
| 17 | #===============================================
|
| 18 | #
|
| 19 | #===============================================
|
| 20 | _SUBSYS_NAME = chip
|
| 21 |
|
| 22 | _SUBSYS_LIB_PATH = $(DRV_LIB_PATH)
|
| 23 |
|
| 24 | export CHIP_SRC_PATH = $(CHIP_PATH)/src
|
| 25 | export CHIP_INC_PATH = $(CHIP_PATH)/inc -I$(DRV_INC_PATH)
|
| 26 | export CHIP_OBJ_PATH = $(DRV_OBJ_PATH)
|
| 27 |
|
| 28 | #===============================================
|
| 29 | # bsp
|
| 30 | #===============================================
|
| 31 | ifeq ($(USE_BSP),yes)
|
| 32 | bsp:
|
| 33 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/bsp/$(CHIP_BSP)
|
| 34 | bspclean:
|
| 35 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/bsp/$(CHIP_BSP) clean
|
| 36 | ifeq ($(USE_BSP_SDK),yes)
|
| 37 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 38 | _ALL_MDLS_SDK += bsp
|
| 39 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/bsp/*.o)
|
| 40 | endif
|
| 41 | else
|
| 42 | _ALL_MDLS += bsp
|
| 43 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/bsp/*.o)
|
| 44 | endif
|
| 45 | endif
|
| 46 |
|
| 47 | #===============================================
|
| 48 | # int
|
| 49 | #===============================================
|
| 50 | ifeq ($(USE_INT),yes)
|
| 51 | int:
|
| 52 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/int/$(CHIP_INT)
|
| 53 | intclean:
|
| 54 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/int/$(CHIP_INT) clean
|
| 55 | ifeq ($(USE_INT_SDK),yes)
|
| 56 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 57 | _ALL_MDLS_SDK += int
|
| 58 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/int/*.o)
|
| 59 | endif
|
| 60 | else
|
| 61 | _ALL_MDLS += int
|
| 62 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/int/*.o)
|
| 63 | endif
|
| 64 | endif
|
| 65 |
|
| 66 | #===============================================
|
| 67 | # timer
|
| 68 | #===============================================
|
| 69 | ifeq ($(USE_TIMER),yes)
|
| 70 | timer:
|
| 71 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/timer/$(CHIP_TIMER)
|
| 72 | timerclean:
|
| 73 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/timer/$(CHIP_TIMER) clean
|
| 74 | ifeq ($(USE_TIMER_SDK),yes)
|
| 75 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 76 | _ALL_MDLS_SDK += timer
|
| 77 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/timer/*.o)
|
| 78 | endif
|
| 79 | else
|
| 80 | _ALL_MDLS += timer
|
| 81 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/timer/*.o)
|
| 82 | endif
|
| 83 | endif
|
| 84 |
|
| 85 | #===============================================
|
| 86 | # sys
|
| 87 | #===============================================
|
| 88 | ifeq ($(USE_SYS),yes)
|
| 89 | sys:
|
| 90 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/sys/$(CHIP_SYS)
|
| 91 | sysclean:
|
| 92 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/sys/$(CHIP_SYS) clean
|
| 93 |
|
| 94 | ifeq ($(USE_SYS_SDK),yes)
|
| 95 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 96 | _ALL_MDLS_SDK += sys
|
| 97 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/sys/*.o)
|
| 98 | endif
|
| 99 | else
|
| 100 | _ALL_MDLS += sys
|
| 101 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/sys/*.o)
|
| 102 | endif
|
| 103 | endif
|
| 104 |
|
| 105 | #===============================================
|
| 106 | # icp
|
| 107 | #===============================================
|
| 108 | ifeq ($(USE_ICP),yes)
|
| 109 | icp:
|
| 110 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/icp/$(CHIP_ICP)
|
| 111 | icpclean:
|
| 112 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/icp/$(CHIP_ICP) clean
|
| 113 |
|
| 114 | ifeq ($(USE_ICP_SDK),yes)
|
| 115 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 116 | _ALL_MDLS_SDK += icp
|
| 117 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/icp/*.o)
|
| 118 | endif
|
| 119 | else
|
| 120 | _ALL_MDLS += icp
|
| 121 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/icp/*.o)
|
| 122 | endif
|
| 123 | endif
|
| 124 |
|
| 125 | #===============================================
|
| 126 | # lpm
|
| 127 | #===============================================
|
| 128 | ifeq ($(USE_LPM),yes)
|
| 129 | lpm:
|
| 130 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/lpm/$(CHIP_LPM)
|
| 131 | lpmclean:
|
| 132 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/lpm/$(CHIP_LPM) clean
|
| 133 |
|
| 134 | ifeq ($(USE_LPM_SDK),yes)
|
| 135 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 136 | _ALL_MDLS_SDK += lpm
|
| 137 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/lpm/*.o)
|
| 138 | endif
|
| 139 | else
|
| 140 | _ALL_MDLS += lpm
|
| 141 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/lpm/*.o)
|
| 142 | endif
|
| 143 | endif
|
| 144 |
|
| 145 | #===============================================
|
| 146 | # gpio
|
| 147 | #===============================================
|
| 148 | ifeq ($(USE_GPIO),yes)
|
| 149 | gpio:
|
| 150 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/gpio/$(CHIP_GPIO)
|
| 151 | gpioclean:
|
| 152 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/gpio/$(CHIP_GPIO) clean
|
| 153 |
|
| 154 | ifeq ($(USE_GPIO_SDK),yes)
|
| 155 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 156 | _ALL_MDLS_SDK += gpio
|
| 157 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/gpio/*.o)
|
| 158 | endif
|
| 159 | else
|
| 160 | _ALL_MDLS += gpio
|
| 161 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/gpio/*.o)
|
| 162 | endif
|
| 163 | endif
|
| 164 |
|
| 165 | #===============================================
|
| 166 | # spi
|
| 167 | #===============================================
|
| 168 |
|
| 169 | ifeq ($(USE_SPI),yes)
|
| 170 | spi:
|
| 171 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/spi/$(CHIP_SPI)
|
| 172 | spiclean:
|
| 173 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/spi/$(CHIP_SPI) clean
|
| 174 |
|
| 175 | ifeq ($(USE_SPI_SDK),yes)
|
| 176 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 177 | _ALL_MDLS_SDK += spi
|
| 178 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/spi/*.o)
|
| 179 | endif
|
| 180 | else
|
| 181 | _ALL_MDLS += spi
|
| 182 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/spi/*.o)
|
| 183 | endif
|
| 184 | endif
|
| 185 |
|
| 186 | #===============================================
|
| 187 | # spicc
|
| 188 | #===============================================
|
| 189 |
|
| 190 | ifeq ($(USE_SPICC),yes)
|
| 191 | spicc:
|
| 192 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/spicc/$(CHIP_SPICC)
|
| 193 | spiccclean:
|
| 194 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/spicc/$(CHIP_SPICC) clean
|
| 195 |
|
| 196 | ifeq ($(USE_SPICC_SDK),yes)
|
| 197 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 198 | _ALL_MDLS_SDK += spicc
|
| 199 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/spicc/*.o)
|
| 200 | endif
|
| 201 | else
|
| 202 | _ALL_MDLS += spicc
|
| 203 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/spicc/*.o)
|
| 204 | endif
|
| 205 | endif
|
| 206 |
|
| 207 | #===============================================
|
| 208 | # vou
|
| 209 | #===============================================
|
| 210 |
|
| 211 | ifeq ($(USE_VOU),yes)
|
| 212 | vou:
|
| 213 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/vou/$(CHIP_VOU)
|
| 214 | vouclean:
|
| 215 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/vou/$(CHIP_VOU) clean
|
| 216 |
|
| 217 | ifeq ($(USE_VOU_SDK),yes)
|
| 218 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 219 | _ALL_MDLS_SDK += vou
|
| 220 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/vou/*.o)
|
| 221 | endif
|
| 222 | else
|
| 223 | _ALL_MDLS += vou
|
| 224 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/vou/*.o)
|
| 225 | endif
|
| 226 | endif
|
| 227 |
|
| 228 | #===============================================
|
| 229 | # camera
|
| 230 | #===============================================
|
| 231 |
|
| 232 | ifeq ($(USE_CAMERA),yes)
|
| 233 | camera:
|
| 234 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/camera
|
| 235 | cameraclean:
|
| 236 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/camera clean
|
| 237 |
|
| 238 | ifeq ($(USE_CAMERA_SDK),yes)
|
| 239 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 240 | _ALL_MDLS_SDK += camera
|
| 241 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/camera/*.o)
|
| 242 | endif
|
| 243 | else
|
| 244 | _ALL_MDLS += camera
|
| 245 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/camera/*.o)
|
| 246 | endif
|
| 247 | endif
|
| 248 | #===============================================
|
| 249 | # mmc
|
| 250 | #===============================================
|
| 251 | ifeq ($(USE_MMC_HOST),yes)
|
| 252 | mmcHost:
|
| 253 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/mmc/$(CHIP_MMC_HOST)/ws
|
| 254 | mmcHostclean:
|
| 255 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/mmc/$(CHIP_MMC_HOST)/ws clean
|
| 256 |
|
| 257 | ifeq ($(USE_MMC_SDK),yes)
|
| 258 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 259 | _ALL_MDLS_SDK += mmcHost
|
| 260 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/mmc/*.o)
|
| 261 | endif
|
| 262 | else
|
| 263 | _ALL_MDLS += mmcHost
|
| 264 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/mmc/*.o)
|
| 265 | endif
|
| 266 | endif
|
| 267 |
|
| 268 | ifeq ($(USE_MMC_SLAVE),yes)
|
| 269 | mmcSlave:
|
| 270 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/mmc/$(CHIP_MMC_SLAVE)/ws
|
| 271 | mmcSlaveclean:
|
| 272 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/mmc/$(CHIP_MMC_SLAVE)/ws clean
|
| 273 |
|
| 274 | ifeq ($(USE_MMC_SDK),yes)
|
| 275 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 276 | _ALL_MDLS_SDK += mmcSlave
|
| 277 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/mmc/*.o)
|
| 278 | endif
|
| 279 | else
|
| 280 | _ALL_MDLS += mmcSlave
|
| 281 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/mmc/*.o)
|
| 282 | endif
|
| 283 | endif
|
| 284 |
|
| 285 | #===============================================
|
| 286 | # uart
|
| 287 | #===============================================
|
| 288 | ifeq ($(USE_UART),yes)
|
| 289 | uart:
|
| 290 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uart/$(CHIP_UART)
|
| 291 | uartclean:
|
| 292 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uart/$(CHIP_UART) clean
|
| 293 |
|
| 294 | ifeq ($(USE_UART_SDK),yes)
|
| 295 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 296 | _ALL_MDLS_SDK += uart
|
| 297 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/uart/*.o)
|
| 298 | endif
|
| 299 | else
|
| 300 | _ALL_MDLS += uart
|
| 301 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/uart/*.o)
|
| 302 | endif
|
| 303 |
|
| 304 | endif
|
| 305 |
|
| 306 | #===============================================
|
| 307 | # rtc
|
| 308 | #===============================================
|
| 309 |
|
| 310 | ifeq ($(USE_RTC),yes)
|
| 311 | rtc:
|
| 312 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/rtc/$(CHIP_RTC)
|
| 313 | rtcclean:
|
| 314 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/rtc/$(CHIP_RTC) clean
|
| 315 |
|
| 316 | ifeq ($(USE_RTC_SDK),yes)
|
| 317 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 318 | _ALL_MDLS_SDK += rtc
|
| 319 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/rtc/*.o)
|
| 320 | endif
|
| 321 | else
|
| 322 | _ALL_MDLS += rtc
|
| 323 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/rtc/*.o)
|
| 324 | endif
|
| 325 | endif
|
| 326 |
|
| 327 |
|
| 328 | #===============================================
|
| 329 | # dma
|
| 330 | #===============================================
|
| 331 |
|
| 332 | ifeq ($(USE_DMA),yes)
|
| 333 | dma:
|
| 334 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/dma/$(CHIP_DMA)
|
| 335 | dmaclean:
|
| 336 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/dma/$(CHIP_DMA) clean
|
| 337 |
|
| 338 | ifeq ($(USE_DMA_SDK),yes)
|
| 339 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 340 | _ALL_MDLS_SDK += dma
|
| 341 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/dma/*.o)
|
| 342 | endif
|
| 343 | else
|
| 344 | _ALL_MDLS += dma
|
| 345 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/dma/*.o)
|
| 346 | endif
|
| 347 | endif
|
| 348 |
|
| 349 | #===============================================
|
| 350 | # edcp
|
| 351 | #===============================================
|
| 352 |
|
| 353 | ifeq ($(USE_EDCP),yes)
|
| 354 | edcp:
|
| 355 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/edcp/$(CHIP_EDCP)
|
| 356 | edcpclean:
|
| 357 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/edcp/$(CHIP_EDCP) clean
|
| 358 |
|
| 359 | ifeq ($(USE_EDCP_SDK),yes)
|
| 360 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 361 | _ALL_MDLS_SDK += edcp
|
| 362 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/edcp/*.o)
|
| 363 | endif
|
| 364 | else
|
| 365 | _ALL_MDLS += edcp
|
| 366 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/edcp/*.o)
|
| 367 | endif
|
| 368 | endif
|
| 369 |
|
| 370 | #===============================================
|
| 371 | # uicc
|
| 372 | #===============================================
|
| 373 |
|
| 374 | ifeq ($(USE_UICC),yes)
|
| 375 | uicc:
|
| 376 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uicc/$(CHIP_UICC)
|
| 377 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uicc/DD
|
| 378 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uicc/agent
|
| 379 | uiccclean:
|
| 380 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uicc/$(CHIP_UICC) clean
|
| 381 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uicc/DD clean
|
| 382 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/uicc/agent clean
|
| 383 |
|
| 384 | ifeq ($(USE_UICC_SDK),yes)
|
| 385 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 386 | _ALL_MDLS_SDK += uicc
|
| 387 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/uicc/*.o)
|
| 388 | endif
|
| 389 | else
|
| 390 | _ALL_MDLS += uicc
|
| 391 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/uicc/*.o)
|
| 392 | endif
|
| 393 | endif
|
| 394 |
|
| 395 | #===============================================
|
| 396 | # dpram
|
| 397 | #===============================================
|
| 398 |
|
| 399 | ifeq ($(USE_DPRAM),yes)
|
| 400 | dpram:
|
| 401 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/dpram/$(CHIP_DPRAM)
|
| 402 | dpramclean:
|
| 403 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/dpram/$(CHIP_DPRAM) clean
|
| 404 |
|
| 405 | ifeq ($(USE_DPRAM_SDK),yes)
|
| 406 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 407 | _ALL_MDLS_SDK += dpram
|
| 408 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/dpram/*.o)
|
| 409 | endif
|
| 410 | else
|
| 411 | _ALL_MDLS += dpram
|
| 412 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/dpram/*.o)
|
| 413 | endif
|
| 414 | endif
|
| 415 |
|
| 416 |
|
| 417 | #===============================================
|
| 418 | # pow
|
| 419 | #===============================================
|
| 420 |
|
| 421 | ifeq ($(USE_POW),yes)
|
| 422 | pow:
|
| 423 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pow/$(CHIP_POW)/Ws
|
| 424 | powclean:
|
| 425 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pow/$(CHIP_POW)/Ws clean
|
| 426 |
|
| 427 | ifeq ($(USE_POW_SDK),yes)
|
| 428 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 429 | _ALL_MDLS_SDK += pow
|
| 430 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/pow/*.o)
|
| 431 | endif
|
| 432 | else
|
| 433 | _ALL_MDLS += pow
|
| 434 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/pow/*.o)
|
| 435 | endif
|
| 436 | endif
|
| 437 |
|
| 438 | #===============================================
|
| 439 | # cipher
|
| 440 | #===============================================
|
| 441 |
|
| 442 | ifeq ($(USE_CIPHER),yes)
|
| 443 | cipher:
|
| 444 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/cipher/$(CHIP_CIPHER)
|
| 445 | cipherclean:
|
| 446 |
|
| 447 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/cipher/$(CHIP_CIPHER) clean
|
| 448 |
|
| 449 | ifeq ($(USE_CIPHER_SDK),yes)
|
| 450 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 451 | _ALL_MDLS_SDK += cipher
|
| 452 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/cipher/*.o)
|
| 453 | endif
|
| 454 | else
|
| 455 | _ALL_MDLS += cipher
|
| 456 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/cipher/*.o)
|
| 457 | endif
|
| 458 | endif
|
| 459 |
|
| 460 |
|
| 461 |
|
| 462 | #===============================================
|
| 463 | # dsp
|
| 464 | #===============================================
|
| 465 |
|
| 466 | #ifeq ($(USE_DSP),yes)
|
| 467 | #dsp:
|
| 468 | # @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/dsp/$(CHIP_DSP)
|
| 469 | #dspclean:
|
| 470 | # @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/dsp/$(CHIP_DSP) clean
|
| 471 | #
|
| 472 | #_ALL_MDLS += dsp
|
| 473 | #_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/dsp/*.o)
|
| 474 |
|
| 475 | #endif
|
| 476 |
|
| 477 |
|
| 478 | #===============================================
|
| 479 | # i2c
|
| 480 | #===============================================
|
| 481 |
|
| 482 | ifeq ($(USE_I2C),yes)
|
| 483 | i2c:
|
| 484 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/i2c/$(CHIP_I2C)
|
| 485 | i2cclean:
|
| 486 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/i2c/$(CHIP_I2C) clean
|
| 487 |
|
| 488 | ifeq ($(USE_I2C_SDK),yes)
|
| 489 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 490 | _ALL_MDLS_SDK += i2c
|
| 491 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/i2c/*.o)
|
| 492 | endif
|
| 493 | else
|
| 494 | _ALL_MDLS += i2c
|
| 495 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/i2c/*.o)
|
| 496 | endif
|
| 497 | endif
|
| 498 |
|
| 499 | #===============================================
|
| 500 | # efuse
|
| 501 | #===============================================
|
| 502 |
|
| 503 | ifeq ($(USE_EFUSE),yes)
|
| 504 | efuse:
|
| 505 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/efuse/$(CHIP_EFUSE)
|
| 506 | efuseclean:
|
| 507 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/efuse/$(CHIP_EFUSE) clean
|
| 508 |
|
| 509 | ifeq ($(USE_EFUSE_SDK),yes)
|
| 510 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 511 | _ALL_MDLS_SDK += efuse
|
| 512 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/efuse/*.o)
|
| 513 | endif
|
| 514 | else
|
| 515 | _ALL_MDLS += efuse
|
| 516 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/efuse/*.o)
|
| 517 | endif
|
| 518 | endif
|
| 519 |
|
| 520 | #===============================================
|
| 521 | # watchdog
|
| 522 | #===============================================
|
| 523 | ifeq ($(USE_WDT),yes)
|
| 524 | wdt:
|
| 525 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/wdt/$(CHIP_WDT)
|
| 526 | wdtclean:
|
| 527 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/wdt/$(CHIP_WDT) clean
|
| 528 |
|
| 529 | ifeq ($(USE_WDT_SDK),yes)
|
| 530 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 531 | _ALL_MDLS_SDK += wdt
|
| 532 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/wdt/*.o)
|
| 533 | endif
|
| 534 | else
|
| 535 | _ALL_MDLS += wdt
|
| 536 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/wdt/*.o)
|
| 537 | endif
|
| 538 | endif
|
| 539 |
|
| 540 | #===============================================
|
| 541 | # common
|
| 542 | #===============================================
|
| 543 | ifeq ($(USE_COMM),yes)
|
| 544 | comm:
|
| 545 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/comm
|
| 546 | commclean:
|
| 547 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/comm clean
|
| 548 |
|
| 549 | ifeq ($(USE_COMM_SDK),yes)
|
| 550 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 551 | _ALL_MDLS_SDK += comm
|
| 552 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/comm/*.o)
|
| 553 | endif
|
| 554 | else
|
| 555 | _ALL_MDLS += comm
|
| 556 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/comm/*.o)
|
| 557 | endif
|
| 558 | endif
|
| 559 |
|
| 560 |
|
| 561 | #===============================================
|
| 562 | # disk
|
| 563 | #===============================================
|
| 564 | ifeq ($(USE_DISK),yes)
|
| 565 | disk:
|
| 566 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/disk
|
| 567 | diskclean:
|
| 568 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/disk clean
|
| 569 |
|
| 570 | ifeq ($(USE_DISK_SDK),yes)
|
| 571 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 572 | _ALL_MDLS_SDK += disk
|
| 573 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/disk/*.o)
|
| 574 | endif
|
| 575 | else
|
| 576 | _ALL_MDLS += disk
|
| 577 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/disk/*.o)
|
| 578 | endif
|
| 579 | endif
|
| 580 |
|
| 581 |
|
| 582 | #===============================================
|
| 583 | # ddrnet
|
| 584 | #===============================================
|
| 585 | ifeq ($(USE_DDRNET),yes)
|
| 586 | ddrnet:
|
| 587 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/ddrnet
|
| 588 | ddrnetclean:
|
| 589 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/ddrnet clean
|
| 590 |
|
| 591 | ifeq ($(USE_DDRNET_SDK),yes)
|
| 592 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 593 | _ALL_MDLS_SDK += ddrnet
|
| 594 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/ddrnet/*.o)
|
| 595 | endif
|
| 596 | else
|
| 597 | _ALL_MDLS += ddrnet
|
| 598 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/ddrnet/*.o)
|
| 599 | endif
|
| 600 | endif
|
| 601 | #===============================================
|
| 602 | # pmic
|
| 603 | #===============================================
|
| 604 |
|
| 605 | ifeq ($(USE_PMIC),yes)
|
| 606 | pmic:
|
| 607 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pmic/$(CHIP_PMIC)
|
| 608 | # @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pmic/$(CHIP_PM)
|
| 609 | pmicclean:
|
| 610 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pmic/$(CHIP_PMIC) clean
|
| 611 | # @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pmic/$(CHIP_PM) clean
|
| 612 |
|
| 613 | ifeq ($(USE_PMIC_SDK),yes)
|
| 614 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 615 | _ALL_MDLS_SDK += pmic
|
| 616 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/pmic/*.o)
|
| 617 | endif
|
| 618 | else
|
| 619 | _ALL_MDLS += pmic
|
| 620 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/pmic/*.o)
|
| 621 | endif
|
| 622 | endif
|
| 623 |
|
| 624 |
|
| 625 | ifeq ($(USE_USBHOST),yes)
|
| 626 | usbhost:
|
| 627 | @$(ECHO) "---Usb Host Drv"
|
| 628 | # @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/core
|
| 629 | # @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/serial
|
| 630 | # @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/hal/$(CHIP_USBHOST)
|
| 631 | @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/ws
|
| 632 | usbhostclean:
|
| 633 | # @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/core clean
|
| 634 | # @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/serial clean
|
| 635 | # @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/hal/$(CHIP_USBHOST) clean
|
| 636 | @$(GNUMAKE) --no-print-directory -C $(CHIP_SRC_PATH)/usb/host/ws clean
|
| 637 |
|
| 638 | ifeq ($(USE_USBHOST_SDK),yes)
|
| 639 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 640 | _ALL_MDLS_SDK += usbhost
|
| 641 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/usbhost/*.o)
|
| 642 | endif
|
| 643 | else
|
| 644 | _ALL_MDLS += usbhost
|
| 645 | #_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/usb/host/core/*.o)
|
| 646 | #_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/usb/host/serial/*.o)
|
| 647 | #_ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/usb/host/hal/$(CHIP_USBHOST)/*.o)
|
| 648 | _ALL_OBJECTS += $(wildcard $(OBJ_PATH)/drv/hal/usb/host/*.o)
|
| 649 | endif
|
| 650 | endif
|
| 651 |
|
| 652 | #===============================================
|
| 653 | # tsc
|
| 654 | #===============================================
|
| 655 |
|
| 656 | ifeq ($(USE_TSC),yes)
|
| 657 | tsc:
|
| 658 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/tsc/$(CHIP_TSC)
|
| 659 | # @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pmic/$(CHIP_PM)
|
| 660 | tscclean:
|
| 661 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/tsc/$(CHIP_TSC) clean
|
| 662 | # @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/pmic/$(CHIP_PM) clean
|
| 663 |
|
| 664 | ifeq ($(USE_TSC_SDK),yes)
|
| 665 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 666 | _ALL_MDLS_SDK += tsc
|
| 667 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/tsc/*.o)
|
| 668 | endif
|
| 669 | else
|
| 670 | _ALL_MDLS += tsc
|
| 671 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/tsc/*.o)
|
| 672 | endif
|
| 673 | endif
|
| 674 |
|
| 675 | #===============================================
|
| 676 | # aud base
|
| 677 | #===============================================
|
| 678 | ifeq ($(USE_AUDIO_BASE),yes)
|
| 679 | audio_base:
|
| 680 | #$(ECHO) audio_base $(USE_AUDIO_BASE)
|
| 681 | #$(ECHO) use_amt $(USE_AMT)
|
| 682 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/audio_base/ws lib
|
| 683 | audio_baseclean:
|
| 684 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/audio_base/ws clean
|
| 685 |
|
| 686 | ifeq ($(USE_AUDIO_BASE_SDK),yes)
|
| 687 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 688 | _ALL_MDLS_SDK += audio_base
|
| 689 | endif
|
| 690 | else
|
| 691 | _ALL_MDLS += audio_base
|
| 692 | endif
|
| 693 | endif
|
| 694 |
|
| 695 | #===============================================
|
| 696 | # charger
|
| 697 | #===============================================
|
| 698 |
|
| 699 | ifeq ($(USE_CHG),yes)
|
| 700 | charger:
|
| 701 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/charger/$(CHIP_CHG)
|
| 702 | chargerclean:
|
| 703 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/charger/$(CHIP_CHG) clean
|
| 704 |
|
| 705 | ifeq ($(USE_CHG_SDK),yes)
|
| 706 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 707 | _ALL_MDLS_SDK += charger
|
| 708 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/charger/*.o)
|
| 709 | endif
|
| 710 | else
|
| 711 | _ALL_MDLS += charger
|
| 712 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/charger/*.o)
|
| 713 | endif
|
| 714 | endif
|
| 715 |
|
| 716 | #===============================================
|
| 717 | # LCD
|
| 718 | #===============================================
|
| 719 |
|
| 720 | ifeq ($(USE_LCD),yes)
|
| 721 | lcd:
|
| 722 | $(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/lcd/$(CHIP_LCD)
|
| 723 | lcdclean:
|
| 724 | $(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/lcd/$(CHIP_LCD) clean
|
| 725 |
|
| 726 | ifeq ($(USE_LCD_SDK),yes)
|
| 727 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 728 | _ALL_MDLS_SDK += lcd
|
| 729 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/lcd/*.o)
|
| 730 | endif
|
| 731 | else
|
| 732 | _ALL_MDLS += lcd
|
| 733 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/lcd/*.o)
|
| 734 | endif
|
| 735 | endif
|
| 736 |
|
| 737 | #===============================================
|
| 738 | # LED
|
| 739 | #===============================================
|
| 740 |
|
| 741 | ifeq ($(USE_LED),yes)
|
| 742 | led:
|
| 743 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/led/$(CHIP_LED)
|
| 744 | ledclean:
|
| 745 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/led/$(CHIP_LED) clean
|
| 746 |
|
| 747 | ifeq ($(USE_LED_SDK),yes)
|
| 748 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 749 | _ALL_MDLS_SDK += led
|
| 750 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/led/*.o)
|
| 751 | endif
|
| 752 | else
|
| 753 | _ALL_MDLS += led
|
| 754 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/led/*.o)
|
| 755 | endif
|
| 756 | endif
|
| 757 |
|
| 758 | #===============================================
|
| 759 | # KPD
|
| 760 | #===============================================
|
| 761 |
|
| 762 | ifeq ($(USE_KPD),yes)
|
| 763 | kpd:
|
| 764 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/kpd/$(CHIP_KPD)
|
| 765 | kpdclean:
|
| 766 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/kpd/$(CHIP_KPD) clean
|
| 767 |
|
| 768 | ifeq ($(USE_KPD_SDK),yes)
|
| 769 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 770 | _ALL_MDLS_SDK += kpd
|
| 771 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/kpd/*.o)
|
| 772 | endif
|
| 773 | else
|
| 774 | _ALL_MDLS += kpd
|
| 775 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/kpd/*.o)
|
| 776 | endif
|
| 777 | endif
|
| 778 |
|
| 779 | #===============================================
|
| 780 | # FM
|
| 781 | #===============================================
|
| 782 |
|
| 783 | ifeq ($(USE_FM),yes)
|
| 784 | fm:
|
| 785 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/fm/$(CHIP_FM)
|
| 786 | fmclean:
|
| 787 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/fm/$(CHIP_FM) clean
|
| 788 |
|
| 789 | ifeq ($(USE_FM_SDK),yes)
|
| 790 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 791 | _ALL_MDLS_SDK += fm
|
| 792 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/fm/*.o)
|
| 793 | endif
|
| 794 | else
|
| 795 | _ALL_MDLS += fm
|
| 796 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/fm/*.o)
|
| 797 | endif
|
| 798 | endif
|
| 799 |
|
| 800 | #===============================================
|
| 801 | # Flashlight
|
| 802 | #===============================================
|
| 803 |
|
| 804 | ifeq ($(USE_FLASHLIGHT),yes)
|
| 805 | flashlight:
|
| 806 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/flashlight/$(CHIP_FLASHLIGHT)
|
| 807 | flashlightclean:
|
| 808 | @$(GNUMAKE) --no-print-directory $(MAKEOPTS) -C $(CHIP_SRC_PATH)/flashlight/$(CHIP_FLASHLIGHT) clean
|
| 809 |
|
| 810 | ifeq ($(USE_FLASHLIGHT_SDK),yes)
|
| 811 | ifeq ($(USE_SDK_COMPILE),yes)
|
| 812 | _ALL_MDLS_SDK += flashlight
|
| 813 | _ALL_OBJECTS_SDK += $(wildcard $(CHIP_OBJ_PATH)/flashlight/*.o)
|
| 814 | endif
|
| 815 | else
|
| 816 | _ALL_MDLS += flashlight
|
| 817 | _ALL_OBJECTS += $(wildcard $(CHIP_OBJ_PATH)/flashlight/*.o)
|
| 818 | endif
|
| 819 | endif
|
| 820 | #============================================
|
| 821 | # ±àÒë¹æÔò
|
| 822 | #============================================
|
| 823 | include $(FRAME_PATH)/rules/lib_rules.mk
|
| 824 |
|
| 825 | #============================================
|
| 826 | # sdk ·â¿â±àÒë¹æÔò
|
| 827 | #============================================
|
| 828 | _SUBSYS_SDK_NAME = drv_sdk
|
| 829 | _SUBSYS_SDK_LIB_PATH = $(DRV_LIB_PATH)
|
| 830 | include $(DRV_PATH)/ws/drv_sdk_lib_rules.mk
|
| 831 | #============================================
|
| 832 | # sdk Ä£¿é·â¿â±àÒë¹æÔò
|
| 833 | #============================================
|
| 834 | #_SUBSYS_SDK_MODULE_NAME = drv_module_sdk
|
| 835 | #include $(DRV_PATH)/ws/drv_sdk_module_lib_rules.mk
|