[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make modules and make modules_install



I got no response from the developers....I just compile the module
manually using gcc-cris and then 'ftp' it to the box.

-- 
----------------------------------------------------------------------
Amit Kucheria          akucheria@xxxxxxx.com
Metric Systems Corp.   2320 Cousteau Court, Suite 201, Vista, CA 92083
----------------------------------------------------------------------
On Wed, 2003-04-16 at 14:17, Michael T. Francis wrote:
> 
> ----- Original Message ----- 
> From: Michael T. Francis 
> To: dev-etrax@xxxxxxx.com 
> Sent: Wednesday, April 16, 2003 4:12 PM
> Subject: make modules and make modules_install
> 
> 
> Is there a resolution to the following thread on your mailing list?
> http://mhonarc.axis.se/dev-etrax/msg02913.html
> 
> I am using devboard_lx-R2_1_0 with linux-2.4.19.
> 
> The 'kernel' rule in the Makefile I have looks like this...
> 
> ## kernel - Build new kernel (vmlinuz).
> ##          Use this target to rebuild the kernel if you have made changes to
> ##          the kernel source (in $(AXIS_KERNEL_DIR)) or reconfigured the kernel
> ##          (changed the contents of $(AXIS_KERNEL_DIR)/.config).
> ##          If the build after a reconfiguration is successful the new
> ##          configuration will be saved in kernelconfig.latest.
> ##
> .PHONY: kernel
> kernel:
>  @xxxxxxx.latest \
>        -o ! -f $(AXIS_KERNEL_DIR)/.config; then \
>   cp kernelconfig $(AXIS_KERNEL_DIR)/.config ; \
>   rm -f kernelconfig.latest ; \
>  fi
>  @xxxxxxx.config \
>      2> /dev/null ; then \
>   ($(MAKE) -C $(AXIS_KERNEL_DIR) oldconfig \
>    && $(MAKE) -C $(AXIS_KERNEL_DIR) dep \
>    && $(MAKE) -C $(AXIS_KERNEL_DIR) clean) || exit 1; \
>  fi
>  $(MAKE) -C $(AXIS_KERNEL_DIR) zImage
>  cp $(AXIS_KERNEL_DIR)/.config kernelconfig.latest
>  $(MAKE) vmlinuz