Newer
Older
barebox / arch / sandbox / os / Makefile
@Loïc Minier Loïc Minier on 18 Oct 2011 284 bytes Only pass -P to cpp when generating ld scripts
machine-y := sandbox

machdirs := $(patsubst %,arch/sandbox/mach-%/,$(machine-y))

ifeq ($(KBUILD_SRC),)
CPPFLAGS := $(patsubst %,-I%include,$(machdirs))
else
CPPFLAGS = $(patsubst %,-I$(srctree)/%include,$(machdirs))
endif

CFLAGS := -Wall
NOSTDINC_FLAGS :=

obj-y = common.o tap.o