mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
defs.mk, rules.mk: Add MAKEFLAGS += -r
This disables implicit rules and should speed up the build a tad. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
6d8ae11087
commit
d4581f488a
2 changed files with 6 additions and 1 deletions
|
|
@ -5,6 +5,8 @@
|
||||||
ifndef JW_BUILD_DEF_MK_INCLUDED
|
ifndef JW_BUILD_DEF_MK_INCLUDED
|
||||||
JW_BUILD_DEF_MK_INCLUDED = true
|
JW_BUILD_DEF_MK_INCLUDED = true
|
||||||
|
|
||||||
|
MAKEFLAGS += -r
|
||||||
|
|
||||||
include $(MODDIR)/make/platform.mk
|
include $(MODDIR)/make/platform.mk
|
||||||
include $(MODDIR)/make/projects.mk
|
include $(MODDIR)/make/projects.mk
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -309,6 +309,9 @@ $(FLAVOUR_PREFIX)%.o: %.c
|
||||||
$(FLAVOUR_PREFIX)%.o: %.S
|
$(FLAVOUR_PREFIX)%.o: %.S
|
||||||
$(CC) $(BUILD_CFLAGS) -c $< -o $@
|
$(CC) $(BUILD_CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
|
$(LIB_A)(%.o): %.o
|
||||||
|
$(AR) cr $(LIB_A) $<
|
||||||
|
|
||||||
timers_%.h: %.h $(GENERATE_FUNC_TIMERS)
|
timers_%.h: %.h $(GENERATE_FUNC_TIMERS)
|
||||||
sh $(GENERATE_FUNC_TIMERS) $< $@
|
sh $(GENERATE_FUNC_TIMERS) $< $@
|
||||||
|
|
||||||
|
|
@ -388,7 +391,7 @@ $$(TOPDIR)/dir_install_$(1).done:
|
||||||
mkdir -p $$(INSTALL_$(1)DIR)
|
mkdir -p $$(INSTALL_$(1)DIR)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|
||||||
$$(BUILD_$(1)DIR)/%: % $$(TOPDIR)/dir_build_$(1).done
|
$$(BUILD_$(1)DIR)/%: % | $$(TOPDIR)/dir_build_$(1).done
|
||||||
@if [ ! $$< -ef $$@ -a "`echo $$< | $(SED) 's/\..*//'`" != local ]; then \
|
@if [ ! $$< -ef $$@ -a "`echo $$< | $(SED) 's/\..*//'`" != local ]; then \
|
||||||
echo install -p -m $($(1)MODE) $$< $$@ ;\
|
echo install -p -m $($(1)MODE) $$< $$@ ;\
|
||||||
install -p -m $($(1)MODE) $$< $$@ ;\
|
install -p -m $($(1)MODE) $$< $$@ ;\
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue