From db73773bde1bd2660a1bf76988b794a6a8a74ab5 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 30 Jun 2012 21:44:05 +0000 Subject: uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32557 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/uClibc/utils/Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 toolchain/uClibc/utils/Makefile (limited to 'toolchain/uClibc/utils/Makefile') diff --git a/toolchain/uClibc/utils/Makefile b/toolchain/uClibc/utils/Makefile new file mode 100644 index 000000000..d9efda0e9 --- /dev/null +++ b/toolchain/uClibc/utils/Makefile @@ -0,0 +1,24 @@ +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)) -- cgit v1.2.3