Browse files

scripts/ do not reference EXTRA_CFLAGS as CFLAGS repla…


Usage of these flags has been deprecated for nearly 4 years by:

    commit f77bf01
    Author: Sam Ravnborg <sam@neptun.(none)>
    Date:   Mon Oct 15 22:25:06 2007 +0200

        kbuild: introduce ccflags-y, asflags-y and ldflags-y

Moreover, these flags (at least EXTRA_CFLAGS) have been documented for
command line use. By default, gmake(1) do not override command line
setting, so this is likely to result in build failure or unexpected

Do not advertise for its usage.

Cc: Sam Ravnborg <>
Signed-off-by: Arnaud Lacombe <>
Signed-off-by: Michal Marek <>
  • Loading branch information...
lacombar authored and michal42 committed Aug 15, 2011
1 parent 58238c8 commit 49c57d254e691a45ade207c754ba09ca7129ed93
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/
@@ -46,7 +46,7 @@ include $(kbuild-file)
# If the save-* variables changed error out
ifneq ("$(save-cflags)","$(CFLAGS)")
- $(error CFLAGS was changed in "$(kbuild-file)". Fix it to use EXTRA_CFLAGS)
+ $(error CFLAGS was changed in "$(kbuild-file)". Fix it to use ccflags-y)

0 comments on commit 49c57d2

Please sign in to comment.