mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
c3caa1b768
SVN-Revision: 32557
25 lines
588 B
Makefile
25 lines
588 B
Makefile
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
|
|
$(UCLIBC_MAKE) $(TOOLCHAIN_JOBS) PREFIX= utils
|
|
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))
|