01.11.2010 16:23, KP Kirchdoerfer пишет:
> Am Montag, 1. November 2010, 12:54:53 schrieb Andrew:
>> Hi all.
>> I have done support for multiple subarchs (or even different configs for
>> one subarch), and it seems that it will work OK.
>> Currently new subarch requires:
>> 1) record in KARCHS variable in MasterInclude.mk with it's name
>> 2) patch file into linux package, with name
>> $(CONFIGNAME.config)-$(SUBARCH).patch
>> 3) separate package description in initrd buildtool.cfg
>> 4) separate package description in kmodules buildtool.cfg
>>
>> I also removed symlink linux in the linux package directory - it is
>> meanless now.
>>
>> About kernel-dependent package building:
>> 1) some packages requires path to kernel include directory - just
>> replace in path $(BT_LINUX_DIR) to $(BT_LINUX_DIR)-$(BT_KERNEL_VERSION)
>> 2) some packages (like accel-pptp's patched poptop) requires path to
>> include/linux/version.h - so they wants path to linux-$(SUBARCH); IMHO
>> it'll be enough to specify path to any building dir.
>> 3) kernel modules (drivers&  etc) - they must be rebuilded for _each_
>> subarch&  module must be copied to corresponding directory (for examples
>> - look at accel-pptp)
> Andrew,
> something went wrong...:
> patch: **** Can't open patch file Bering-2.6.35.7.config-i686.patch : No such
> file or directory
>
> and the content of Bering-2.6.35.7-i686.patch:
>
> --- Bering-2.6.35.7.config      2010-10-31 21:27:15.770085373 +0200
> +++ Bering-2.6.35.7.config-i686 2010-10-31 21:30:37.231807259 +0200
> @@ -20,7 +20,7 @@
>   CONFIG_HAVE_LATENCYTOP_SUPPORT=y
>   CONFIG_MMU=y
>   CONFIG_ZONE_DMA=y
> -# CONFIG_NEED_DMA_MAP_STATE is not set
> +# CONFIG_NEED_DMA_MAP_STATE is not set
>   CONFIG_NEED_SG_DMA_LENGTH=y
>   CONFIG_GENERIC_ISA_DMA=y
>   CONFIG_GENERIC_IOMAP=y
>
> Bering-2.6.35.7.config-i686 ist empty...
>
> regards kp
Fixed. I changed name of patch, but forgot to commit changed buildtool.cfg

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to