1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 <2011> 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Make target_arch only ... doesn't seem to work on 3.14.11 |
From: | Janet Anderson <[email protected]> |
To: | EPICS tech-talk <[email protected]> |
Date: | Mon, 21 Feb 2011 09:39:41 -0600 |
The following lines will force a Makefile to build the abcd LIBRARY
only for the linux-armv4tl arch. LIBRARY_linux-armv4tl = abcd LIBRARY = $(LIBRARY_$(T_A)) [email protected] wrote: After investigation, I found that it works because I added: ifeq (${T_A}, linux-x86_64) exit: endif at the top of my Makefile... Q: Is there a way to force the makefile to build only for one target arch (T_A)? i.e I want 'make linux-armv4tl' to be the default Q: Again is there a way to build only one T_A without using the above trick? Thanks, -- E On 15:30 Fri 18 Feb , [email protected] wrote:For some reason, it works now... make linux-armv4tl Note that make needs to be gnumake On 15:12 Fri 18 Feb , [email protected] wrote:I have a 64bit machine which is used to compile arm binaries. make linux-armv4tl according to the manual should build only for the arm system. But obviously it doesn't. First the compilation starts with the host architecture (linux-x86_64 in my case) Q: Is there a way to compile only for a specific T_A ? |