Automake question

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jul 29 07:44:40 UTC 2009


Hi,

for a BSP I need to compile one module with non standard CFLAGS.  How can I do
this?  Unfortunately this will not work:

noinst_PROGRAMS = starthooks.rel

starthooks_rel_SOURCES = startup/bspstarthooks.c
starthooks_rel_CFLAGS = $(NON_STANDARD_CFLAGS)

libbsp_a_LIBADD = starthooks.rel

Automake still uses the $(CFLAGS) which contains all the $(CPU_CFLAGS).

Have a nice day!

-- 
Sebastian Huber, Embedded Brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list