#
#
# This file is subject to the terms and conditions of the GNU General Public
# License.  See the file "COPYING" in the main directory of this archive
# for more details.
#
# Copyright (C) 2003 ARC International
#


SYSTEM	=$(TOPDIR)/vmlinux

# From Beta's doc:
# ZTEXTADDR - Address where zImage is located by the bootloader
# ZRELADDR - Address where the zImage will be relocated
# PARAMS_PHYS - Address where tagged parameters are to be found
# INITRD_PHYS - Physical Address of the Ramdisk
# ZBSSADDR - Address where the real kernel should execute from



#not very sure as to what to fill here...

ZRELADDR	 = 0x00000000 # where to relocate it... hmmm.... 
ZTEXTADDR	 = 0x00000000 # we'll put the kernel image here for now...
#endif


#
# If you don't define ZRELADDR above,
# then it defaults to ZTEXTADDR
#
ifeq ($(ZRELADDR),)
ZRELADDR	= $(ZTEXTADDR)
endif

export	SYSTEM ZTEXTADDR ZBSSADDR ZRELADDR 

bootpImage: $(SYSTEM) 
	cp -f $(SYSTEM) $@

clean:
	$(RM) Image zImage bootpImage initrd.c jffsimg.c
	#@$(MAKE) -C compressed clean


dep:
