12.11.2010 23:36, Erich Titl пишет:
> Hi
>
> I am making really slow progress on the build from scratch, mostly due
> to the fact that a number of packages referring to
>
> export BT_LINUX_DIR:=$(BT_SOURCE_DIR)/linux/linux
>
> This is definitely wrong in this context, as there is no such directory.
> It appears that a good expansion could be
>
> export BT_LINUX_DIR:=$(BT_SOURCE_DIR)/linux/linux-$(KARCH)
>
> but apparently the KARCH variable is not consistently set all the time.
> It appears that buildtool does not iterate over the all possible values
> in KARCHS.
>
> Of course,the architecture might not be needed for all kernel related
> code so we might use something generic.
>
> Anyway this build for multiple kernels still leaves a few quirks open
>
> I am just calling
>
> ./buildtool.pl build
>
> and that way there is definitely no correct kernel source available
>
> cheers
>
> Erich
Full path to directory is generated in kackages that required kernel 
sources. If package just needs kernel source - path consists of 
$(BT_LINUX_DIR)$(FIRSTKARCH), and for kernel modules - they are 
generated in cycle for each KARCH. Look at accel-pptp makefile for 
example, or on ipset.

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev

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

Reply via email to