diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-28 16:54:30 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-11-28 16:54:30 +0000 |
commit | 3a65d24db5d239a2f9273cc4af87f292ef4414e9 (patch) | |
tree | e8eb174ece15b2761c41090c9b932b7f1f033403 /package/gmp | |
parent | 784e010f2da834b6748e5521e2948880c0cff27e (diff) |
- add "lib" prefix
Diffstat (limited to 'package/gmp')
-rw-r--r-- | package/gmp/Config.in | 6 | ||||
-rw-r--r-- | package/gmp/gmp.mk | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/package/gmp/Config.in b/package/gmp/Config.in index 9e15ea37a..41d5ee82a 100644 --- a/package/gmp/Config.in +++ b/package/gmp/Config.in @@ -1,4 +1,4 @@ -config BR2_PACKAGE_GMP +config BR2_PACKAGE_LIBGMP bool "gmp" default n help @@ -7,10 +7,10 @@ config BR2_PACKAGE_GMP http://www.swox.com/gmp/ -config BR2_PACKAGE_GMP_HEADERS +config BR2_PACKAGE_LIBGMP_HEADERS bool "gmp headers for target" default n - depends on BR2_PACKAGE_GMP + depends on BR2_PACKAGE_LIBGMP help Install the gmp.h for the target. diff --git a/package/gmp/gmp.mk b/package/gmp/gmp.mk index 07fab8861..21e1433e8 100644 --- a/package/gmp/gmp.mk +++ b/package/gmp/gmp.mk @@ -20,7 +20,7 @@ endif $(DL_DIR)/$(GMP_SOURCE): $(WGET) -P $(DL_DIR) $(GMP_SITE)/$(GMP_SOURCE) -gmp-source: $(DL_DIR)/$(GMP_SOURCE) +libgmp-source: $(DL_DIR)/$(GMP_SOURCE) $(GMP_DIR)/.unpacked: $(DL_DIR)/$(GMP_SOURCE) $(GMP_CAT) $(DL_DIR)/$(GMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - @@ -75,20 +75,20 @@ $(STAGING_DIR)/lib/$(GMP_BINARY): $(GMP_DIR)/.libs/$(GMP_BINARY) $(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) +ifeq ($(BR2_PACKAGE_LIBGMP_HEADERS),y) 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 -gmp: uclibc $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION) +libgmp: uclibc $(TARGET_DIR)/lib/libgmp.so.$(GMP_LIBVERSION) -gmp-clean: +libgmp-clean: rm -f $(TARGET_DIR)/lib/$(GMP_BINARY) -$(MAKE) -C $(GMP_DIR) clean -gmp-dirclean: +libgmp-dirclean: rm -rf $(GMP_DIR) ############################################################# @@ -96,6 +96,6 @@ gmp-dirclean: # Toplevel Makefile options # ############################################################# -ifeq ($(strip $(BR2_PACKAGE_GMP)),y) -TARGETS+=gmp +ifeq ($(strip $(BR2_PACKAGE_LIBGMP)),y) +TARGETS+=libgmp endif |