]> code.ossystems Code Review - meta-freescale.git/commit
amd-gpu-x11-bin-mx51: Proper detect the building on Linux
authorOtavio Salvador <otavio@ossystems.com.br>
Sat, 18 Aug 2012 18:02:23 +0000 (15:02 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 6 Sep 2012 13:43:51 +0000 (10:43 -0300)
commit65a118aae179f6ff0df7f5ab9e5c3f41444ae96b
tree9ac7f4fb77d7f443b774206f5a8f13575a434972
parentdc7a22d572c4cc51acf1dceb7619d8a854acf233
amd-gpu-x11-bin-mx51: Proper detect the building on Linux

GCC defines __linux__ when running on Linux but the headers where
checking by _LINUX define hence enforcing explicit definition by build
system; we patch the headers to check for __linux__ and then ensure it
"Just Work (TM)".

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51/fix-linux-build-check.patch [new file with mode: 0644]
meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb