1# Create symlink for bootloader
2$(shell rm -f "pixel_current_bootloader")
3ifdef BOOTLOADER_FILE_PATH
4$(shell ln -sf ${BOOTLOADER_FILE_PATH} "pixel_current_bootloader")
5else ifdef BOOTLOADER_RADIO_FILE_PATH
6$(shell ln -sf ${BOOTLOADER_RADIO_FILE_PATH} "pixel_current_bootloader")
7endif
8
9# Create symlink for kernel
10$(shell rm -f "pixel_current_kernel")
11ifdef TARGET_KERNEL_DIR
12$(shell ln -sf ${TARGET_KERNEL_DIR} "pixel_current_kernel")
13endif
14
15# Create symlink for radio
16$(shell rm -f "pixel_current_radio")
17ifdef RADIO_FILE_PATH
18$(shell ln -sf ${RADIO_FILE_PATH} "pixel_current_radio")
19else ifdef BOOTLOADER_RADIO_FILE_PATH
20$(shell ln -sf ${BOOTLOADER_RADIO_FILE_PATH} "pixel_current_radio")
21endif
22
23# Create symlink for radiocfg
24$(shell rm -f "pixel_current_radiocfg")
25ifdef SRC_MDM_CFG_DIR
26$(shell ln -sf ${SRC_MDM_CFG_DIR} "pixel_current_radiocfg")
27endif
28