Blame project/osforce.mk

e26b8f
ifneq ($(CFGHOST),@cfghost@)
1dbe31
include $(PROJECT_DIR)/config/$(CFGHOST)/config.mk
e26b8f
endif
1dbe31
64ed7b
CFGHOST_SYNONYM ?= $(CFGHOST)
64ed7b
64ed7b
ifneq ($(CFGHOST),$(CFGHOST_SYNONYM))
64ed7b
include $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/config.mk
64ed7b
endif
64ed7b
18457f
config.tag:
18457f
	mkdir -p build
64ed7b
	cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/config.c   build/
64ed7b
	cp -a $(PROJECT_DIR)/config/$(CFGHOST_SYNONYM)/pyconfig.h build/
18457f
	touch config.tag
18457f
18457f
clean-config:
18457f
	rm -f config.tag
18457f
	rm -f build/config.c
18457f
	rm -f build/pyconfig.h
18457f
18457f
clean:	clean-config
18457f
18457f
build/config.c:		config.tag
18457f
build/pyconfig.h:	config.tag