diff options
Diffstat (limited to 'toolchain/kernel-headers/Makefile')
-rw-r--r-- | toolchain/kernel-headers/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 794351862..45160fab1 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -8,7 +8,7 @@ include ${TOPDIR}/mk/buildhlp.mk $(WRKBUILD)/.headers: $(MAKE) -C $(WRKBUILD) HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \ - INSTALL_HDR_PATH=$(STAGING_DIR)/usr \ + INSTALL_HDR_PATH=$(STAGING_TARGET_DIR)/usr \ headers_install $(MAKE) -C $(WRKBUILD) HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \ INSTALL_HDR_PATH=$(TOOLCHAIN_SYSROOT)/usr \ @@ -17,14 +17,14 @@ $(WRKBUILD)/.headers: INSTALL_HDR_PATH=$(LINUX_HEADER_DIR) \ headers_install # cryptodev.h from ocf-linux-20080917 - mkdir -p ${STAGING_DIR}/usr/include/crypto - cp files/cryptodev.h ${STAGING_DIR}/usr/include/crypto/ + mkdir -p ${STAGING_TARGET_DIR}/usr/include/crypto + cp files/cryptodev.h ${STAGING_TARGET_DIR}/usr/include/crypto/ ifeq ($(ARCH),cris) ifeq ($(CPU_ARCH),crisv32) - cd $(STAGING_DIR)/usr/include && ln -sf arch-v32/arch arch + cd $(STAGING_TARGET_DIR)/usr/include && ln -sf arch-v32/arch arch cd $(TOOLCHAIN_SYSROOT)/usr/include && ln -sf arch-v32/arch arch else - cd $(STAGING_DIR)/usr/include && ln -sf arch-v10/arch arch + cd $(STAGING_TARGET_DIR)/usr/include && ln -sf arch-v10/arch arch cd $(TOOLCHAIN_SYSROOT)/usr/include && ln -sf arch-v10/arch arch endif endif |