diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-02 17:39:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-02 17:39:49 -0700 |
commit | aa447acb9291518506a1aec644db47fa6c6e36eb (patch) | |
tree | 4b7b3e5c72641f6695ea935ddd9f8250a2e4b937 /drivers/atm/Makefile | |
parent | 317604633eface11cb7452298fa44a34624633dc (diff) | |
parent | 5ba0eac6e0b7e2889649a1105d97c600595e2bb1 (diff) | |
download | talos-obmc-linux-aa447acb9291518506a1aec644db47fa6c6e36eb.tar.gz talos-obmc-linux-aa447acb9291518506a1aec644db47fa6c6e36eb.zip |
Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'drivers/atm/Makefile')
-rw-r--r-- | drivers/atm/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/atm/Makefile b/drivers/atm/Makefile index d1dcd8eae3c9..5b77188527a9 100644 --- a/drivers/atm/Makefile +++ b/drivers/atm/Makefile @@ -39,7 +39,8 @@ ifeq ($(CONFIG_ATM_FORE200E_PCA),y) fore_200e-objs += fore200e_pca_fw.o # guess the target endianess to choose the right PCA-200E firmware image ifeq ($(CONFIG_ATM_FORE200E_PCA_DEFAULT_FW),y) - CONFIG_ATM_FORE200E_PCA_FW = $(shell if test -n "`$(CC) -E -dM $(src)/../../include/asm/byteorder.h | grep ' __LITTLE_ENDIAN '`"; then echo $(obj)/pca200e.bin; else echo $(obj)/pca200e_ecd.bin2; fi) + 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) endif endif |