summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-16 01:05:33 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-16 01:05:33 (EST)
commit94fddb7a25e799c4bd09f87b71ff557435b5d4c1 (patch)
treedd72ccae81845250e9190da4ebbfc9051f430011
parent14d4be2348f2412c1cf14b89bc4121838d6ff90d (diff)
Set CONFIG_PREFIX when installing with kbuild.
-rw-r--r--lib/buildsystem/kbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buildsystem/kbuild.sh b/lib/buildsystem/kbuild.sh
index 362fe05..44ee0a3 100644
--- a/lib/buildsystem/kbuild.sh
+++ b/lib/buildsystem/kbuild.sh
@@ -63,8 +63,9 @@ _oh_kbuild_can_install()
_oh_kbuild_install()
{
+ # BusyBox uses CONFIG_PREFIX. Linux is, of course, different.
_oh_kbuild_update_target 'install' \
- "${@}" "DESTDIR=${_OH_BUILDSYSTEM_DESTDIR}"
+ "CONFIG_PREFIX=${_OH_BUILDSYSTEM_DESTDIR}" "${@}"
}
_oh_kbuild_update_target()