Makefile 557 B

1234567891011121314151617181920212223242526
  1. PATH_PREFIX:=..
  2. include ../common.mk
  3. HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.headers_built
  4. HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_headers_installed
  5. define Host/Compile
  6. endef
  7. define Host/Install
  8. PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \
  9. PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \
  10. DEVEL_PREFIX=/ \
  11. RUNTIME_PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \
  12. HOSTCC="$(HOSTCC)" \
  13. CC="$(TARGET_CC)" \
  14. CPU_CFLAGS="$(TARGET_CFLAGS)" \
  15. ARCH="$(CONFIG_ARCH)" \
  16. pregen \
  17. install_headers
  18. endef
  19. $(eval $(call HostBuild))