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
parent
4d69bd7696
commit
b72e27c842
|
@ -1237,21 +1237,9 @@ SPI, I2C, JTAG.")
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-installation-paths
|
(add-after 'unpack 'patch-installation-paths
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* '("Makefile"
|
(substitute* (cons* "miscutil/c139explore"
|
||||||
"rvinterf/etmsync/fsiomain.c"
|
"miscutil/pirexplore"
|
||||||
"rvinterf/etmsync/fsnew.c"
|
(find-files "." "^(.*\\.[ch]|Makefile)$"))
|
||||||
"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")
|
|
||||||
(("/opt/freecalypso/bin/fc-simtool")
|
(("/opt/freecalypso/bin/fc-simtool")
|
||||||
"fc-simtool")
|
"fc-simtool")
|
||||||
(("/opt/freecalypso/bin/fc-uicc-tool")
|
(("/opt/freecalypso/bin/fc-uicc-tool")
|
||||||
|
|
Reference in New Issue