blob: 8728b8ffb95c1f18aefece9b4420babb92dc03dc (
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
|
# -*-makefile-*-
ifdef PTXDIST_QUIET
_ptx_oldconfig := silentoldconfig
else
_ptx_oldconfig := oldconfig
endif
#
# ptx_oldconfig
#
# execute "make oldconfig" on a programm. Mainly used for
# kconfig based packages.
#
# this functions either uses "oldconfig" (default) or
# "silentoldconfig" if ptxdist is called with the quiet switch
#
# The silentoldconfig causes ptxdist to fail if the process
# needs userinteraction, but this is a feature not a bug.
#
define ptx/oldconfig
cd "$($(strip $(1))_DIR)" && $($(strip $(1))_PATH) $($(strip $(1))_ENV) $(MAKE) \
$($(strip $(1))_MAKEVARS) $($(strip $(1))_MAKE_OPT) $(_ptx_oldconfig)
endef
# vim: syntax=make
|