* kbuild: Fix parallel build
2004-08-18 23:02 Kbuild updates Sam Ravnborg
@ 2004-08-18 23:04 ` Sam Ravnborg
2004-08-18 23:05 ` kbuild: make C=2 forces sparse run Sam Ravnborg
` (5 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:04 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/17 22:35:04+02:00 sam@mars.ravnborg.org
# kbuild: Fix parallel build in a distclean'ed tree
#
# Fixes the following error:
# make: *** No rule to make target `.tmp_kallsyms2.S', needed by `.tmp_kallsyms2.o'.
#
# Problem is that make does not know it have to visit scripts before it can use $(KALLSYMS)
# $(KALLSYMS) is a dependency to .tmp_kallsyms% but make suddenly complains about
# .tmp_kallsyms2 for some reasons.
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# Makefile
# 2004/08/17 22:34:48+02:00 sam@mars.ravnborg.org +3 -0
# Needs to tell make that $(KALLSYMS) is only build after visiting scripts
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-08-19 01:04:26 +02:00
+++ b/Makefile 2004-08-19 01:04:26 +02:00
@@ -600,6 +600,9 @@
.tmp_vmlinux3: $(vmlinux-objs) .tmp_kallsyms2.o arch/$(ARCH)/kernel/vmlinux.lds FORCE
$(call if_changed_rule,vmlinux__)
+# Needs to visit scripts/ before $(KALLSYMS) can be used.
+$(KALLSYMS): scripts ;
+
endif
# Finally the vmlinux rule
^ permalink raw reply [flat|nested] 9+ messages in thread* kbuild: make C=2 forces sparse run
2004-08-18 23:02 Kbuild updates Sam Ravnborg
2004-08-18 23:04 ` kbuild: Fix parallel build Sam Ravnborg
@ 2004-08-18 23:05 ` Sam Ravnborg
2004-08-18 23:06 ` kbuild: Fix warnings in binoffset.c Sam Ravnborg
` (4 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:05 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/17 23:02:08+02:00 sam@mars.ravnborg.org
# kbuild: make C=2 now force sparse to be run for all .c files
#
# With make C=2 sparse ($(CHECK)) will be run on all .c files also if they
# do not need to be compiled.
# Usefull to run sparse on a fully compiled kernel tree.
# Implemented on request from Al Viro (although he liked to be able to
# run sparse without building any source).
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# scripts/Makefile.build
# 2004/08/17 23:01:51+02:00 sam@mars.ravnborg.org +9 -2
# Allow sparse to be forced to be used - for all .c files.
#
# Makefile
# 2004/08/17 23:01:51+02:00 sam@mars.ravnborg.org +2 -1
# Document how to force use of sparse, even when no source needs to be compiled.
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-08-19 01:05:30 +02:00
+++ b/Makefile 2004-08-19 01:05:30 +02:00
@@ -958,7 +958,8 @@
@echo ' make V=0|1 [targets] 0 => quiet build (default), 1 => verbose build'
@echo ' make O=dir [targets] Locate all output files in "dir", including .config'
- @echo ' make C=1 [targets] Check all c source with checker tool'
+ @echo ' make C=1 [targets] Check all c source with $$CHECK (sparse)'
+ @echo ' make C=2 [targets] Force check of all c source with $$CHECK (sparse)'
@echo ''
@echo 'Execute "make" or "make all" to build all targets marked with [*] '
@echo 'For further info see the ./README file'
diff -Nru a/scripts/Makefile.build b/scripts/Makefile.build
--- a/scripts/Makefile.build 2004-08-19 01:05:30 +02:00
+++ b/scripts/Makefile.build 2004-08-19 01:05:30 +02:00
@@ -83,8 +83,13 @@
# Linus' kernel sanity checking tool
ifneq ($(KBUILD_CHECKSRC),0)
-quiet_cmd_checksrc = CHECK $<
- cmd_checksrc = $(CHECK) $(c_flags) $< ;
+ ifeq ($(KBUILD_CHECKSRC),2)
+ quiet_cmd_force_checksrc = CHECK $<
+ cmd_force_checksrc = $(CHECK) $(c_flags) $< ;
+ else
+ quiet_cmd_checksrc = CHECK $<
+ cmd_checksrc = $(CHECK) $(c_flags) $< ;
+ endif
endif
@@ -182,11 +187,13 @@
# Built-in and composite module parts
%.o: %.c FORCE
+ $(call cmd,force_checksrc)
$(call if_changed_rule,cc_o_c)
# Single-part modules are special since we need to mark them in $(MODVERDIR)
$(single-used-m): %.o: %.c FORCE
+ $(call cmd,force_checksrc)
$(call if_changed_rule,cc_o_c)
@{ echo $(@:.o=.ko); echo $@; } > $(MODVERDIR)/$(@F:.o=.mod)
^ permalink raw reply [flat|nested] 9+ messages in thread* kbuild: Fix warnings in binoffset.c
2004-08-18 23:02 Kbuild updates Sam Ravnborg
2004-08-18 23:04 ` kbuild: Fix parallel build Sam Ravnborg
2004-08-18 23:05 ` kbuild: make C=2 forces sparse run Sam Ravnborg
@ 2004-08-18 23:06 ` Sam Ravnborg
2004-08-18 23:07 ` kbuild: Remove last occurrence of HEAD Sam Ravnborg
` (3 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:06 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/18 00:02:40+02:00 rddunlap@osdl.org
# fix warnings in scripts/binoffset.c
#
# Correct gcc warnings for function return type, printf argument
# types, and signed/unsigned compare.
#
# Cross-compiled with no warnings/errors for alpha, ia64,
# ppc32, ppc64, sparc32, sparc64, x86_64, and native on i386.
# (-W -Wall)
#
# [pre-built tool chains are available from:
# http://developer.osdl.org/dev/plm/cross_compile/ ]
#
# Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# scripts/binoffset.c
# 2004/08/10 05:28:01+02:00 rddunlap@osdl.org +6 -6
# fix warnings in scripts/binoffset.c
#
diff -Nru a/scripts/binoffset.c b/scripts/binoffset.c
--- a/scripts/binoffset.c 2004-08-19 01:06:15 +02:00
+++ b/scripts/binoffset.c 2004-08-19 01:06:15 +02:00
@@ -41,7 +41,7 @@
char *progname;
char *inputname;
int inputfd;
-int bix; /* buf index */
+unsigned int bix; /* buf index */
unsigned char patterns [PAT_SIZE] = {0}; /* byte-sized pattern array */
int pat_len; /* actual number of pattern bytes */
unsigned char *madr; /* mmap address */
@@ -58,7 +58,7 @@
exit (1);
}
-int get_pattern (int pat_count, char *pats [])
+void get_pattern (int pat_count, char *pats [])
{
int ix, err, tmp;
@@ -81,7 +81,7 @@
pat_len = pat_count;
}
-int search_pattern (void)
+void search_pattern (void)
{
for (bix = 0; bix < filesize; bix++) {
if (madr[bix] == patterns[0]) {
@@ -109,7 +109,7 @@
struct stat stat;
err = fstat (fd, &stat);
- fprintf (stderr, "filesize: %d\n", err < 0 ? err : stat.st_size);
+ fprintf (stderr, "filesize: %ld\n", err < 0 ? (long)err : stat.st_size);
if (err < 0)
return err;
return (size_t) stat.st_size;
@@ -154,8 +154,8 @@
fprintf (stderr, "number of pattern matches = %d\n", num_matches);
if (num_matches == 0)
firstloc = ~0;
- printf ("%d\n", firstloc);
- fprintf (stderr, "%d\n", firstloc);
+ printf ("%ld\n", firstloc);
+ fprintf (stderr, "%ld\n", firstloc);
exit (num_matches ? 0 : 2);
}
^ permalink raw reply [flat|nested] 9+ messages in thread* kbuild: Remove last occurrence of HEAD
2004-08-18 23:02 Kbuild updates Sam Ravnborg
` (2 preceding siblings ...)
2004-08-18 23:06 ` kbuild: Fix warnings in binoffset.c Sam Ravnborg
@ 2004-08-18 23:07 ` Sam Ravnborg
2004-08-18 23:08 ` kbuild: Add comments to Makefile.clean Sam Ravnborg
` (2 subsequent siblings)
6 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:07 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/18 23:09:23+02:00 coywolf@greatcn.org
# kbuild: remove obsolete HEAD in kbuild
#
# Makefile: remove obsolete HEAD
# arch/cris/Makefile: replace HEAD with assignment to head-y
#
#
# Signed-off-by: Coywolf Qi Hunt <coywolf@greatcn.org>
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# arch/cris/Makefile
# 2004/08/18 04:48:40+02:00 coywolf@greatcn.org +1 -1
# kbuild: remove obsolete HEAD in kbuild
#
# Makefile
# 2004/08/15 11:46:41+02:00 coywolf@greatcn.org +0 -1
# kbuild: remove obsolete HEAD in kbuild
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-08-19 01:07:24 +02:00
+++ b/Makefile 2004-08-19 01:07:24 +02:00
@@ -510,7 +510,6 @@
# normal descending-into-subdirs phase, since at that time
# we cannot yet know if we will need to relink vmlinux.
# So we descend into init/ inside the rule for vmlinux again.
-head-y += $(HEAD)
vmlinux-objs := $(head-y) $(init-y) $(core-y) $(libs-y) $(drivers-y) $(net-y)
quiet_cmd_vmlinux__ = LD $@
diff -Nru a/arch/cris/Makefile b/arch/cris/Makefile
--- a/arch/cris/Makefile 2004-08-19 01:07:24 +02:00
+++ b/arch/cris/Makefile 2004-08-19 01:07:24 +02:00
@@ -39,7 +39,7 @@
CFLAGS += -fno-omit-frame-pointer
endif
-HEAD := arch/$(ARCH)/$(SARCH)/kernel/head.o
+head-y := arch/$(ARCH)/$(SARCH)/kernel/head.o
LIBGCC = $(shell $(CC) $(CFLAGS) -print-file-name=libgcc.a)
^ permalink raw reply [flat|nested] 9+ messages in thread* kbuild: Add comments to Makefile.clean
2004-08-18 23:02 Kbuild updates Sam Ravnborg
` (3 preceding siblings ...)
2004-08-18 23:07 ` kbuild: Remove last occurrence of HEAD Sam Ravnborg
@ 2004-08-18 23:08 ` Sam Ravnborg
2004-08-18 23:09 ` kbuild: Added CHECKFLAGS to enable 'make CHECK=mysparse' Sam Ravnborg
2004-08-18 23:13 ` Kbuild updates Sam Ravnborg
6 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:08 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/18 23:17:03+02:00 sam@mars.ravnborg.org
# kbuild: add comments to Makefile.clean
#
# Chris Wedgwood <cw@f00f.org> wrote:
# > P.S. I'd love to see the rules in scripts/Makefile.* documented. I
# > would offer a patch for this but I don't understand the rules
# > myself...
# And provided the following patch, slightly modified by me.
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# scripts/Makefile.clean
# 2004/08/18 23:16:47+02:00 sam@mars.ravnborg.org +12 -0
# Add comments
#
diff -Nru a/scripts/Makefile.clean b/scripts/Makefile.clean
--- a/scripts/Makefile.clean 2004-08-19 01:08:07 +02:00
+++ b/scripts/Makefile.clean 2004-08-19 01:08:07 +02:00
@@ -29,13 +29,25 @@
# Add subdir path
subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
+
+# build a list of files to remove, usually releative to the current
+# directory
+
__clean-files := $(extra-y) $(EXTRA_TARGETS) $(always) \
$(targets) $(clean-files) \
$(host-progs) \
$(hostprogs-y) $(hostprogs-m) $(hostprogs-)
+
+# as clean-files is given relative to the current directory, this adds
+# a $(obj) prefix, except for absolute paths
+
__clean-files := $(wildcard \
$(addprefix $(obj)/, $(filter-out /%, $(__clean-files))) \
$(filter /%, $(__clean-files)))
+
+# as clean-dirs is given relative to the current directory, this adds
+# a $(obj) prefix, except for absolute paths
+
__clean-dirs := $(wildcard \
$(addprefix $(obj)/, $(filter-out /%, $(clean-dirs))) \
$(filter /%, $(clean-dirs)))
^ permalink raw reply [flat|nested] 9+ messages in thread* kbuild: Added CHECKFLAGS to enable 'make CHECK=mysparse'
2004-08-18 23:02 Kbuild updates Sam Ravnborg
` (4 preceding siblings ...)
2004-08-18 23:08 ` kbuild: Add comments to Makefile.clean Sam Ravnborg
@ 2004-08-18 23:09 ` Sam Ravnborg
2004-08-18 23:13 ` Kbuild updates Sam Ravnborg
6 siblings, 0 replies; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:09 UTC (permalink / raw)
To: linux-kernel
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/08/18 23:31:32+02:00 sam@mars.ravnborg.org
# kbuild/all archs: added CHECKFLAGS
#
# Using separate assignment for CHECKFLAGS allows convenient redefinition of CHECK
# on the command line:
# make CHECK=~/bin64/sparse C=2
# to use a special 64 bit version.
# Introduced usage in all archs that assined values to CHECK.
#
# Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
#
# scripts/Makefile.build
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +2 -2
# Use CHECKFLAGS
#
# arch/x86_64/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/sparc64/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/sparc/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/ppc64/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/ppc/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/m68k/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/i386/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/arm/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# arch/alpha/Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +1 -1
# Replace assigment to CHECK with assignment to CHECKFLAGS
#
# Makefile
# 2004/08/18 23:31:15+02:00 sam@mars.ravnborg.org +2 -1
# Introduce CHECKFLAGS
#
diff -Nru a/Makefile b/Makefile
--- a/Makefile 2004-08-19 01:08:59 +02:00
+++ b/Makefile 2004-08-19 01:08:59 +02:00
@@ -285,6 +285,7 @@
KALLSYMS = scripts/kallsyms
PERL = perl
CHECK = sparse
+CHECKFLAGS :=
MODFLAGS = -DMODULE
CFLAGS_MODULE = $(MODFLAGS)
AFLAGS_MODULE = $(MODFLAGS)
@@ -308,7 +309,7 @@
export VERSION PATCHLEVEL SUBLEVEL EXTRAVERSION KERNELRELEASE ARCH \
CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC \
CPP AR NM STRIP OBJCOPY OBJDUMP MAKE AWK GENKSYMS PERL UTS_MACHINE \
- HOSTCXX HOSTCXXFLAGS LDFLAGS_BLOB LDFLAGS_MODULE CHECK
+ HOSTCXX HOSTCXXFLAGS LDFLAGS_BLOB LDFLAGS_MODULE CHECK CHECKFLAGS
export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS
export CFLAGS CFLAGS_KERNEL CFLAGS_MODULE
diff -Nru a/arch/alpha/Makefile b/arch/alpha/Makefile
--- a/arch/alpha/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/alpha/Makefile 2004-08-19 01:08:59 +02:00
@@ -11,7 +11,7 @@
NM := $(NM) -B
LDFLAGS_vmlinux := -static -N #-relax
-CHECK := $(CHECK) -D__alpha__=1
+CHECKFLAGS += -D__alpha__=1
cflags-y := -pipe -mno-fp-regs -ffixed-8
# Determine if we can use the BWX instructions with GAS.
diff -Nru a/arch/arm/Makefile b/arch/arm/Makefile
--- a/arch/arm/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/arm/Makefile 2004-08-19 01:08:59 +02:00
@@ -58,7 +58,7 @@
CFLAGS +=-mapcs-32 $(arch-y) $(tune-y) $(call check_gcc,-malignment-traps,-mshort-load-bytes) -msoft-float -Wa,-mno-fpu -Uarm
AFLAGS +=-mapcs-32 $(arch-y) $(tune-y) -msoft-float -Wa,-mno-fpu
-CHECK := $(CHECK) -D__arm__=1
+CHECKFLAGS += -D__arm__=1
#Default value
DATAADDR := .
diff -Nru a/arch/i386/Makefile b/arch/i386/Makefile
--- a/arch/i386/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/i386/Makefile 2004-08-19 01:08:59 +02:00
@@ -18,7 +18,7 @@
LDFLAGS := -m elf_i386
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
LDFLAGS_vmlinux :=
-CHECK := $(CHECK) -D__i386__=1
+CHECKFLAGS += -D__i386__=1
CFLAGS += -pipe -msoft-float
diff -Nru a/arch/m68k/Makefile b/arch/m68k/Makefile
--- a/arch/m68k/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/m68k/Makefile 2004-08-19 01:08:59 +02:00
@@ -28,7 +28,7 @@
LDFLAGS_vmlinux = -N
endif
-CHECK := $(CHECK) -D__mc68000__=1 -I$(shell $(CC) -print-file-name=include)
+CHECKFLAGS += -D__mc68000__=1 -I$(shell $(CC) -print-file-name=include)
# without -fno-strength-reduce the 53c7xx.c driver fails ;-(
CFLAGS += -pipe -fno-strength-reduce -ffixed-a2
diff -Nru a/arch/ppc/Makefile b/arch/ppc/Makefile
--- a/arch/ppc/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/ppc/Makefile 2004-08-19 01:08:59 +02:00
@@ -27,7 +27,7 @@
-ffixed-r2 -Wno-uninitialized -mmultiple
CPP = $(CC) -E $(CFLAGS)
-CHECK := $(CHECK) -D__powerpc__=1
+CHECKFLAGS += -D__powerpc__=1
ifndef CONFIG_E500
CFLAGS += -mstring
diff -Nru a/arch/ppc64/Makefile b/arch/ppc64/Makefile
--- a/arch/ppc64/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/ppc64/Makefile 2004-08-19 01:08:59 +02:00
@@ -22,7 +22,7 @@
CC := $(CC) -m64
endif
-CHECK := $(CHECK) -m64 -D__powerpc__=1
+CHECKFLAGS += -m64 -D__powerpc__=1
LDFLAGS := -m elf64ppc
LDFLAGS_vmlinux := -Bstatic -e $(KERNELLOAD) -Ttext $(KERNELLOAD)
diff -Nru a/arch/sparc/Makefile b/arch/sparc/Makefile
--- a/arch/sparc/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/sparc/Makefile 2004-08-19 01:08:59 +02:00
@@ -13,7 +13,7 @@
AS := $(AS) -32
LDFLAGS := -m elf32_sparc
-CHECK := $(CHECK) -D__sparc__=1
+CHECKFLAGS += -D__sparc__=1
#CFLAGS := $(CFLAGS) -g -pipe -fcall-used-g5 -fcall-used-g7
CFLAGS := $(CFLAGS) -m32 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
diff -Nru a/arch/sparc64/Makefile b/arch/sparc64/Makefile
--- a/arch/sparc64/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/sparc64/Makefile 2004-08-19 01:08:59 +02:00
@@ -8,7 +8,7 @@
# Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz)
#
-CHECK := $(CHECK) -D__sparc__=1 -D__sparc_v9__=1
+CHECKFLAGS += -D__sparc__=1 -D__sparc_v9__=1
CPPFLAGS_vmlinux.lds += -Usparc
diff -Nru a/arch/x86_64/Makefile b/arch/x86_64/Makefile
--- a/arch/x86_64/Makefile 2004-08-19 01:08:59 +02:00
+++ b/arch/x86_64/Makefile 2004-08-19 01:08:59 +02:00
@@ -37,7 +37,7 @@
OBJCOPYFLAGS := -O binary -R .note -R .comment -S
LDFLAGS_vmlinux := -e stext
-CHECK := $(CHECK) -D__x86_64__=1
+CHECKFLAGS += -D__x86_64__=1
cflags-$(CONFIG_MK8) += $(call check_gcc,-march=k8,)
cflags-$(CONFIG_MPSC) += $(call check_gcc,-march=nocona,)
diff -Nru a/scripts/Makefile.build b/scripts/Makefile.build
--- a/scripts/Makefile.build 2004-08-19 01:08:59 +02:00
+++ b/scripts/Makefile.build 2004-08-19 01:08:59 +02:00
@@ -85,10 +85,10 @@
ifneq ($(KBUILD_CHECKSRC),0)
ifeq ($(KBUILD_CHECKSRC),2)
quiet_cmd_force_checksrc = CHECK $<
- cmd_force_checksrc = $(CHECK) $(c_flags) $< ;
+ cmd_force_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ;
else
quiet_cmd_checksrc = CHECK $<
- cmd_checksrc = $(CHECK) $(c_flags) $< ;
+ cmd_checksrc = $(CHECK) $(CHECKFLAGS) $(c_flags) $< ;
endif
endif
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Kbuild updates
2004-08-18 23:02 Kbuild updates Sam Ravnborg
` (5 preceding siblings ...)
2004-08-18 23:09 ` kbuild: Added CHECKFLAGS to enable 'make CHECK=mysparse' Sam Ravnborg
@ 2004-08-18 23:13 ` Sam Ravnborg
2004-08-18 21:34 ` kernel 2.6 and networking enhancements Imran Badr
6 siblings, 1 reply; 9+ messages in thread
From: Sam Ravnborg @ 2004-08-18 23:13 UTC (permalink / raw)
To: Andrew Morton, linux-kernel
On Thu, Aug 19, 2004 at 01:02:52AM +0200, Sam Ravnborg wrote:
> Another bunch of smallish kbuild updates.
Everything pushed to:
bk://linux-sam.bkbits.net/kbuild for BK users.
Sam
^ permalink raw reply [flat|nested] 9+ messages in thread