summaryrefslogtreecommitdiff
path: root/toolchain/uclibc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/uclibc/Makefile')
-rw-r--r--toolchain/uclibc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/toolchain/uclibc/Makefile b/toolchain/uclibc/Makefile
index 49050e980..744b1da8f 100644
--- a/toolchain/uclibc/Makefile
+++ b/toolchain/uclibc/Makefile
@@ -3,10 +3,10 @@
_IN_CVTC= 1
-include $(TOPDIR)/rules.mk
+include $(ADK_TOPDIR)/rules.mk
include ../rules.mk
include Makefile.inc
-include ${TOPDIR}/mk/buildhlp.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
TARGET_CFLAGS:=$(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS:=$(filter-out -mtext-section-literals,$(TARGET_CFLAGS))
@@ -18,7 +18,7 @@ endif
$(WRKBUILD)/.headers:
$(SED) 's,^CROSS_COMPILE=.*,CROSS_COMPILE=$(TARGET_CROSS),g' $(WRKBUILD)/Rules.mak
sed -e 's^KERNEL_HEADERS.*$$KERNEL_HEADERS=\"${STAGING_TARGET_DIR}/usr/include\"' \
- $(TOPDIR)/target/$(ADK_TARGET_ARCH)/uclibc.config >${WRKBUILD}/.config
+ $(ADK_TOPDIR)/target/$(ADK_TARGET_ARCH)/uclibc.config >${WRKBUILD}/.config
ifeq ($(ADK_TARGET_ENDIAN),little)
$(SED) 's/.*\(ARCH_LITTLE_ENDIAN\).*/\1=y/' ${WRKBUILD}/.config
$(SED) 's/.*\(ARCH_WANTS_LITTLE_ENDIAN\).*/\1=y/' ${WRKBUILD}/.config
@@ -122,4 +122,4 @@ ifeq ($(ADK_TARGET_TOOLCHAIN),y)
endif
touch $@
-include ${TOPDIR}/mk/toolchain.mk
+include ${ADK_TOPDIR}/mk/toolchain.mk