[Buildroot] [PATCH 16/17] bzip2: ensure target directories exist before copying into
Peter Korsgaard
jacmet at uclibc.org
Sun Dec 12 23:08:42 UTC 2010
>>>>> "llandwerlin" == llandwerlin <llandwerlin at gmail.com> writes:
llandwerlin> From: Lionel Landwerlin <llandwerlin at gmail.com>
llandwerlin> Also simply installation rules a little
llandwerlin> -# make sure busybox doesn't get overwritten by make install
llandwerlin> define BZIP2_INSTALL_TARGET_CMDS
llandwerlin> - rm -f $(addprefix $(TARGET_DIR)/usr/bin/,bzip2 bunzip2 bzcat)
llandwerlin> $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
llandwerlin> $(MAKE) PREFIX=$(TARGET_DIR)/usr -C $(@D) install
llandwerlin> cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(TARGET_DIR)/usr/lib/
Please don't, as this breaks busybox as long as we use a shared
TARGET_DIR (see 3917ab310490)
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list