ifeq ($(TI_PLATFORM),ti8168)
obj-y := services4/3rdparty/dc_ti8168_linux/
else
-obj-y := services4/3rdparty/dc_omap3430_linux/
+obj-y := services4/3rdparty/dc_omap3_linux/
endif
obj-y += services4/3rdparty/bufferclass_ti/
-export KERNELDIR = /opt/oe/stuff/build/tmp/work/beagleboard-angstrom-linux-gnueabi/linux-omap-2.6.29-r44/git/
+#export KERNELDIR = /opt/oe/stuff/build/tmp/work/beagleboard-angstrom-linux-gnueabi/linux-omap-2.6.29-r44/git/
+export TI_PLATFORM ?= omap3
export KERNEL_PATH=$(KERNELDIR)
export KERNEL_SRC=$(KERNELDIR)