summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:51:17 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 11:51:17 +0000
commit56fadb2259e6ac69f6592be544bcc91c1b91c29b (patch)
tree1127f3562fb8868ed97219434c5b916358230c0b
parentad8547af5b519870e43ee5e586e1723a7f4b57e8 (diff)
- Typo fix: copy headers to the correct location on the target.
-rw-r--r--package/gmp/gmp.mk3
-rw-r--r--package/mpfr/mpfr.mk2
2 files changed, 3 insertions, 2 deletions
diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk
index c74fd6eeb..2344b8d14 100644
--- a/package/gmp/gmp.mk
+++ b/package/gmp/gmp.mk
@@ -76,7 +76,8 @@ $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION): $(STAGING_DIR)/lib/$(GMP_BINARY)
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
diff --git a/package/mpfr/mpfr.mk b/package/mpfr/mpfr.mk
index ebc167389..d31b13494 100644
--- a/package/mpfr/mpfr.mk
+++ b/package/mpfr/mpfr.mk
@@ -83,7 +83,7 @@ $(TARGET_DIR)/lib/libmpfr.so.$(MPFR_LIBVERSION): $(STAGING_DIR)/lib/$(MPFR_BINAR
$(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