Merge pull request #3 in PROCESSOR-SDK/ibl from PRSDK-5675 to master
[keystone-rtos/ibl.git] / src / hw / c64x / make / makestg2
1 #*********************************************************************************
2 #* FILE PURPOSE: Build the I2C EEPROM reader
3 #*********************************************************************************
4 #* FILE NAME: makestg2
5 #*
6 #* DESCRIPTION: Builds the i2c reader
7 #*
8 #*********************************************************************************
11 DEVICES= c6455 c6472 c6474 c6474l c6457 c66x c665x c66xk2x
13 ifndef IBL_ROOT
14  IBL_ROOT=../..
15 endif
18 export C6X_C_DIR
20 export ARCH
21 export TARGET
24 clean2: $(CLEAN_MODULES)
25         @rm -f $(OBJS)
26         @rm -f $(subst .c,.dc,$(CSRC))
28 $(CLEAN_MODULES):
29         @echo cleaning $(subst clean_, ,$@)
30         make -C $(IBL_ROOT)/$(subst clean,,$@)/$(ARCH)/make clean