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
7 include ${ADK_TOPDIR}/mk
/buildhlp.mk
9 ifeq (${ADK_MAKE_PARALLEL},y
)
10 GMP_MAKEOPTS
+= -j
${ADK_MAKE_JOBS}
13 ifeq (${ARCH_FOR_BUILD},x32
)
14 GMP_CONFOPTS
+= ABI
=x32
17 $(WRKBUILD
)/.configured
:
19 PATH
="$(STAGING_HOST_DIR)/usr/bin:$$PATH" \
20 .
/configure
${GMP_CONFOPTS} \
21 --prefix=$(STAGING_HOST_DIR
)/usr \
28 $(WRKBUILD
)/.compiled
: $(WRKBUILD
)/.configured
29 env PATH
="$(STAGING_HOST_DIR)/usr/bin:$$PATH" \
30 $(MAKE
) ${GMP_MAKEOPTS} -C
$(WRKBUILD
) all
33 $(WRKBUILD
)/.installed
: $(WRKBUILD
)/.compiled
34 $(MAKE
) -C
$(WRKBUILD
) install
37 include ${ADK_TOPDIR}/mk
/toolchain.mk