grub2: install in $(HOST_DIR) instead of $(HOST_DIR)/usr
authorArnout Vandecappelle <arnout@mind.be>
Wed, 5 Jul 2017 11:14:47 +0000 (13:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 5 Jul 2017 14:06:47 +0000 (16:06 +0200)
commit6895400fd23831342c9ca79c14eb102943772fa2
treeff34d1dc43114f17dd8d4b786c39d3e994a121bf
parent7a03760bbe5382e0f64f662dc4d183c416d96381
grub2: install in $(HOST_DIR) instead of $(HOST_DIR)/usr

grub2 builds for the target but installs with DESTDIR=$(HOST_DIR). Since
we set prefix to /usr in TARGET_CONF_OPTS, this results in installing
things in $(HOST_DIR)/usr.

To make sure we don't install in $(HOST_DIR)/usr, override --prefix and
--exec-prefix.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
boot/grub2/grub2.mk