mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-02-18 13:24:43 +02:00
fix libmad build when arch != mipsel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2173 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
6613426e84
commit
e0098f1b20
@ -19,6 +19,14 @@ include $(TOPDIR)/package/rules.mk
|
|||||||
|
|
||||||
$(eval $(call PKG_template,LIBMAD,libmad,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
$(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:
|
$(PKG_BUILD_DIR)/.configured:
|
||||||
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
@ -50,7 +58,7 @@ $(PKG_BUILD_DIR)/.configured:
|
|||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-rpath \
|
--disable-rpath \
|
||||||
--with-gnu-ld \
|
--with-gnu-ld \
|
||||||
--enable-fpm=mips \
|
--enable-fpm=$(FPM) \
|
||||||
--disable-debugging \
|
--disable-debugging \
|
||||||
--enable-speed \
|
--enable-speed \
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user