aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/makelst
diff options
context:
space:
mode:
authorSam Ravnborg <sam@neptun.(none)>2007-10-15 22:25:06 +0200
committerSam Ravnborg <sam@neptun.(none)>2007-10-15 22:25:06 +0200
commitf77bf01425b11947eeb3b5b54685212c302741b8 (patch)
tree1d2b8dc9eec4538b5e44139d77c018d9c3ee1f30 /scripts/makelst
parent06c5040cdb13d27adad118f2fbfae905a1911b37 (diff)
downloadkernel_samsung_smdk4412-f77bf01425b11947eeb3b5b54685212c302741b8.zip
kernel_samsung_smdk4412-f77bf01425b11947eeb3b5b54685212c302741b8.tar.gz
kernel_samsung_smdk4412-f77bf01425b11947eeb3b5b54685212c302741b8.tar.bz2
kbuild: introduce ccflags-y, asflags-y and ldflags-y
Introduce ccflags-y, asflags-y and ldflags-y so we soon can deprecate use of EXTRA_CFLAGS, EXTRA_AFLAGS and EXTRA_LDFLAGS. This patch does not touch any in-tree users - thats next round. Lets get this committed first and then fix the users of the soon to be deprecated variants next. The rationale behind this change is to introduce support for makefile fragments like: ccflags-$(CONFIG_WHATEVER_DEBUG) := -DDEBUG As a replacement for the uglier: ifeq ($(CONFIG_WHATEVER_DEBUG),y) EXTRA_CFLAGS := -DDEBUG endif Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/makelst')
-rwxr-xr-xscripts/makelst4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/makelst b/scripts/makelst
index 4fc80f2..e658149 100755
--- a/scripts/makelst
+++ b/scripts/makelst
@@ -3,8 +3,8 @@
# with correct relocations from System.map
# Requires the following lines in makefile:
#%.lst: %.c
-# $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -g -c -o $*.o $<
-# $(srctree)/scripts/makelst $*.o $(objtree)/System.map $(OBJDUMP)
+# $(CC) $(c_flags) -g -c -o $*.o $< &&
+# $(srctree)/scripts/makelst $*.o System.map $(OBJDUMP) > $@
#
# Copyright (C) 2000 IBM Corporation
# Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com)