make_device_config.sh: Fix target path in generated dependency file
PATCH 1/1 make_device_config.sh: Fix target path in generated dependency file
config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual config-devices.mak. Symptoms were spurious dependency issues with default-configs/pci.mak.
Fix by using basename to strip the directory path.
---
Seems I forgot to send this out before 1.1...
scripts/make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/make_device_config.sh +1 -1
@@ -25,4 +25,4 @@ done process_includes $src > $dest cat $src $all_includes | grep -v '^include' > $dest -echo "$1: $all_includes" > $dep +echo "`basename $1`: $all_includes" > $dep
Signature · 1 line
1.7.7
Has it been applied to anything? I don't think so. Is it still needed?
Thanks,
/mjt
Quoted 25 lines · Andreas Färber
config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual config-devices.mak. Symptoms were spurious dependency issues with default-configs/pci.mak.
Fix by using
basenameto strip the directory path.Reported-by Gerhard Wiesinger <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
Seems I forgot to send this out before 1.1...scripts/make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scripts/make_device_config.sh +1
-1@@ -25,4 +25,4 @@ done process_includes $src > $dest cat $src $all_includes | grep -v '^include' > $dest -echo "$1: $all_includes" > $dep +echo "`basename $1`: $all_includes" > $dep
Am 18.09.2012 14:29, schrieb Michael Tokarev:
Quoted 2 lines
Has it been applied to anything? I don't think so. Is it still needed?
Not in qemu.git yet, still applicable AFAICT. CC'ing Paolo.
/-F
Quoted 32 lines
Thanks,
/mjt
Quoted 25 lines · Andreas Färber
config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual config-devices.mak. Symptoms were spurious dependency issues with default-configs/pci.mak.
Fix by using
basenameto strip the directory path.Reported-by Gerhard Wiesinger <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
Seems I forgot to send this out before 1.1...scripts/make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scripts/make_device_config.sh +1
-1@@ -25,4 +25,4 @@ done process_includes $src > $dest cat $src $all_includes | grep -v '^include' > $dest -echo "$1: $all_includes" > $dep +echo "`basename $1`: $all_includes" > $dep
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Ping?
/mjt
Quoted 42 lines · Andreas Färber
Am 18.09.2012 14:29, schrieb Michael Tokarev:
Quoted 2 lines
Has it been applied to anything? I don't think so. Is it still needed?
Not in qemu.git yet, still applicable AFAICT. CC'ing Paolo.
/-F
Quoted 32 lines
Thanks,
/mjt
Quoted 25 lines · Andreas Färber
config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual config-devices.mak. Symptoms were spurious dependency issues with default-configs/pci.mak.
Fix by using
basenameto strip the directory path.Reported-by Gerhard Wiesinger <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
Seems I forgot to send this out before 1.1...scripts/make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scripts/make_device_config.sh +1
-1@@ -25,4 +25,4 @@ done process_includes $src > $dest cat $src $all_includes | grep -v '^include' > $dest -echo "$1: $all_includes" > $dep +echo "`basename $1`: $all_includes" > $dep
Quoted 1 line · Michael Tokarev
Ping?
Ping.
Fix still applicable for 1.3, also looking to pull it in for 1.2.2.
Quoted 48 lines
/mjt
Quoted 42 lines · Andreas Färber
Am 18.09.2012 14:29, schrieb Michael Tokarev:
Quoted 2 lines
Has it been applied to anything? I don't think so. Is it still needed?
Not in qemu.git yet, still applicable AFAICT. CC'ing Paolo.
/-F
Quoted 32 lines
Thanks,
/mjt
Quoted 25 lines · Andreas Färber
config-devices.mak.d is included from Makefile.target, i.e. from inside the *-softmmu/ directory. It included the directory path, so never applied to the actual config-devices.mak. Symptoms were spurious dependency issues with default-configs/pci.mak.
Fix by using
basenameto strip the directory path.Reported-by Gerhard Wiesinger <[email protected]>Signed-off-by Andreas Färber <[email protected]>---
Seems I forgot to send this out before 1.1...scripts/make_device_config.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)scripts/make_device_config.sh +1
-1@@ -25,4 +25,4 @@ done process_includes $src > $dest cat $src $all_includes | grep -v '^include' > $dest -echo "$1: $all_includes" > $dep +echo "`basename $1`: $all_includes" > $dep