Makefile 654 B

12345678910111213141516171819
  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 $(TOPDIR)/rules.mk
  4. include ../rules.mk
  5. include $(TOPDIR)/mk/linux.mk
  6. include ${TOPDIR}/mk/kernel-vars.mk
  7. include ${TOPDIR}/mk/buildhlp.mk
  8. $(WRKBUILD)/.headers:
  9. $(MAKE) -C $(WRKBUILD) ${KERNEL_MAKE_OPTS} headers_check
  10. $(MAKE) -C $(WRKBUILD) ${KERNEL_MAKE_OPTS} \
  11. INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr \
  12. headers_install
  13. @-find $(STAGING_TARGET_DIR)/usr/include -name .install -delete
  14. @-find $(STAGING_TARGET_DIR)/usr/include -name ..install.cmd -delete
  15. touch $@
  16. include ${TOPDIR}/mk/toolchain.mk