Makefile 681 B

12345678910111213141516171819202122232425262728
  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 Makefile.inc
  5. include ../rules.mk
  6. include ${ADK_TOPDIR}/mk/buildhlp.mk
  7. $(WRKBUILD)/.configured:
  8. (cd $(WRKBUILD); \
  9. $(WRKBUILD)/configure \
  10. --prefix=$(STAGING_HOST_DIR)/usr \
  11. --enable-static \
  12. --disable-shared \
  13. --without-docbook \
  14. --without-tests \
  15. );
  16. touch $@
  17. $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
  18. $(MAKE) ${MPC_MAKEOPTS} -C $(WRKBUILD) all
  19. touch $@
  20. $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
  21. $(MAKE) -C $(WRKBUILD) install
  22. touch $@
  23. include ${ADK_TOPDIR}/mk/toolchain.mk