提交 990caaf1 编写于 作者: A Andre Przywara 提交者: Aurelien Jarno

install: honor DESTDIR on sysconfdir population

When creating and populating $sysconfdir, we should prepend $DESTDIR
as we do with all other paths.
Reported-by: NFrank Arnold <frank.arnold@amd.com>
Signed-off-by: NAndre Przywara <andre.przywara@amd.com>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 ca2fb938
......@@ -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)"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册