summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-23 07:57:31 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-07-23 07:57:31 +0000
commitd50f2371dcd28a411b18ea1f1354a99c294f22f2 (patch)
tree8fc88fddf7729b764c0072eceab335040f97262b /package
parent81435663823fde92791b9e5e25ccf51f7f66fb21 (diff)
downloadbuildroot-novena-d50f2371dcd28a411b18ea1f1354a99c294f22f2.tar.gz
buildroot-novena-d50f2371dcd28a411b18ea1f1354a99c294f22f2.zip
Update libmad configuration + cleanup
Diffstat (limited to 'package')
-rw-r--r--package/libmad/libmad.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk
index 65cb07733..0269137b4 100644
--- a/package/libmad/libmad.mk
+++ b/package/libmad/libmad.mk
@@ -15,7 +15,8 @@ $(DL_DIR)/$(LIBMAD_SOURCE):
$(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE)
$(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- touch $(LIBMAD_DIR)/.unpacked
+ $(CONFIG_UPDATE) $(LIBMAD_DIR)
+ touch $@
$(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked
(cd $(LIBMAD_DIR); rm -rf config.cache; \
@@ -29,11 +30,12 @@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked
--sysconfdir=/etc \
$(DISABLE_NLS) \
);
- touch $(LIBMAD_DIR)/.configured
+ touch $@
$(LIBMAD_DIR)/libmad.la: $(LIBMAD_DIR)/.configured
rm -f $@
$(MAKE) CC=$(TARGET_CC) -C $(LIBMAD_DIR)
+ @touch -c $@
$(STAGING_DIR)/usr/lib/libmad.so: $(LIBMAD_DIR)/libmad.la
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBMAD_DIR) install
@@ -41,6 +43,7 @@ $(STAGING_DIR)/usr/lib/libmad.so: $(LIBMAD_DIR)/libmad.la
$(TARGET_DIR)/usr/lib/libmad.so: $(STAGING_DIR)/usr/lib/libmad.so
cp -dpf $(STAGING_DIR)/usr/lib/libmad.so* $(TARGET_DIR)/usr/lib/
$(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libmad.so*
+ @touch -c $@
$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.so
mkdir -p $(TARGET_DIR)/usr/include