diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-28 17:09:44 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2007-07-28 17:09:44 +0000 |
commit | 4bf70ccf2e9367841b73d831595a72ec65d0c71d (patch) | |
tree | c74b40f2d94e2e6fbae7fcbf3b6f0b650263d020 /package | |
parent | 5de012b0c71c786937f63f028c0010b3ae055a8c (diff) |
Use correct extension for libmad library
Diffstat (limited to 'package')
-rw-r--r-- | package/libmad/libmad.mk | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index 0269137b4..37415ebac 100644 --- a/package/libmad/libmad.mk +++ b/package/libmad/libmad.mk @@ -16,6 +16,7 @@ $(DL_DIR)/$(LIBMAD_SOURCE): $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE) $(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(CONFIG_UPDATE) $(LIBMAD_DIR) + toolchain/patch-kernel.sh $(LIBMAD_DIR) package/libmad/ libmad-$(LIBMAD_VERSION)\*.patch\* touch $@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked @@ -28,29 +29,30 @@ $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked --build=$(GNU_HOST_NAME) \ --prefix=/usr \ --sysconfdir=/etc \ + --disable-debugging \ + --enable-speed \ $(DISABLE_NLS) \ ); touch $@ $(LIBMAD_DIR)/libmad.la: $(LIBMAD_DIR)/.configured rm -f $@ - $(MAKE) CC=$(TARGET_CC) -C $(LIBMAD_DIR) - @touch -c $@ + $(MAKE) -C $(LIBMAD_DIR) -$(STAGING_DIR)/usr/lib/libmad.so: $(LIBMAD_DIR)/libmad.la +$(STAGING_DIR)/usr/lib/libmad.0: $(LIBMAD_DIR)/libmad.la $(MAKE) DESTDIR=$(STAGING_DIR) -C $(LIBMAD_DIR) install -$(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.0: $(STAGING_DIR)/usr/lib/libmad.0 + cp -dpf $(STAGING_DIR)/usr/lib/libmad $(TARGET_DIR)/usr/lib/ + cp -dpf $(STAGING_DIR)/usr/lib/libmad.0* $(TARGET_DIR)/usr/lib/ + $(STRIP) --strip-unneeded $(TARGET_DIR)/usr/lib/libmad* -$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.so +$(TARGET_DIR)/usr/lib/libmad.a: $(STAGING_DIR)/usr/lib/libmad.0 mkdir -p $(TARGET_DIR)/usr/include cp -dpf $(STAGING_DIR)/usr/include/mad.h $(TARGET_DIR)/usr/include/ cp -dpf $(STAGING_DIR)/usr/lib/libmad.*a $(TARGET_DIR)/usr/lib/ -libmad: uclibc $(TARGET_DIR)/usr/lib/libmad.so +libmad: uclibc $(TARGET_DIR)/usr/lib/libmad.0 libmad-headers: $(TARGET_DIR)/usr/lib/libmad.a |