summaryrefslogtreecommitdiffstats
path: root/rules/post/ptxd_make_world_kconfig.make
blob: 6b40cf5406bbc06a9f65b418cb0e3b5ad818a257 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*-makefile-*-
#
# Copyright (C) 2011 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# run kconfig for the package
#
world/kconfig = \
	$(call world/env, $(1)) \
	ptx_config_target=$(strip $(2)) \
	ptxd_make_world_kconfig

#
# provide the .config file for kconfig
#
world/kconfig-setup = \
	$(call world/env, $(1)) \
	ptx_config_mode=$(strip $(2)) \
	ptxd_make_world_kconfig_setup

#
# update the package config file from .config
#
world/kconfig-sync = \
	$(call world/env, $(1)) \
	ptxd_make_world_kconfig_sync

# vim: syntax=make