summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2010-03-08 15:43:41 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-03-13 12:09:25 +0100
commit990caaf19c73d6e82c78bfd144a403c35525085a (patch)
tree5bcc9870fd0bcf9b8eb8dd1e168efeac2a34dbc4 /Makefile
parentca2fb938cdf686c4f8278974fbb6eaf2573f8f8f (diff)
install: honor DESTDIR on sysconfdir population
When creating and populating $sysconfdir, we should prepend $DESTDIR as we do with all other paths. Reported-by: Frank Arnold <frank.arnold@amd.com> Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index bf2cef2ab5..2066c12dee 100644
--- a/Makefile
+++ b/Makefile
@@ -194,8 +194,8 @@ ifdef CONFIG_POSIX
endif
install-sysconfig:
- $(INSTALL_DIR) "$(sysconfdir)/qemu"
- $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(sysconfdir)/qemu"
+ $(INSTALL_DIR) "$(DESTDIR)$(sysconfdir)/qemu"
+ $(INSTALL_DATA) $(SRC_PATH)/sysconfigs/target/target-x86_64.conf "$(DESTDIR)$(sysconfdir)/qemu"
install: all $(if $(BUILD_DOCS),install-doc) install-sysconfig
$(INSTALL_DIR) "$(DESTDIR)$(bindir)"