Skip to content

Commit

Permalink
Merge pull request #359 from oleksandrivantsiv/master
Browse files Browse the repository at this point in the history
Remove SKU from distclean target.
  • Loading branch information
marian-pritsak authored Mar 2, 2017
2 parents 2a2af6a + e6c2380 commit 11379f9
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions slave.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 11379f9

Please sign in to comment.