]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/ibl.git/blob - src/ethboot/c64x/make/makefile
Make updates for big endian
[keystone-rtos/ibl.git] / src / ethboot / c64x / make / makefile
1 #*************************************************************************************
2 #* FILE NAME: makefile
3 #*
4 #* DESCRIPTION: Makes the ethernet module for the IBL
5 #*
6 #*************************************************************************************/
8 ifndef IBL_ROOT
9         export IBL_ROOT= ../../..
10 endif
12 ECODIR= $(IBL_ROOT)/ethboot
14 CSRC= ethboot.c
16 .PHONY: ethboot
19 include $(IBL_ROOT)/make/$(ARCH)/makeeco.mk
23 C6X_C_DIR+=  $(IBL_ROOT)
24 C6X_C_DIR+= ;$(IBL_ROOT)/arch/$(ARCH)
25 C6X_C_DIR+= ;$(IBL_ROOT)/device
26 C6X_C_DIR+= ;$(IBL_ROOT)/device/$(TARGET)
27 C6X_C_DIR+= ;$(IBL_ROOT)/ethboot
28 C6X_C_DIR+= ;$(IBL_ROOT)/driver/eth
29 C6X_C_DIR+= ;$(STDINC)
30 C6X_C_DIR+= ;$(IBL_ROOT)/hw/macs
31 C6X_C_DIR+= ;$(IBL_ROOT)/hw/mdio
32 export C6X_C_DIR
36 ethboot: gen_cdefdep makefile $(OBJS)
39 $(OBJS): cdefdep
41 gen_cdefdep:
42         @echo Checking command line dependencies
43         @echo $(ENDIAN) $(TARGET) $(CDEFS) > cdefdep.tmp
44         @sh -c 'if diff -q cdefdep.tmp cdefdep ; then echo same ; else $(CP) cdefdep.tmp cdefdep ; fi '