rpi: the i2s symbol was renamed
[openadk.git] / toolchain / mpc / Makefile
blobeafebcc538d4b452700ea5148ed27efd6f9d1ac8
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
5 include Makefile.inc
6 include ../rules.mk
7 include ${ADK_TOPDIR}/mk/buildhlp.mk
9 ifeq (${ADK_MAKE_PARALLEL},y)
10 MPC_MAKEOPTS+= -j${ADK_MAKE_JOBS}
11 endif
13 $(WRKBUILD)/.configured:
14 (cd $(WRKBUILD); \
15 $(WRKBUILD)/configure \
16 --prefix=$(STAGING_HOST_DIR)/usr \
17 --with-gmp=$(STAGING_HOST_DIR)/usr \
18 --disable-shared \
19 --enable-static \
21 touch $@
23 $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
24 $(MAKE) ${MPC_MAKEOPTS} -C $(WRKBUILD) all
25 touch $@
27 $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
28 $(MAKE) -C $(WRKBUILD) install
29 touch $@
31 include ${ADK_TOPDIR}/mk/toolchain.mk