Commit dd15877a authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Peter Korsgaard
Browse files

bzip2: ensure target directories exist before copying into



Also simply installation rules a little

[Peter: leave in busybox install fix]
Signed-off-by: default avatarLionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 8c9476d7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
	Ccache support reworked. Now used for both host and target
	compilation, and cache is stored in ~/.buildroot-ccache.

	Updated/fixed packages: at, busybox, dbus, cloop, cups,
	Updated/fixed packages: at, busybox, bzip2, dbus, cloop, cups,
	gdk-pixbuf, hostapd, i2c-tools, libconfig, m4, openssh,
	openssl, pango, qt, rsync, sdl_gfx, sdl_sound, udev, usbutils,
	xz, zlib
+3 −1
Original line number Diff line number Diff line
@@ -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/; \