summaryrefslogtreecommitdiff
path: root/package/util-linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-01 12:20:25 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-01 12:21:28 +0100
commitf5e92fa1beae18fff0476616978a01326887550d (patch)
tree4915ef32ca3e455e98f9059cc9423e21357facad /package/util-linux
parent26ca8cbec685f62af065039b263488cd017bf15c (diff)
util-linux: fix install of tools
Diffstat (limited to 'package/util-linux')
-rw-r--r--package/util-linux/Makefile17
1 files changed, 6 insertions, 11 deletions
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index ab5b1ed52..43e2a7f73 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -106,7 +106,7 @@ HOST_CONFIGURE_ARGS+= --enable-libuuid \
fdisk-install:
$(INSTALL_DIR) $(IDIR_FDISK)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/fdisk $(IDIR_FDISK)/usr/sbin
+ $(CP) $(WRKINST)/sbin/fdisk $(IDIR_FDISK)/usr/sbin
agetty-install:
$(INSTALL_DIR) $(IDIR_AGETTY)/sbin
@@ -114,20 +114,20 @@ agetty-install:
cfdisk-install:
$(INSTALL_DIR) $(IDIR_CFDISK)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/cfdisk $(IDIR_FDISK)/usr/sbin
+ $(CP) $(WRKINST)/sbin/cfdisk $(IDIR_FDISK)/usr/sbin
sfdisk-install:
$(INSTALL_DIR) $(IDIR_SFDISK)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/sfdisk $(IDIR_SFDISK)/usr/sbin
+ $(CP) $(WRKINST)/sbin/sfdisk $(IDIR_SFDISK)/usr/sbin
losetup-install:
$(INSTALL_DIR) $(IDIR_LOSETUP)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/losetup $(IDIR_LOSETUP)/usr/sbin
+ $(CP) $(WRKINST)/sbin/losetup $(IDIR_LOSETUP)/usr/sbin
swap-utils-install:
$(INSTALL_DIR) $(IDIR_SWAP_UTILS)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/mkswap $(IDIR_SWAP_UTILS)/usr/sbin
- $(CP) $(WRKINST)/usr/sbin/swap{on,off} $(IDIR_SWAP_UTILS)/usr/sbin
+ $(CP) $(WRKINST)/sbin/mkswap $(IDIR_SWAP_UTILS)/usr/sbin
+ $(CP) $(WRKINST)/sbin/swap{on,off} $(IDIR_SWAP_UTILS)/usr/sbin
mkfs-install:
$(INSTALL_DIR) $(IDIR_MKFS)/usr/sbin
@@ -144,24 +144,19 @@ mcookie-install:
libuuid-install:
$(INSTALL_DIR) $(IDIR_LIBUUID)/usr/lib
$(CP) $(WRKINST)/lib/libuuid.so* $(IDIR_LIBUUID)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libuuid.so* $(IDIR_LIBUUID)/usr/lib
libblkid-install:
$(INSTALL_DIR) $(IDIR_LIBBLKID)/usr/lib
$(CP) $(WRKINST)/lib/libblkid.so* $(IDIR_LIBBLKID)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libblkid.so* $(IDIR_LIBBLKID)/usr/lib
libfdisk-install:
$(INSTALL_DIR) $(IDIR_LIBFDISK)/usr/lib
$(CP) $(WRKINST)/lib/libfdisk.so* $(IDIR_LIBFDISK)/usr/lib
$(CP) $(WRKINST)/lib/libsmartcols.so* $(IDIR_LIBFDISK)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libfdisk.so* $(IDIR_LIBFDISK)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libsmartcols.so* $(IDIR_LIBFDISK)/usr/lib
libmount-install:
$(INSTALL_DIR) $(IDIR_LIBMOUNT)/usr/lib
$(CP) $(WRKINST)/lib/libmount.so* $(IDIR_LIBMOUNT)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libmount.so* $(IDIR_LIBMOUNT)/usr/lib
include $(ADK_TOPDIR)/mk/host-bottom.mk
include $(ADK_TOPDIR)/mk/pkg-bottom.mk