Opened 11 years ago

Closed 11 years ago

#10280 closed bug (fixed)

-Werror broken for kernel rules

Reported by: bonefish Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

With the introduction of secondary architecture support in the PM build system the kernel files are no longer built with -Werror. Formerly we appended -Werror and related flags to the CCFLAGS config variable (via the private rule EnableWerror). Now we add them to TARGET_WARNING_CCFLAGS_<arch>, which, however, is overridden in SetupKernel with the value of the global TARGET_KERNEL_WARNING_CCFLAGS.

CCFLAGS was no longer suitable since it is not target architecture specific while the -Werror flags are. ATM there isn't any alternative config variable that can be used instead.

Change History (1)

comment:1 by bonefish, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev46492.

Note: See TracTickets for help on using tickets.