svn commit: trunk/buildroot/package: gmp mpfr
Author: aldot
Date: 2006-11-17 03:51:17 -0800 (Fri, 17 Nov 2006) New Revision: 16556
Log:
- Typo fix: copy headers to the correct location on the target.
Modified:
trunk/buildroot/package/gmp/gmp.mk
trunk/buildroot/package/mpfr/mpfr.mk
Changeset:
Modified: trunk/buildroot/package/gmp/gmp.mk
===================================================================
buildroot/package/gmp/gmp.mk +2 -1
@@ -76,7 +76,8 @@ cp -a $(STAGING_DIR)/lib/libgmp.so* $(STAGING_DIR)/lib/libgmp.a \ $(TARGET_DIR)/lib/ ifeq ($(BR2_PACKAGE_GMP_HEADERS),y) - cp -a $(STAGING_DIR)/include/gmp.h $(TARGET_DIR)/include/ + test -d $(TARGET_DIR)/usr/include || mkdir -p $(TARGET_DIR)/usr/include + cp -a $(STAGING_DIR)/include/gmp.h $(TARGET_DIR)/usr/include/ endif $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libgmp.so* \ $(TARGET_DIR)/lib/libgmp.a
Modified: trunk/buildroot/package/mpfr/mpfr.mk
===================================================================
buildroot/package/mpfr/mpfr.mk +1 -1
@@ -83,7 +83,7 @@ $(TARGET_DIR)/lib/ ifeq ($(BR2_PACKAGE_MPFR_HEADERS),y) cp -a $(STAGING_DIR)/include/mpfr.h $(STAGING_DIR)/include/mpf2mpfr.h \ - $(TARGET_DIR)/include/ + $(TARGET_DIR)/usr/include/ endif $(STRIP) --strip-unneeded $(TARGET_DIR)/lib/libmpfr.so* \ $(TARGET_DIR)/lib/libmpfr.a