Commit 3d91a353 authored by Sedat Dilek's avatar Sedat Dilek Committed by Jonathan Corbet

kbuild: Update example for ccflags-y usage

Update the ccflags-y example to match current usage.
Signed-off-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 02bdf9da
...@@ -297,8 +297,8 @@ more details, with real examples. ...@@ -297,8 +297,8 @@ more details, with real examples.
ccflags-y specifies options for compiling with $(CC). ccflags-y specifies options for compiling with $(CC).
Example: Example:
# drivers/acpi/Makefile # drivers/acpi/acpica/Makefile
ccflags-y := -Os ccflags-y := -Os -D_LINUX -DBUILDING_ACPICA
ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT ccflags-$(CONFIG_ACPI_DEBUG) += -DACPI_DEBUG_OUTPUT
This variable is necessary because the top Makefile owns the This variable is necessary because the top Makefile owns the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment