Makefile 598 B

123456789101112131415161718192021222324
  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. );
  12. touch $@
  13. $(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
  14. $(MAKE) ${MPC_MAKEOPTS} -C $(WRKBUILD) all
  15. touch $@
  16. $(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
  17. $(MAKE) -C $(WRKBUILD) install
  18. touch $@
  19. include ${ADK_TOPDIR}/mk/toolchain.mk