projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix mysql dependencies
[openwrt.git]
/
openwrt
/
package
/
libmad
/
Makefile
diff --git
a/openwrt/package/libmad/Makefile
b/openwrt/package/libmad/Makefile
index
4a979d0
..
251f983
100644
(file)
--- a/
openwrt/package/libmad/Makefile
+++ b/
openwrt/package/libmad/Makefile
@@
-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:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
$(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-static \
--disable-rpath \
--with-gnu-ld \
- --enable-fpm=
mips
\
+ --enable-fpm=
$(FPM)
\
--disable-debugging \
--enable-speed \
);
--disable-debugging \
--enable-speed \
);
@@
-86,8
+94,8
@@
uninstall-dev:
$(STAGING_DIR)/usr/lib/libmad.a \
$(STAGING_DIR)/usr/lib/libmad.so* \
$(STAGING_DIR)/usr/lib/libmad.a \
$(STAGING_DIR)/usr/lib/libmad.so* \
-compile: install-dev
-clean: uninstall-dev
+compile
-targets
: install-dev
+clean
-targets
: uninstall-dev
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean
mostlyclean:
-$(MAKE) -C $(PKG_BUILD_DIR) clean
This page took
0.022324 seconds
and
4
git commands to generate.