[OpenWrt-Devel] Makefile CFLAGS & CPU_TYPE
Claudio Thomas
ct at xmodus-systems.de
Tue Aug 5 05:32:26 EDT 2014
Hi,
I'm analysing different Makefiles to learn a little bit better the way
how things are compiled by openwrt.
On some Makefiles a see CFLAGS and on others only the CPU_TYPE. So far I
see the "CFLAGS:=-Os -pipe" are default, because it not set the result
in the .config is:
CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe"
CONFIG_TARGET_OPTIMIZATION="-Os -pipe"
Is there any difference in setting
CPU_TYPE:=603e
xor
CFLAGS:=-Os -pipe -mcpu=603e
in the Makefile?
What is the best way?
I could not recognize a unified fashion to do it along all other targets.
--
Mit freundlichen Grüßen / Best regards
Claudio Thomas
Dipl.-Ing. der technischen Informatik (M.Sc.)
Leitung IT / Head of IT
Tel: +49 (0)2773 7444-137
Fax: +49 (0)2773 7444-3137
Homepage: http://www.xmodus-systems.de
E-Mail: ct at xmodus-systems.de
GPG: http://xmodus-systems.de/gpg/ct
4096R/22EC88BC; FP=2962 C442 BC49 21BB 5931 95A0 134A 0921 22EC 88BC
__________________________________________________________________________
Xmodus Systems GmbH
Firmensitz: Reiherstrasse 2, D-35708 Haiger
Registergericht: Amtsgericht Wetzlar, HRB 6310
Geschäftsführer: Adrian F. Gog
__________________________________________________________________________
Diese E-Mail und eventuelle Anhänge können vertrauliche Informationen
enthalten. Wenn Sie nicht der beabsichtigte Empfänger sind,
benachrichtigen Sie bitte unverzüglich den Absender und löschen Sie
diese E-Mail. Jegliche unbefugte Anfertigung von Kopien, Offenlegung
oder Verteilung des enthaltenen Materials ist streng verboten.
This e-mail and its attachments, if any, may contain confidential
and/or privileged information. If you are not the intended recipient
please notify the sender immediately and delete this e-mail. Any
unauthorized copying, disclosure or distribution of the material in
this e-mail is strictly forbidden.
__________________________________________________________________________
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list