summaryrefslogtreecommitdiffstats
path: root/package/libglib12/libglib12.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-30 07:06:12 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2008-03-30 07:06:12 +0000
commita778e32b8e97c68559afef15ab30a6c14b25e490 (patch)
tree7f052e96c715d78a859ee6a55fdd48875a7ca4ca /package/libglib12/libglib12.mk
parentefd8576c2e4639b5c11c3aa2163c755baf58a6a8 (diff)
downloadbuildroot-novena-a778e32b8e97c68559afef15ab30a6c14b25e490.tar.gz
buildroot-novena-a778e32b8e97c68559afef15ab30a6c14b25e490.zip
libglib12 cleanup
Diffstat (limited to 'package/libglib12/libglib12.mk')
-rw-r--r--package/libglib12/libglib12.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/package/libglib12/libglib12.mk b/package/libglib12/libglib12.mk
index e2492f989..5ced37139 100644
--- a/package/libglib12/libglib12.mk
+++ b/package/libglib12/libglib12.mk
@@ -13,13 +13,11 @@ LIBGLIB12_BINARY:=libglib.a
$(DL_DIR)/$(LIBGLIB12_SOURCE):
$(WGET) -P $(DL_DIR) $(LIBGLIB12_SITE)/$(LIBGLIB12_SOURCE)
-libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE)
-
$(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE)
$(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ \*.patch*
$(CONFIG_UPDATE) $(LIBGLIB12_DIR)
- touch $(LIBGLIB12_DIR)/.unpacked
+ touch $@
$(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
(cd $(LIBGLIB12_DIR); rm -rf config.cache; \
@@ -44,7 +42,7 @@ $(LIBGLIB12_DIR)/.configured: $(LIBGLIB12_DIR)/.unpacked
--enable-shared \
$(DISABLE_NLS) \
)
- touch $(LIBGLIB12_DIR)/.configured
+ touch $@
$(LIBGLIB12_DIR)/.libs/$(LIBGLIB12_BINARY): $(LIBGLIB12_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) -C $(LIBGLIB12_DIR)
@@ -76,6 +74,10 @@ $(TARGET_DIR)/lib/libglib-1.2.so.0.0.10: $(STAGING_DIR)/lib/$(LIBGLIB12_BINARY)
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libglib-1.2.so.0.0.10
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/lib/libgmodule-1.2.so.0.0.10
+libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE)
+
+libglib12-unpacked: $(LIBGLIB12_DIR)/.unpacked
+
libglib12: uclibc $(TARGET_DIR)/lib/libglib-1.2.so.0.0.10
libglib12-clean: