Skip to content

Commit

Permalink
ia64: fix sn to add include files using EXTRA_CFLAGS
Browse files Browse the repository at this point in the history
Changing the global CPPFLAGS is not the recommended way
to add additional include dirs.
Changed to use EXTRA_CFLAGS.

Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Jes Sorensen <[email protected]>
  • Loading branch information
sravnborg authored and Sam Ravnborg committed Oct 12, 2007
1 parent 6dd16f4 commit c01b171
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/ia64/sn/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# Copyright (C) 1999,2001-2006 Silicon Graphics, Inc. All Rights Reserved.
#

CPPFLAGS += -I$(srctree)/arch/ia64/sn/include
EXTRA_CFLAGS += -Iarch/ia64/sn/include

obj-y += setup.o bte.o bte_error.o irq.o mca.o idle.o \
huberror.o io_acpi_init.o io_common.o \
Expand Down
2 changes: 1 addition & 1 deletion arch/ia64/sn/kernel/sn2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion arch/ia64/sn/pci/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
#
# Makefile for the sn pci general routines.

CPPFLAGS += -I$(srctree)/arch/ia64/sn/include
EXTRA_CFLAGS += -Iarch/ia64/sn/include

obj-y := pci_dma.o tioca_provider.o tioce_provider.o pcibr/
2 changes: 1 addition & 1 deletion arch/ia64/sn/pci/pcibr/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
# Makefile for the sn2 io routines.

CPPFLAGS += -I$(srctree)/arch/ia64/sn/include
EXTRA_CFLAGS += -Iarch/ia64/sn/include

obj-y += pcibr_dma.o pcibr_reg.o \
pcibr_ate.o pcibr_provider.o

0 comments on commit c01b171

Please sign in to comment.