mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
bzip2: ensure target directories exist before copying into
Also simply installation rules a little [Peter: leave in busybox install fix] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
8c9476d72c
commit
dd15877ace
@@ -39,7 +39,9 @@ define BZIP2_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define BZIP2_INSTALL_STAGING_CMDS
|
||||
cp $(@D)/bzlib.h $(STAGING_DIR)/usr/include/
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) \
|
||||
$(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/lib
|
||||
cp $(@D)/libbz2.so.$(BZIP2_SONAME) $(STAGING_DIR)/usr/lib/
|
||||
cp $(@D)/libbz2.a $(STAGING_DIR)/usr/lib/
|
||||
(cd $(STAGING_DIR)/usr/lib/; \
|
||||
|
||||
Reference in New Issue
Block a user