#-----------------------------------------------------------------------
# Kernel and Modules Preparation
#
# this file should probably be called 'kernel' -- it drives the
# generation of the kernel files and modules tarballs used by other
# points in the build process
#-----------------------------------------------------------------------

##
## generalized rule
##
ifeq ($(architecture), alpha)
modules.tgz: 
else
modules.tgz sys_map.gz config.gz linux.bin modcont:	kernel.sh
	$(ROOTCMD) ./kernel.sh $(archive) $(kver) "$*" $(packages_with_modules)

modulesbf%.tgz sys_mapbf%.gz configbf%.gz linuxbf%.bin modcontbf%:	kernel.sh
	$(ROOTCMD) ./kernel.sh $(archive) $(kver_24) "bf$*" $(packages_with_modules)

modules%.tgz sys_map%.gz config%.gz linux%.bin modcont%:	kernel.sh
	$(ROOTCMD) ./kernel.sh $(archive) $(kver) "$*" $(packages_with_modules)
endif

#Local variables:
#mode: Makefile
#End:
