fix libmad build when arch != mipsel
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 18 Oct 2005 01:58:27 +0000 (01:58 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 18 Oct 2005 01:58:27 +0000 (01:58 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2173 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/libmad/Makefile

index 4a979d0..977248d 100644 (file)
@@ -19,6 +19,14 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,LIBMAD,libmad,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
+FPM:=default
+ifeq ($(ARCH),i386)
+FPM:=intel
+endif
+ifeq ($(ARCH),mipsel)
+FPM:=mips
+endif
+
 $(PKG_BUILD_DIR)/.configured:
        (cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
                $(TARGET_CONFIGURE_OPTS) \
@@ -50,7 +58,7 @@ $(PKG_BUILD_DIR)/.configured:
                        --enable-static \
                        --disable-rpath \
                        --with-gnu-ld \
-                       --enable-fpm=mips \
+                       --enable-fpm=$(FPM) \
                        --disable-debugging \
                        --enable-speed \
        );
This page took 0.023051 seconds and 4 git commands to generate.