Wolfram Sang wrote:
> What about...
> 
>> diff --git a/rules/cross-dummy-strip.in b/rules/cross-dummy-strip.in
>> new file mode 100644
>> index 0000000..9cd921a
>> --- /dev/null
>> +++ b/rules/cross-dummy-strip.in
>> @@ -0,0 +1,5 @@
>> +## SECTION=crosstools
>> +
>> +config CROSS_DUMMY_STRIP
>> +    bool
>> +    default y
> 
> ...dropping this entirely and...
> 
> 
>> diff --git a/rules/cross-dummy-strip.make b/rules/cross-dummy-strip.make
>> new file mode 100644
>> index 0000000..ca8feab
>> --- /dev/null
>> +++ b/rules/cross-dummy-strip.make
>> @@ -0,0 +1,33 @@
>> +# -*-makefile-*-
>> +#
>> +# Copyright (C) 2009 by Wolfram Sang <w.s...@pengutronix.de>
>> +#
>> +# See CREDITS for details about who has contributed to this project.
>> +#
>> +# For further information about the PTXdist project and license conditions
>> +# see the README file.
>> +#
>> +
>> +#
>> +# We provide this package
>> +#
>> +CROSS_PACKAGES-$(PTXCONF_CROSS_DUMMY_STRIP) += cross-dummy-strip
> 
> ...simply using 'CROSS_PACKAGES-y' here? Looks better to me.

sorry, this probably doesn't work. This line is used to identify a
package, and sets up a mapping from PTXCONF_CROSS_DUMMY_STRIP to
cross-dummy-strip and vice versa. Whis is the base for the automatic
dependency generation.

This also means tha the package is _allways_ installed, even if building
toolchains or bare metal targets.

cheers, Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to