summaryrefslogtreecommitdiff
path: root/package/libcgicc/libcgicc.mk
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-21 00:21:43 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-21 00:21:43 +0000
commit02407b4c05285a385cfe37b2de876878fbe7aa10 (patch)
tree759b855969f3e6429e86f587a3f96a8cd80cb037 /package/libcgicc/libcgicc.mk
parenta57170cb025b57e71cb390a4e66b82bedeae4b2f (diff)
include string.h when building cgicc, add libcgicc-unpacked, and clean up libcgicc.mk - still does not build OK
Diffstat (limited to 'package/libcgicc/libcgicc.mk')
-rw-r--r--package/libcgicc/libcgicc.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/package/libcgicc/libcgicc.mk b/package/libcgicc/libcgicc.mk
index 02c864ab3..09c17aa81 100644
--- a/package/libcgicc/libcgicc.mk
+++ b/package/libcgicc/libcgicc.mk
@@ -17,7 +17,8 @@ libcgicc-source: $(DL_DIR)/$(LIBCGICC_SOURCE)
$(LIBCGICC_DIR)/.unpacked: $(DL_DIR)/$(LIBCGICC_SOURCE)
$(LIBCGICC_CAT) $(DL_DIR)/$(LIBCGICC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(LIBCGICC_DIR)/.unpacked
+ toolchain/patch-kernel.sh $(LIBCGICC_DIR) package/libcgicc cgicc\*.patch
+ touch $@
$(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
(cd $(LIBCGICC_DIR); rm -f config.cache; \
@@ -40,11 +41,11 @@ $(LIBCGICC_DIR)/.configured: $(LIBCGICC_DIR)/.unpacked
--mandir=/usr/man \
--infodir=/usr/info \
)
- touch $(LIBCGICC_DIR)/.configured
+ touch $@
$(LIBCGICC_DIR)/.compiled: $(LIBCGICC_DIR)/.configured
$(MAKE) -C $(LIBCGICC_DIR)
- touch $(LIBCGICC_DIR)/.compiled
+ touch $@
$(STAGING_DIR)/lib/libcgicc.so: $(LIBCGICC_DIR)/.compiled
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBCGICC_DIR) install
@@ -55,6 +56,8 @@ $(TARGET_DIR)/usr/lib/libcgicc.so: $(STAGING_DIR)/lib/libcgicc.so
libcgicc: uclibc $(TARGET_DIR)/usr/lib/libcgicc.so
+libcgicc-unpacked: $(LIBCGICC_DIR)/.unpacked
+
libcgicc-clean:
-$(MAKE) -C $(LIBCGICC_DIR) clean