From 95e91f8e393105e6968e638673b82a4f5e6cc656 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Wed, 26 Sep 2018 18:08:46 -0700 Subject: [PATCH] Remove obsolete make settings We turn off the default implicit and suffix rules with --no_builtin_rules. DELETE_ON_ERROR has no effect, ninja just keeps track of whether we've successfully built it or not. Test: build-aosp_arm.ninja is the same before/after Change-Id: I2e407d4a12dd3a2af3e923fe3e1a3f7a6e2a463c --- core/config.mk | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/config.mk b/core/config.mk index b34bd2bd2c..483bc772a5 100644 --- a/core/config.mk +++ b/core/config.mk @@ -48,19 +48,6 @@ backslash := $(patsubst %a,%,$(backslash)) # Prevent accidentally changing these variables .KATI_READONLY := SHELL empty space comma newline pound backslash -# this turns off the suffix rules built into make -.SUFFIXES: - -# this turns off the RCS / SCCS implicit rules of GNU Make -% : RCS/%,v -% : RCS/% -% : %,v -% : s.% -% : SCCS/s.% - -# If a rule fails, delete $@. -.DELETE_ON_ERROR: - # Mark variables that should be coming as environment variables from soong_ui # as readonly .KATI_READONLY := OUT_DIR TMPDIR BUILD_DATETIME_FILE