Merge "check_current_prebuilt: Move symlink file into out/pixel" into main
This commit is contained in:
commit
c7b8062120
1 changed files with 11 additions and 6 deletions
|
@ -1,27 +1,32 @@
|
||||||
|
PIXEL_PREBUILT_SYMLINK_PATH=$(OUT_DIR)/pixel
|
||||||
|
$(shell rm -rf pixel_current_*)
|
||||||
|
$(shell rm -rf $(PIXEL_PREBUILT_SYMLINK_PATH)/pixel_current_*)
|
||||||
|
$(shell mkdir -p $(PIXEL_PREBUILT_SYMLINK_PATH))
|
||||||
|
|
||||||
# Create symlink for bootloader
|
# Create symlink for bootloader
|
||||||
$(shell rm -f "pixel_current_bootloader")
|
$(shell rm -f "pixel_current_bootloader")
|
||||||
ifdef BOOTLOADER_FILE_PATH
|
ifdef BOOTLOADER_FILE_PATH
|
||||||
$(shell ln -sf ${BOOTLOADER_FILE_PATH} "pixel_current_bootloader")
|
$(shell ln -sf ../../${BOOTLOADER_FILE_PATH} $(PIXEL_PREBUILT_SYMLINK_PATH)/"pixel_current_bootloader")
|
||||||
else ifdef BOOTLOADER_RADIO_FILE_PATH
|
else ifdef BOOTLOADER_RADIO_FILE_PATH
|
||||||
$(shell ln -sf ${BOOTLOADER_RADIO_FILE_PATH} "pixel_current_bootloader")
|
$(shell ln -sf ../../${BOOTLOADER_RADIO_FILE_PATH} $(PIXEL_PREBUILT_SYMLINK_PATH)/"pixel_current_bootloader")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Create symlink for kernel
|
# Create symlink for kernel
|
||||||
$(shell rm -f "pixel_current_kernel")
|
$(shell rm -f "pixel_current_kernel")
|
||||||
ifdef TARGET_KERNEL_DIR
|
ifdef TARGET_KERNEL_DIR
|
||||||
$(shell ln -sf ${TARGET_KERNEL_DIR} "pixel_current_kernel")
|
$(shell ln -sf ../../${TARGET_KERNEL_DIR} $(PIXEL_PREBUILT_SYMLINK_PATH)/"pixel_current_kernel")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Create symlink for radio
|
# Create symlink for radio
|
||||||
$(shell rm -f "pixel_current_radio")
|
$(shell rm -f "pixel_current_radio")
|
||||||
ifdef RADIO_FILE_PATH
|
ifdef RADIO_FILE_PATH
|
||||||
$(shell ln -sf ${RADIO_FILE_PATH} "pixel_current_radio")
|
$(shell ln -sf ../../${RADIO_FILE_PATH} $(PIXEL_PREBUILT_SYMLINK_PATH)/"pixel_current_radio")
|
||||||
else ifdef BOOTLOADER_RADIO_FILE_PATH
|
else ifdef BOOTLOADER_RADIO_FILE_PATH
|
||||||
$(shell ln -sf ${BOOTLOADER_RADIO_FILE_PATH} "pixel_current_radio")
|
$(shell ln -sf ../../${BOOTLOADER_RADIO_FILE_PATH} $(PIXEL_PREBUILT_SYMLINK_PATH)/"pixel_current_radio")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Create symlink for radiocfg
|
# Create symlink for radiocfg
|
||||||
$(shell rm -f "pixel_current_radiocfg")
|
$(shell rm -f "pixel_current_radiocfg")
|
||||||
ifdef SRC_MDM_CFG_DIR
|
ifdef SRC_MDM_CFG_DIR
|
||||||
$(shell ln -sf ${SRC_MDM_CFG_DIR} "pixel_current_radiocfg")
|
$(shell ln -sf ../../${SRC_MDM_CFG_DIR} $(PIXEL_PREBUILT_SYMLINK_PATH)/"pixel_current_radiocfg")
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue