Skip to contentSkip to conversation

Fix 'make install' from non-srcdir build

PATCH Applied Amit Shah 2 participants 2 messages Feb 26, 2010 – Feb 27, 2010 Kbuild

lore
Share & tools
lore

Amit Shah

author
#0 lore raw

PATCH 1/1 Fix 'make install' from non-srcdir build

Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index 296f500..14c1930 100644
@@ -207,7 +207,7 @@ endif
 
 install-sysconfig:
 	$(INSTALL_DIR) "$(sysconfdir)/qemu"
-	$(INSTALL_DATA) sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
+	$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
 
 install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
 	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
Signature · 1 line
1.6.2.5
#1 lore raw
Quoted 3 lines · Amit Shah

Commit b5ec5ce0 broke 'make install' from non source-dir build. Fix.

Thanks, applied.

Quoted 23 lines
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile +1 -1
index 296f500..14c1930 100644
@@ -207,7 +207,7 @@ endif
 
 install-sysconfig:
 	$(INSTALL_DIR) "$(sysconfdir)/qemu"
-	$(INSTALL_DATA) sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
+	$(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
 
 install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
 	$(INSTALL_DIR) "$(DESTDIR)$(bindir)"
Signature · 1 line
1.6.2.5
Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net