diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-13 14:13:57 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-13 14:13:57 +0000 |
commit | b925adba7e3d533d292b3c8523a2d0897c9eaca5 (patch) | |
tree | 46e8a664215234b20e7bca5235307eaff26b6a8c /target/sdk/Makefile | |
parent | 2ad5d768d42ed99dee4876b596874a35aa2d7c31 (diff) | |
download | upstream-b925adba7e3d533d292b3c8523a2d0897c9eaca5.tar.gz upstream-b925adba7e3d533d292b3c8523a2d0897c9eaca5.tar.bz2 upstream-b925adba7e3d533d292b3c8523a2d0897c9eaca5.zip |
target/sdk: leave out some unnecessary directories
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39914 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/sdk/Makefile')
-rw-r--r-- | target/sdk/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 376aef8eb0..14cb8d0644 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -16,15 +16,25 @@ PKG_CPU:=$(word 1,$(subst -, ,$(shell $(HOSTCC) -dumpmachine))) SDK_NAME:=OpenWrt-SDK-$(BOARD)-for-$(PKG_OS)-$(PKG_CPU)-gcc-$(GCCV)_$(LIBC)-$(LIBCV) SDK_BUILD_DIR:=$(BUILD_DIR)/$(SDK_NAME) + +STAGING_SUBDIR_TARGET := staging_dir/target-$(ARCH)$(ARCH_SUFFIX)_$(LIBC)-$(LIBCV)$(if $(CONFIG_arm),_eabi) + EXCLUDE_DIRS:=*/ccache \ */stamp \ */stampfiles \ */man \ */info \ + */root-* \ + initial \ + *.install.clean \ + *.install.flags \ + *.install \ + */doc \ + $(STAGING_SUBDIR_TARGET)/usr/bin SDK_DIRS = \ staging_dir/host \ - staging_dir/target-$(ARCH)$(ARCH_SUFFIX)_$(LIBC)-$(LIBCV)$(if $(CONFIG_arm),_eabi) \ + $(STAGING_SUBDIR_TARGET) \ staging_dir/toolchain-$(ARCH)$(ARCH_SUFFIX)_gcc-$(GCCV)_$(LIBC)-$(LIBCV)$(if $(CONFIG_arm),_eabi) \ SVN_PACKAGE_URL=$(shell svn info ../../package | awk '/^URL:/ { print $$2; }') |