ia64: fix sn to add include files using EXTRA_CFLAGS
[linux-3.10.git] / arch / ia64 / sn / kernel / sn2 / Makefile
index 99e1776932347937745c0fafbb3ed7ad9fdb5ace..08e6565dc908d0b0f5e8358a14698211439bb1c0 100644 (file)
@@ -9,7 +9,7 @@
 # sn2 specific kernel files
 #
 
-CPPFLAGS += -I$(srctree)/arch/ia64/sn/include
+EXTRA_CFLAGS += -Iarch/ia64/sn/include
 
 obj-y += cache.o io.o ptc_deadlock.o sn2_smp.o sn_proc_fs.o \
         prominfo_proc.o timer.o timer_interrupt.o sn_hwperf.o