Makefile 876 B

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(ADK_TOPDIR)/rules.mk
  4. include ../rules.mk
  5. include Makefile.inc
  6. include ${ADK_TOPDIR}/mk/buildhlp.mk
  7. $(WRKBUILD)/.headers:
  8. $(WRKBUILD)/.configured:
  9. (cd $(WRKBUILD)/trunk; \
  10. ./configure \
  11. --prefix=$(STAGING_HOST_DIR) \
  12. --build=$(GNU_HOST_NAME) \
  13. --host=$(GNU_HOST_NAME) \
  14. --target=$(REAL_GNU_TARGET_NAME) \
  15. --disable-dependency-tracking \
  16. --disable-libtool-lock \
  17. --with-gnu-ld \
  18. );
  19. touch $@
  20. $(WRKBUILD)/.compiled:
  21. $(MAKE) -C $(WRKBUILD)/trunk CFLAGS="-fPIC ${CFLAGS_FOR_BUILD}"
  22. touch $@
  23. $(WRKBUILD)/.installed:
  24. install -c ${WRKBUILD}/trunk/src/prelink \
  25. ${TARGET_CROSS}prelink
  26. install -c ${WRKBUILD}/trunk/src/prelink-rtld \
  27. ${TARGET_CROSS}prelink-rtld
  28. touch $@
  29. include ${ADK_TOPDIR}/mk/toolchain.mk