From e6c2380b6f22f9ab7948a864a70214cecdcc45d0 Mon Sep 17 00:00:00 2001 From: Oleksandr Ivantsiv Date: Thu, 2 Mar 2017 14:08:25 +0200 Subject: [PATCH] Remove SKU from distclean target. --- slave.mk | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/slave.mk b/slave.mk index 55fc848cf9..456b73ec46 100644 --- a/slave.mk +++ b/slave.mk @@ -38,19 +38,13 @@ ifneq ($(CONFIGURED_PLATFORM),generic) @exit 1 endif -.sku : -ifneq ($(CONFIGURED_PLATFORM),generic) - @echo Build system is not configured, please run make configure - @exit 1 -endif - configure : @mkdir -p target/debs @mkdir -p target/python-wheels @echo $(PLATFORM) > .platform -distclean : .platform .sku clean - @rm -f .platform .sku +distclean : .platform clean + @rm -f .platform ############################################################################### ## Include other rules @@ -398,4 +392,4 @@ all : .platform $$(addprefix $(TARGET_PATH)/,$$(SONIC_ALL)) .PHONY : $(SONIC_CLEAN_DEBS) $(SONIC_CLEAN_TARGETS) $(SONIC_CLEAN_WHEELS) clean distclean configure -.INTERMEDIATE : $(SONIC_INSTALL_TARGETS) $(SONIC_INSTALL_WHEELS) $(DOCKER_LOAD_TARGETS) docker-start .platform .sku +.INTERMEDIATE : $(SONIC_INSTALL_TARGETS) $(SONIC_INSTALL_WHEELS) $(DOCKER_LOAD_TARGETS) docker-start .platform