2009-10-22 12:21:29 +00:00
|
|
|
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
|
|
|
|
|
2015-01-21 00:02:39 +00:00
|
|
|
CPPFLAGS += -DCONFIG_MALLOC_SIZE=$(CONFIG_MALLOC_SIZE)
|
|
|
|
|
2008-09-30 08:17:14 +00:00
|
|
|
CFLAGS := -Wall
|
|
|
|
NOSTDINC_FLAGS :=
|
|
|
|
|
|
|
|
obj-y = common.o tap.o
|
|
|
|
|
2012-09-12 13:38:42 +00:00
|
|
|
CFLAGS_sdl.o = $(shell pkg-config sdl --cflags)
|
|
|
|
obj-$(CONFIG_DRIVER_VIDEO_SDL) += sdl.o
|