-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
g5: Symlink all the necessary RFS firmwares
* Remove unused wcd9320 fimrware
- Loading branch information
Showing
2 changed files
with
67 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
######################################################################### | ||
# Create Folder Structure | ||
######################################################################### | ||
|
||
$(shell rm -rf $(TARGET_OUT)/rfs/) | ||
|
||
#To be enabled when prepopulation support is needed for the read_write folder | ||
# $(shell rm -rf $(TARGET_OUT_DATA)/rfs/) | ||
# $(shell mkdir -p $(TARGET_OUT_DATA)/rfs/msm/mpss/) | ||
# $(shell mkdir -p $(TARGET_OUT_DATA)/rfs/msm/adsp/) | ||
# $(shell mkdir -p $(TARGET_OUT_DATA)/rfs/mdm/mpss/) | ||
# $(shell mkdir -p $(TARGET_OUT_DATA)/rfs/mdm/adsp/) | ||
|
||
######################################################################### | ||
# MSM Folders | ||
######################################################################### | ||
$(shell mkdir -p $(TARGET_OUT)/rfs/msm/mpss/readonly) | ||
$(shell mkdir -p $(TARGET_OUT)/rfs/msm/adsp/readonly) | ||
|
||
$(shell ln -s /data/tombstones/modem $(TARGET_OUT)/rfs/msm/mpss/ramdumps) | ||
$(shell ln -s /persist/rfs/msm/mpss $(TARGET_OUT)/rfs/msm/mpss/readwrite) | ||
$(shell ln -s /persist/rfs/shared $(TARGET_OUT)/rfs/msm/mpss/shared) | ||
$(shell ln -s /persist/hlos_rfs/shared $(TARGET_OUT)/rfs/msm/mpss/hlos) | ||
$(shell ln -s /firmware $(TARGET_OUT)/rfs/msm/mpss/readonly/firmware) | ||
|
||
$(shell ln -s /data/tombstones/lpass $(TARGET_OUT)/rfs/msm/adsp/ramdumps) | ||
$(shell ln -s /persist/rfs/msm/adsp $(TARGET_OUT)/rfs/msm/adsp/readwrite) | ||
$(shell ln -s /persist/rfs/shared $(TARGET_OUT)/rfs/msm/adsp/shared) | ||
$(shell ln -s /persist/hlos_rfs/shared $(TARGET_OUT)/rfs/msm/adsp/hlos) | ||
$(shell ln -s /firmware $(TARGET_OUT)/rfs/msm/adsp/readonly/firmware) | ||
|
||
######################################################################### | ||
# MDM Folders | ||
######################################################################### | ||
$(shell mkdir -p $(TARGET_OUT)/rfs/mdm/mpss/readonly) | ||
$(shell mkdir -p $(TARGET_OUT)/rfs/mdm/adsp/readonly) | ||
$(shell mkdir -p $(TARGET_OUT)/rfs/mdm/sparrow/readonly) | ||
|
||
$(shell ln -s /data/tombstones/modem $(TARGET_OUT)/rfs/mdm/mpss/ramdumps) | ||
$(shell ln -s /persist/rfs/mdm/mpss $(TARGET_OUT)/rfs/mdm/mpss/readwrite) | ||
$(shell ln -s /persist/rfs/shared $(TARGET_OUT)/rfs/mdm/mpss/shared) | ||
$(shell ln -s /persist/hlos_rfs/shared $(TARGET_OUT)/rfs/mdm/mpss/hlos) | ||
$(shell ln -s /firmware $(TARGET_OUT)/rfs/mdm/mpss/readonly/firmware) | ||
|
||
$(shell ln -s /data/tombstones/lpass $(TARGET_OUT)/rfs/mdm/adsp/ramdumps) | ||
$(shell ln -s /persist/rfs/mdm/adsp $(TARGET_OUT)/rfs/mdm/adsp/readwrite) | ||
$(shell ln -s /persist/rfs/shared $(TARGET_OUT)/rfs/mdm/adsp/shared) | ||
$(shell ln -s /persist/hlos_rfs/shared $(TARGET_OUT)/rfs/mdm/adsp/hlos) | ||
$(shell ln -s /firmware $(TARGET_OUT)/rfs/mdm/adsp/readonly/firmware) | ||
|
||
$(shell ln -s /data/tombstones/sparrow $(TARGET_OUT)/rfs/mdm/sparrow/ramdumps) | ||
$(shell ln -s /persist/rfs/mdm/sparrow $(TARGET_OUT)/rfs/mdm/sparrow/readwrite) | ||
$(shell ln -s /persist/rfs/shared $(TARGET_OUT)/rfs/mdm/sparrow/shared) | ||
$(shell ln -s /persist/hlos_rfs/shared $(TARGET_OUT)/rfs/mdm/sparrow/hlos) | ||
$(shell ln -s /firmware $(TARGET_OUT)/rfs/mdm/sparrow/readonly/firmware) | ||
|
||
######################################################################### | ||
# APQ Folders | ||
######################################################################### | ||
$(shell mkdir -p $(TARGET_OUT)/rfs/apq/gnss/readonly) | ||
|
||
$(shell ln -s /data/tombstones/modem $(TARGET_OUT)/rfs/apq/gnss/ramdumps) | ||
$(shell ln -s /persist/rfs/apq/gnss $(TARGET_OUT)/rfs/apq/gnss/readwrite) | ||
$(shell ln -s /persist/rfs/shared $(TARGET_OUT)/rfs/apq/gnss/shared) | ||
$(shell ln -s /persist/hlos_rfs/shared $(TARGET_OUT)/rfs/apq/gnss/hlos) | ||
$(shell ln -s /firmware $(TARGET_OUT)/rfs/apq/gnss/readonly/firmware) |