summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-07-05 13:14:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 15:20:05 +0200
commit19ba17ee3ba946ac865849df89d7c2988ea5aca9 (patch)
treeab5ad66f2dff9a2f138c850ce7a3436d35bf95a3 /boot
parent1eb57df2b2eb965d58dc3d08a35238aa41af9e54 (diff)
downloadbuildroot-19ba17ee3ba946ac865849df89d7c2988ea5aca9.tar.gz
buildroot-19ba17ee3ba946ac865849df89d7c2988ea5aca9.zip
Globally replace $(HOST_DIR)/usr/lib with $(HOST_DIR)/lib
Since things are no longer installed in $(HOST_DIR)/usr, the callers should also not refer to it. This is a mechanical change with git grep -l '$(HOST_DIR)/usr/lib' | xargs sed -i 's%$(HOST_DIR)/usr/lib%$(HOST_DIR)/lib%g' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/grub2/grub2.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot/grub2/grub2.mk b/boot/grub2/grub2.mk
index 163b8a58a6..5082ececdd 100644
--- a/boot/grub2/grub2.mk
+++ b/boot/grub2/grub2.mk
@@ -79,7 +79,7 @@ GRUB2_INSTALL_TARGET_OPTS = DESTDIR=$(HOST_DIR) install
ifeq ($(BR2_TARGET_GRUB2_I386_PC),y)
define GRUB2_IMAGE_INSTALL_ELTORITO
- cat $(HOST_DIR)/usr/lib/grub/$(GRUB2_TUPLE)/cdboot.img $(GRUB2_IMAGE) > \
+ cat $(HOST_DIR)/lib/grub/$(GRUB2_TUPLE)/cdboot.img $(GRUB2_IMAGE) > \
$(BINARIES_DIR)/grub-eltorito.img
endef
endif
@@ -87,7 +87,7 @@ endif
define GRUB2_IMAGE_INSTALLATION
mkdir -p $(dir $(GRUB2_IMAGE))
$(HOST_DIR)/bin/grub-mkimage \
- -d $(HOST_DIR)/usr/lib/grub/$(GRUB2_TUPLE) \
+ -d $(HOST_DIR)/lib/grub/$(GRUB2_TUPLE) \
-O $(GRUB2_TUPLE) \
-o $(GRUB2_IMAGE) \
-p "$(GRUB2_PREFIX)" \
OpenPOWER on IntegriCloud