mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-26 08:43:19 +02:00
82f93a2d3f
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34122 3c298f89-4303-0410-b956-a3cf2f4a3e73
25 lines
570 B
Makefile
25 lines
570 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) 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))
|