build system: do not rebuild entire tree if it is moved
authorDenis Vlasenko <vda.linux@googlemail.com>
Thu, 8 May 2008 16:26:49 +0000 (16:26 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Thu, 8 May 2008 16:26:49 +0000 (16:26 -0000)
Makefile.flags

index 61bff4f..f27c601 100644 (file)
@@ -11,7 +11,7 @@ CPPFLAGS += $(call cc-option,-std=gnu99,)
 
 CPPFLAGS += \
        -Iinclude -Ilibbb \
-       $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) -I$(srctree)/libbb \
+       $(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include -I$(srctree)/libbb) \
        -include include/autoconf.h \
        -D_GNU_SOURCE -DNDEBUG \
        $(if $(CONFIG_LFS),-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64) \