]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/Makefile
kbuild: rename SRCTREE to srctree
[karo-tx-uboot.git] / tools / Makefile
index bac6aafc80b3019fc840ee12235a0be700fe2616..097cc1df17838af2f0904f1f6a361efb94d328d2 100644 (file)
@@ -172,10 +172,10 @@ endif # !LOGO_BMP
 # Define __KERNEL_STRICT_NAMES to prevent typedef overlaps
 # Define _GNU_SOURCE to obtain the getline prototype from stdio.h
 #
-HOST_EXTRACFLAGS += -include $(SRCTREE)/include/libfdt_env.h \
+HOST_EXTRACFLAGS += -include $(srctree)/include/libfdt_env.h \
                $(patsubst -I%,-idirafter%, $(UBOOTINCLUDE)) \
-               -I$(SRCTREE)/lib/libfdt \
-               -I$(SRCTREE)/tools \
+               -I$(srctree)/lib/libfdt \
+               -I$(srctree)/tools \
                -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
                -DUSE_HOSTCC \
                -D__KERNEL_STRICT_NAMES \