summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-01-28 23:12:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-01-28 23:12:43 +0000
commit317964651ced8ba016841cfe015e3ae09831b5c8 (patch)
tree58f802dc02af2e2ac8a1cbc35a0a094313629843 /Makerules
parent3bbb872db24d775c326126378821d36aefb42251 (diff)
Partially revent "make utils" fix. This version is less intrusive,
but still works! :)
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 4dfc07890..d21e6da95 100644
--- a/Makerules
+++ b/Makerules
@@ -190,9 +190,7 @@ cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) \
$(CFLAGS_gen.dep)
cmd_compile.i = $(cmd_compile.c:-c=-E -dD $(EXTRA_CPPFLAGS))
cmd_compile.s = $(cmd_compile.c:-c=-S)
-#vda
-###_compile.u = $(CC) $^ $(DEPS-$(notdir $@)) -o $@ $(CFLAGS) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(notdir $@)) $(CFLAGS_gen.dep)
-cmd_compile.u = $(CC) $^ $(DEPS-$(notdir $@)) -o $@ $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(notdir $@)) $(CFLAGS_gen.dep)
+cmd_compile.u = $(CC) $^ $(DEPS-$(notdir $@)) -o $@ $(CFLAGS) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(notdir $@)) $(CFLAGS_gen.dep)
cmd_compile.S = $(filter-out -std=gnu99, $(cmd_compile.c)) -D__ASSEMBLER__ $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
cmd_compile.m = $(cmd_compile.c) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
cmd_compile.mi= $(cmd_compile.m:-c=-E -dD $(EXTRA_CPPFLAGS))