summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_import.make
blob: 9a32bcf01ee5ad1f57723cc361cb63a9e1e7c4d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# -*-makefile-*-

#
# import kconfig tree from package into ptxdist
#
# package must setup variable <PACKAGE>_KCONFIG
# that points to the toplevel KCONFIG file
#
# the kconfig tree will be found in
# $PTXDIST_TOPLEVEL/config/<package>
# all symbols are prefixed with <PACKAGE>
#
# the import is started with:
# ptxdist make import <package>
#
%_import: $(STATEDIR)/%.extract
	@"${PTX_LIBDIR}/ptxd_make_import.awk" "$(*)" "$($(PTX_MAP_TO_PACKAGE_$(*))_KCONFIG)"

# vim: syntax=make