diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-10-18 01:58:27 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-10-18 01:58:27 +0000 |
commit | 9c061dd173a83674423d40e4a45d3eac7df61d51 (patch) | |
tree | d05803c06669f98be6433a505f1b877a838a49de | |
parent | 2bc89f5944480c3ca94bcad51d009e9015cb61f7 (diff) | |
download | upstream-9c061dd173a83674423d40e4a45d3eac7df61d51.tar.gz upstream-9c061dd173a83674423d40e4a45d3eac7df61d51.tar.bz2 upstream-9c061dd173a83674423d40e4a45d3eac7df61d51.zip |
fix libmad build when arch != mipsel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2173 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/libmad/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/package/libmad/Makefile b/package/libmad/Makefile index 4a979d0c07..977248d08a 100644 --- a/package/libmad/Makefile +++ b/package/libmad/Makefile @@ -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 \ ); |