Gary,

On Dienstag, 11. November 2008, Gary Thomas wrote:
> Juergen Beisert wrote:
> > On Dienstag, 11. November 2008, Gary Thomas wrote:
> >> Index: rules/canutils.in
> >> ===================================================================
> >> --- rules/canutils.in   (revision 9080)
> >> +++ rules/canutils.in   (working copy)
> >> @@ -2,7 +2,6 @@
> >>  menuconfig CANUTILS
> >>         tristate
> >>         prompt "canutils                      "
> >> -       select KERNEL
> >>         help
> >>           The canutils package contains tools to configure
> >>           and test the Socket CAN framework.
> >
> > Does it also work for you, if you do a "ptxdist clean kernel && ptxdist
> > targetinstall canutils"?
> >
> > KERNEL should be kept active, because its header files are needed.
>
> Builds fine for me without KERNEL (which gets in my way because
> I use a totally separate kernel source tree)

So it seems your are having an already built kernel around in your BSP?

Because the canutils.make contains these lines:

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

[...]

$(STATEDIR)/canutils.prepare:
        @$(call targetinfo)
        @$(call clean, $(CANUTILS_DIR)/config.cache)
        cd $(CANUTILS_DIR) && \
                $(CANUTILS_PATH) $(CANUTILS_ENV) \
                CPPFLAGS="-I${KERNEL_DIR}/include $${CPPFLAGS}" \
                ./configure $(CANUTILS_AUTOCONF)
        @$(call touch)

Here the "${KERNEL_DIR}" is used.

Regards,
Juergen Beisert

-- 
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
    Handelsregister: Amtsgericht Hildesheim, HRA 2686
         Vertretung Sued/Muenchen, Germany
   Phone: +49-8766-939 228 |  Fax: +49-5121-206917-9

--
ptxdist mailing list
[email protected]

Reply via email to