diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-30 21:44:05 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-30 21:44:05 +0000 |
commit | c3caa1b768728fc9daf833c55f846d6bc2362efb (patch) | |
tree | 342dfb390ad368a22b7139caa2220c45b2203fc9 /toolchain/uClibc/headers/Makefile | |
parent | 59b384dabe20a4930b1c8ff4e0f48367cc080662 (diff) | |
download | upstream-c3caa1b768728fc9daf833c55f846d6bc2362efb.tar.gz upstream-c3caa1b768728fc9daf833c55f846d6bc2362efb.tar.bz2 upstream-c3caa1b768728fc9daf833c55f846d6bc2362efb.zip |
uClibc: split the package into the main directory and the headers/ and utils/ subdirectories to clean up build order and fix quilt support
SVN-Revision: 32557
Diffstat (limited to 'toolchain/uClibc/headers/Makefile')
-rw-r--r-- | toolchain/uClibc/headers/Makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/toolchain/uClibc/headers/Makefile b/toolchain/uClibc/headers/Makefile new file mode 100644 index 0000000000..67a2d95c37 --- /dev/null +++ b/toolchain/uClibc/headers/Makefile @@ -0,0 +1,26 @@ +PATH_PREFIX:=.. + +include ../common.mk + +HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.headers_built +HOST_STAMP_INSTALLED:=$(TOOLCHAIN_DIR)/stamp/.uclibc_headers_installed + +define Host/Compile + +endef + +define Host/Install + PATH='$(TARGET_PATH)' $(MAKE) -C $(HOST_BUILD_DIR) \ + PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \ + DEVEL_PREFIX=/ \ + RUNTIME_PREFIX="$(BUILD_DIR_TOOLCHAIN)/$(LIBC)-dev/" \ + HOSTCC="$(HOSTCC)" \ + CC="$(TARGET_CC)" \ + CPU_CFLAGS="$(TARGET_CFLAGS)" \ + ARCH="$(CONFIG_ARCH)" \ + pregen \ + install_headers +endef + +$(eval $(call HostBuild)) + |