[Buildroot] svn commit: trunk/buildroot/package/zlib
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Oct 31 15:31:50 UTC 2008
Le Fri, 31 Oct 2008 05:10:11 -0700 (PDT),
correa at uclibc.org a écrit :
> $(STAGING_DIR)/usr/lib/libz.so: $(ZLIB_DIR)/libz.so
> - cp -dpf $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/
> - cp -dpf $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/
> - cp -dpf $(ZLIB_DIR)/zconf.h $(STAGING_DIR)/usr/include/
> - cp -dpf $(ZLIB_DIR)/libz.so* $(STAGING_DIR)/usr/lib/
> + $(INSTALL) -D $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/
This doesn't work: even with the -D option, it doesn't create the
intermediate directories. It should be:
$(INSTALL) -D $(ZLIB_DIR)/libz.a $(STAGING_DIR)/usr/lib/libz.a
> + $(INSTALL) -D $(ZLIB_DIR)/zlib.h $(STAGING_DIR)/usr/include/
Same thing here.
Cheers,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list