summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Collins <bcollins@ubuntu.com>2006-12-04 19:33:47 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 18:38:42 -0800
commit170b828a31bbeaee3a80a05acefe3596e38f09e0 (patch)
tree6d18ec7e9713e4005512aa22d08e8b22d211585e
parent334c29a64507dda187565dd0db0403de3d70ec8b (diff)
downloadop-kernel-dev-170b828a31bbeaee3a80a05acefe3596e38f09e0.zip
op-kernel-dev-170b828a31bbeaee3a80a05acefe3596e38f09e0.tar.gz
[ATM]: Add CPPFLAGS to byteorder.h check
O= builds produced errors in the shell command because of unfound headers. Signed-off-by: Ben Collins <bcollins@ubuntu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/atm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/Makefile b/drivers/atm/Makefile
index b5077ce..1b16f81 100644
--- a/drivers/atm/Makefile
+++ b/drivers/atm/Makefile
@@ -41,7 +41,7 @@ ifeq ($(CONFIG_ATM_FORE200E_PCA),y)
# guess the target endianess to choose the right PCA-200E firmware image
ifeq ($(CONFIG_ATM_FORE200E_PCA_DEFAULT_FW),y)
byteorder.h := include$(if $(patsubst $(srctree),,$(objtree)),2)/asm/byteorder.h
- CONFIG_ATM_FORE200E_PCA_FW := $(obj)/pca200e$(if $(shell $(CC) -E -dM $(byteorder.h) | grep ' __LITTLE_ENDIAN '),.bin,_ecd.bin2)
+ CONFIG_ATM_FORE200E_PCA_FW := $(obj)/pca200e$(if $(shell $(CC) $(CPPFLAGS) -E -dM $(byteorder.h) | grep ' __LITTLE_ENDIAN '),.bin,_ecd.bin2)
endif
endif
OpenPOWER on IntegriCloud