[Buildroot] [RFCv1 1/8] musl: new package
Peter Korsgaard
jacmet at uclibc.org
Sun May 4 09:41:50 UTC 2014
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
> package/musl/musl.mk | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 72 insertions(+)
> create mode 100644 package/musl/musl.mk
> +
> +define MUSL_INSTALL_TARGET_CMDS
> + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
> + DESTDIR=$(TARGET_DIR) install-libs
> + mv $(TARGET_DIR)/usr/lib/libc.so $(TARGET_DIR)/lib/
> + $(RM) $(addprefix $(TARGET_DIR)/usr/lib/,crt1.o crtn.o crti.o Scrt1.o)
> +endef
It seems like install-libs doesn't create the dynamic linker symlink? I
atleast couldn't boot a qemu_arm_versatile_defconfig w/ musl build
before I had added a ld-musl-arm.so.1 symlink.
I would have preferred if libc.so was a symlink to musl-$(VERSION).so,
but I guess that's what upstream wants.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list