numato-mimasv2: works fine with 6.6.x/6.9.x
[openadk.git] / toolchain / prelink-cross / Makefile
blobd1cc58c074d25d1f443787fe113e215881b73bdd
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 ../rules.mk
6 include Makefile.inc
7 include ${ADK_TOPDIR}/mk/buildhlp.mk
9 $(WRKBUILD)/.headers:
10 $(WRKBUILD)/.configured:
11 (cd $(WRKBUILD)/trunk; \
12 ./configure \
13 --prefix=$(STAGING_HOST_DIR) \
14 --build=$(GNU_HOST_NAME) \
15 --host=$(GNU_HOST_NAME) \
16 --target=$(REAL_GNU_TARGET_NAME) \
17 --disable-dependency-tracking \
18 --disable-libtool-lock \
19 --with-gnu-ld \
21 touch $@
23 $(WRKBUILD)/.compiled:
24 $(MAKE) -C $(WRKBUILD)/trunk CFLAGS="-fPIC ${CFLAGS_FOR_BUILD}"
25 touch $@
27 $(WRKBUILD)/.installed:
28 install -c ${WRKBUILD}/trunk/src/prelink \
29 ${TARGET_CROSS}prelink
30 install -c ${WRKBUILD}/trunk/src/prelink-rtld \
31 ${TARGET_CROSS}prelink-rtld
32 touch $@
34 include ${ADK_TOPDIR}/mk/toolchain.mk