The destination directory does not have to have the same name as the
source one and the source one does not have to be 'cf' all the time (in
the libsonly package, it isn't).
# Rules for configuration files
-run/$(CONFIG_DIR)/%: $(s)/$(CONFIG_DIR)/% $(o)/config.mk $(BUILDSYS)/genconf
+run/$(CONFIG_DIR)/%: $(s)/$(CONFIG_SRC_DIR)/% $(o)/config.mk $(BUILDSYS)/genconf
$(M)CF $<
$(Q)$(BUILDSYS)/genconf $< $@ $(o)/config.mk
PROGS=
CONFIGS=
CONFIG_DIR=etc
+CONFIG_SRC_DIR=cf
TESTS=
EXTRA_RUNDIRS=tmp log
INSTALL_RUNDIRS=bin lib
# We will use the libucw build system
include $(BUILDSYS)/Maketop
+CONFIG_SRC_DIR=etc
+
# Install the build system
include $(BUILDSYS)/Makefile