From cd84f06dcf250fef51b61445e58aa1781cb2358e Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 18 Jan 2006 21:12:52 +0000 Subject: Add target strip command and use it, also disable for now CFLAGS-multi-y, after splitting all MSRC, it won't be needed --- Makerules | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makerules') diff --git a/Makerules b/Makerules index 8ec9c3c58..95acacc7b 100644 --- a/Makerules +++ b/Makerules @@ -82,8 +82,10 @@ disp_ld = $($(DISP)_disp_ld) cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(subst $(top_srcdir),,$(dir $<))) $(CFLAGS-$(notdir $<)) $(CFLAGS-$(notdir $@)) cmd_compile.S = $(cmd_compile.c) $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@)) cmd_compile.m = $(cmd_compile.c) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@)) -cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@)) $(CFLAGS-multi-y) +cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@)) +#cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@)) $(CFLAGS-multi-y) cmd_strip = $(STRIPTOOL) $(STRIP_FLAGS) $^ +cmd_t_strip = $(STRIPTOOL) $(STRIP_FLAGS) $@ cmd_ar = $(AR) $(ARFLAGS) $@ $^ compile.c = @$(disp_compile.c) ; $(cmd_compile.c) @@ -93,6 +95,7 @@ compile.S = @$(disp_compile.S) ; $(cmd_compile.S) compile.m = @$(disp_compile.m) ; $(cmd_compile.m) compile-m = @$(disp_compile-m) ; $(cmd_compile-m) do_strip = @$(disp_strip) ; $(cmd_strip) +do_t_strip= @$(disp_strip) ; $(cmd_t_strip) do_ar = @$(disp_ar) ; $(cmd_ar) define compile.u -- cgit v1.2.3