me
/
guix
Archived
1
0
Fork 0

gnu: fc-host-tools: Make installation path patcher more self-maintaining.

* gnu/packages/embedded.scm (fc-host-tools)[arguments]<#:phases>
[patch-installation-paths]: Make phase more self-maintaining.
master
Danny Milosavljevic 2021-05-18 15:55:12 +02:00
parent 4d69bd7696
commit b72e27c842
No known key found for this signature in database
GPG Key ID: E71A35542C30BAA5
1 changed files with 3 additions and 15 deletions

View File

@ -1237,21 +1237,9 @@ SPI, I2C, JTAG.")
(modify-phases %standard-phases
(add-after 'unpack 'patch-installation-paths
(lambda* (#:key outputs #:allow-other-keys)
(substitute* '("Makefile"
"rvinterf/etmsync/fsiomain.c"
"rvinterf/etmsync/fsnew.c"
"rvinterf/asyncshell/help.c"
"rvinterf/libinterf/launchrvif.c"
"loadtools/bpmain.c"
"loadtools/defpath.c"
"loadtools/romdump.c"
"loadtools/lthelp.c"
"loadtools/simmain.c"
"loadtools/Makefile"
"miscutil/c139explore"
"miscutil/pirexplore"
"ffstools/tiffs-wrappers/installpath.c"
"uptools/atcmd/atinterf.c")
(substitute* (cons* "miscutil/c139explore"
"miscutil/pirexplore"
(find-files "." "^(.*\\.[ch]|Makefile)$"))
(("/opt/freecalypso/bin/fc-simtool")
"fc-simtool")
(("/opt/freecalypso/bin/fc-uicc-tool")