qemu-stable
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-stable] [PATCH RESEND for-1.4] make_device_config.sh: Fix target p


From: Andreas Färber
Subject: [Qemu-stable] [PATCH RESEND for-1.4] make_device_config.sh: Fix target path in generated dependency file
Date: Thu, 24 Jan 2013 16:47:55 +0100

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
build failures due to missing dependency on default-configs/pci.mak.

Fix this by using `basename` to strip the directory path.

Reported-by: Gerhard Wiesinger <address@hidden>
Cc: address@hidden
Signed-off-by: Andreas Färber <address@hidden>
---
 scripts/make_device_config.sh |    2 +-
 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)

diff --git a/scripts/make_device_config.sh b/scripts/make_device_config.sh
index 5d14885..0778fe2 100644
--- a/scripts/make_device_config.sh
+++ b/scripts/make_device_config.sh
@@ -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
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]