| Submitter | Samuel Bronson |
|---|---|
| Date | 2009-06-01 18:37:25 |
| Message ID | <1243881445-30069-4-git-send-email-naesten@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/27264/ |
| State | New |
| Headers | show |
Comments
On Mon, Jun 1, 2009 at 11:37 AM, Samuel Bronson <naesten@gmail.com> wrote: > This will allow users to override build settings without dirtying their > trees, making life with `git stash' a bit easier. > I modify the patch to use "local.mk" and add it in .gitignore. If that works for you, I am going to apply it as yours. Thanks Chris
On Tue, Jun 2, 2009 at 4:30 PM, Christopher Li <sparse@chrisli.org> wrote: > On Mon, Jun 1, 2009 at 11:37 AM, Samuel Bronson <naesten@gmail.com> wrote: >> This will allow users to override build settings without dirtying their >> trees, making life with `git stash' a bit easier. >> > I modify the patch to use "local.mk" and add it in .gitignore. > > If that works for you, I am going to apply it as yours. Yeah, that's fine. -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/Makefile b/Makefile index 18cec68..f45a74a 100644 --- a/Makefile +++ b/Makefile @@ -10,9 +10,10 @@ LDFLAGS += -g AR = ar # -# For debugging, uncomment the next one +# For debugging, put this in config.mak: +# +# CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 # -#CFLAGS += -O0 -DDEBUG -g3 -gdwarf-2 HAVE_LIBXML=$(shell pkg-config --exists libxml-2.0 && echo 'yes') @@ -73,6 +74,11 @@ QUIET_LINK = $(Q:@=@echo ' LINK '$@;) QUIET_INST_SH = $(Q:@=echo -n ' INSTALL ';) QUIET_INST = $(Q:@=@echo -n ' INSTALL ';) + +# Allow users to override build settings without dirtying their trees +-include config.mak + + all: $(PROGRAMS) sparse.pc install: $(INST_PROGRAMS) $(LIBS) $(LIB_H) sparse.pc
This will allow users to override build settings without dirtying their trees, making life with `git stash' a bit easier. Signed-off-by: Samuel Bronson <naesten@gmail.com> --- Makefile | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-)