diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-04-01 14:25:29 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-04-01 14:25:29 +0000 |
commit | ec02c6dd9077718c8177b1d81e9e1edcd0e40701 (patch) | |
tree | d520a56535feab51fc88ee77d4bb9fb26fde6d43 | |
parent | 54d981bccb88c4be77ff2874bcd08da58d36213f (diff) | |
download | mtk-20170518-ec02c6dd9077718c8177b1d81e9e1edcd0e40701.zip mtk-20170518-ec02c6dd9077718c8177b1d81e9e1edcd0e40701.tar.gz mtk-20170518-ec02c6dd9077718c8177b1d81e9e1edcd0e40701.tar.bz2 |
add a package for the udev vol_id utility (thx, fish)
SVN-Revision: 10697
-rw-r--r-- | package/udev/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/udev/Makefile b/package/udev/Makefile index 9fcf9cf..127880b 100644 --- a/package/udev/Makefile +++ b/package/udev/Makefile @@ -37,6 +37,11 @@ $(call Package/udev) TITLE:=Small utility to request kernel devices events for coldplug endef +define Package/udev-vol-id +$(call Package/udev) + TITLE:=Small utility to read volume ids +endef + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ CROSS_COMPILE="$(TARGET_CROSS)" \ @@ -44,6 +49,7 @@ define Build/Compile OPTFLAGS="$(TARGET_CFLAGS)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ INSTALL="install -c" \ + EXTRAS="extras/volume_id" \ all install endef @@ -66,6 +72,13 @@ define Package/udevtrigger/install $(INSTALL_DIR) $(1)/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/sbin/udevtrigger $(1)/sbin/ endef +define Package/udev-vol-id/install + $(INSTALL_DIR) $(1)/sbin + $(INSTALL_DIR) $(1)/lib + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/libvolume_id.so* $(1)/lib/ + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/lib/udev/vol_id $(1)/sbin/ +endef $(eval $(call BuildPackage,udev)) $(eval $(call BuildPackage,udevtrigger)) +$(eval $(call BuildPackage,udev-vol-id)) |