X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fatm%2FMakefile;h=e4fa99658699a8d0240e6febd9107ed48b4078d4;hb=fe56caa97e626cc6d6e18adbd5ccd1a9aa9a4fcf;hp=b5077ce8cb4007b901716c89208e6b94f5012bd5;hpb=25c862cc9ea9b312c25a9f577f91b973131f1261;p=linux-2.6-omap-h63xx.git diff --git a/drivers/atm/Makefile b/drivers/atm/Makefile index b5077ce8cb4..e4fa9965869 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) $(KBUILD_CPPFLAGS) -E -dM $(byteorder.h) | grep ' __LITTLE_ENDIAN '),.bin,_ecd.bin2) endif endif