Skip to content

Commit 17f8d77

Browse files
committed
picodrive: add patch to remove temporary getoffs files
removes a temporary file stored in /tmp. reason: if a different user on the same system tries to build picodrive, they don't have the write permission to the already existing file and the compilation fails
1 parent c5c48a2 commit 17f8d77

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
diff --git a/tools/mkoffsets.sh b/tools/mkoffsets.sh
2+
index d9a8db5..b82d6eb 100755
3+
--- a/tools/mkoffsets.sh
4+
+++ b/tools/mkoffsets.sh
5+
@@ -165,3 +165,4 @@ get_define OFS_SH2_ SH2_ p_rom ; echo "$line" >>$fn
6+
get_define OFS_SH2_ SH2_ p_dram ; echo "$line" >>$fn
7+
get_define OFS_SH2_ SH2_ p_drcblk_da ; echo "$line" >>$fn
8+
get_define OFS_SH2_ SH2_ p_drcblk_ram ; echo "$line" >>$fn
9+
+rm -f /tmp/getoffs.*

0 commit comments

Comments
 (0)