[Kernel-handbook-general] About changing the configuration before building
Ben Hutchings
ben at decadent.org.uk
Fri Dec 12 03:16:38 UTC 2014
On Fri, 2014-12-12 at 10:52 +0800, Chen Baozi wrote:
> Hi all,
>
> According to the handbook, to change the configuration before building, one
> could do:
>
> $ make -C debian/build/build_${ARCH}_${FEATURESET}_${FLAVOUR} menuconfig
>
> And then build the packages using:
>
> $ fakeroot make -f debian/rules.gen \
> binary-arch_${ARCH}_${FEATURESET}_${FLAVOUR}
>
> However, it seems that what the first command is the .config under the
> debian/build/build_${ARCH}_${FEATURESET}_${FLAVOUR}, while the binary-arch
> would use the config from ${BUILD_DIR}/config.${ARCH}_${FEATURESET}_${FLAVOUR}.
[...]
The latter file is only generated and copied while the build directory
is being set up (setup_$(ARCH)_$(FEATURESET)_$(FLAVOUR) targets). Once
that is done (indicated by the presence of a stamp file), invoking the
corresponding build-arch and binary-arch targets will not cause it to be
copied again.
Ben.
--
Ben Hutchings
Kids! Bringing about Armageddon can be dangerous. Do not attempt it in
your own home. - Terry Pratchett and Neil Gaiman, `Good Omens'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/kernel-handbook-general/attachments/20141212/0da8b5f8/attachment.sig>
More information about the Kernel-handbook-general
mailing list