X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=config.mk;h=344138759ca9381bdadbe02323f55fafcf76c9d5;hb=4c54419737ffbfadd605263d97a1357bb03c04e8;hp=48913f6659f101e9009d54b5886bab44f0fafccd;hpb=bc23d96b75fb9c494390c8af02c473c4f11f7719;p=u-boot diff --git a/config.mk b/config.mk index 48913f6659..344138759c 100644 --- a/config.mk +++ b/config.mk @@ -257,10 +257,10 @@ endif endif ifneq ($(OBJTREE),$(SRCTREE)) -CPPFLAGS += -I$(OBJTREE)/include2 -I$(OBJTREE)/include +CPPFLAGS += -I$(OBJTREE)/include endif -CPPFLAGS += -I$(TOPDIR)/include +CPPFLAGS += -I$(TOPDIR)/include -I$(SRCTREE)/arch/$(ARCH)/include CPPFLAGS += -fno-builtin -ffreestanding -nostdinc \ -isystem $(gccincdir) -pipe $(PLATFORM_CPPFLAGS) @@ -320,7 +320,7 @@ endif # Linus' kernel sanity checking tool CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ - -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF) + -Wbitwise -Wno-return-void -D__CHECK_ENDIAN__ $(CF) # Location of a usable BFD library, where we define "usable" as # "built for ${HOST}, supports ${TARGET}". Sensible values are