[Buildroot] [PATCH v2 2/2] lockdev: add lockdev
Spenser Gilliland
spenser at gillilanding.com
Tue May 7 21:43:29 UTC 2013
Yann,
> Alphabetical order, please ('o' comes after 'm', as far as I know! ;-) )
Fixed. Will resubmit.
> What is the SONAME of the library? You only need to install the library
> to a file named as the SONAME, not any other symlink is required.
>
> But of course, if "development files on target" are selected you need
> the .so symlink (but devel-files-on-target this is deprecated now).
$ objdump liblockdev.1.0.3.so -p | grep SONAME
SONAME liblockdev.so.1
So, just install liblockdev.so.1 . This needs to be changed in the
TARGET_CMDS not the STAGING_CMDS, correct? IE.
+define LOCKDEV_INSTALL_TARGET_CMDS
+ $(MAKE1) basedir=$(TARGET_DIR)/usr -C $(@D) install
+ ln -sf $(TARGET_DIR)/usr/lib/liblockdev.$(LOCKDEV_VERSION).so
$(TARGET_DIR)/usr/lib/liblockdev.so.1
Thanks, I'll shoot another patch out soon.
Spenser
More information about the buildroot
mailing list