mpc: ensure mpfr/gmp are built before mpc

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2010-11-05 07:11:40 +01:00
parent 6d3342e415
commit df3f8bb35a
2 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,7 @@ config BR2_PACKAGE_LIBMPC
Mpc is a C library for the arithmetic of complex numbers with Mpc is a C library for the arithmetic of complex numbers with
arbitrarily high precision and correct rounding of the result. arbitrarily high precision and correct rounding of the result.
It is built upon and follows the same principles as Mpfr. It is built upon and follows the same principles as Mpfr.
http://www.multiprecision.org/ http://www.multiprecision.org/

View File

@ -1,5 +1,3 @@
#libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
############################################################# #############################################################
# #
# mpc # mpc
@ -60,7 +58,7 @@ ifeq ($(BR2_PACKAGE_LIBMPC_HEADERS),y)
cp -dpf $(STAGING_DIR)/usr/include/mpc.h $(TARGET_DIR)/usr/include/ cp -dpf $(STAGING_DIR)/usr/include/mpc.h $(TARGET_DIR)/usr/include/
endif endif
libmpc: $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT) libmpc: libgmp libmpfr $(TARGET_DIR)/usr/lib/libmpc$(LIBTGTEXT)
stage-libmpc: $(STAGING_DIR)/usr/lib/$(MPC_BINARY) stage-libmpc: $(STAGING_DIR)/usr/lib/$(MPC_BINARY)
libmpc-clean: libmpc-clean: