2012-07-01 05:44:05 +08:00
|
|
|
PATH_PREFIX=..
|
|
|
|
|
|
|
|
include ../common.mk
|
|
|
|
|
|
|
|
HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.utils_built
|
|
|
|
HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_utils_installed
|
|
|
|
|
|
|
|
define Host/Compile
|
|
|
|
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(HOST_BUILD_DIR)/Rules.mak
|
2012-11-08 23:08:31 +08:00
|
|
|
$(UCLIBC_MAKE) PREFIX= utils
|
2012-07-01 05:44:05 +08:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Host/Install
|
|
|
|
$(INSTALL_DIR) $(TOOLCHAIN_DIR)/bin
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(HOST_BUILD_DIR)/utils/ldd \
|
|
|
|
$(TOOLCHAIN_DIR)/bin/
|
|
|
|
$(INSTALL_DIR) $(TOOLCHAIN_DIR)/sbin
|
|
|
|
$(INSTALL_BIN) \
|
|
|
|
$(HOST_BUILD_DIR)/utils/ldconfig \
|
|
|
|
$(TOOLCHAIN_DIR)/sbin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call HostBuild))
|