Changeset 175 for soft/giet_vm/Makefile


Ignore:
Timestamp:
Jul 21, 2012, 10:20:47 AM (12 years ago)
Author:
karaoui
Message:

+ Adding the init attribute to the mwmr to specify the width of the mwmr channel
+ Fixing bugs in kernels_init

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r166 r175  
    5151CFLAGS=-Wall -ffreestanding -mno-gpopt -mips32 -g
    5252
    53 SYS_INCLUDE = -I$(SYS_PATH) -I$(MAP_PATH) -I$(LIB_PATH) -I.
    54 
     53SYS_INCLUDE  = -I$(SYS_PATH)  -I$(MAP_PATH) -I$(LIB_PATH) -I.
    5554BOOT_INCLUDE = -I$(BOOT_PATH) -I$(MAP_PATH) -I$(LIB_PATH) -I.
    56 
    57 INCLUDE         = -I$(LIB_PATH) -I$(SOFT_PATH) -I$(SYS_PATH) -I$(MAP_PATH)
     55LIB_INCLUDE      = -I$(LIB_PATH)  -I$(MAP_PATH)
     56INCLUDE          = -I$(LIB_PATH) -I$(MAP_PATH)
    5857
    5958TRASH= /dev/null||true
     
    7170## prepare the environement
    7271prepare:
    73         @mkdir $(BUILD_PATH) 2>$(TRASH)
    74         @mkdir $(ELF_PATH) 2>$(TRASH)
     72        @mkdir $(BUILD_PATH)                            2>$(TRASH)
     73        @mkdir $(ELF_PATH)                                      2>$(TRASH)
     74        @mkdir $(BUILD_PATH)/$(BOOT_NAME)       2>$(TRASH)
     75        @mkdir $(BUILD_PATH)/$(LIB_NAME)        2>$(TRASH)
     76        @mkdir $(BUILD_PATH)/$(SYS_NAME)        2>$(TRASH)
    7577
    7678## mapping compilation
     
    8587
    8688$(SYS_NAME)/%.o: $(SYS_NAME)/%.c
    87         @mkdir $(BUILD_PATH)/$(SYS_NAME) 2>$(TRASH)
    8889        $(CC) $(SYS_INCLUDE) $(CFLAGS)  -c -o $(BUILD_PATH)/$@ $<
    8990
    9091$(SYS_NAME)/%.o: $(SYS_NAME)/%.s
    91         @mkdir $(BUILD_PATH)/$(SYS_NAME) 2>$(TRASH)
    9292        $(CC) $(SYS_INCLUDE) $(CFLAGS)  -c -o $(BUILD_PATH)/$@ $<
    9393
    9494$(SYS_NAME)/%.o: $(SYS_NAME)/%.S
    95         @mkdir $(BUILD_PATH)/$(SYS_NAME) 2>$(TRASH)
    9695        $(CC) $(SYS_INCLUDE) $(CFLAGS)  -c -o $(BUILD_PATH)/$@ $<
    9796
     
    102101
    103102$(BOOT_NAME)/%.o: $(BOOT_NAME)/%.c
    104         @mkdir $(BUILD_PATH)/$(BOOT_NAME) 2>$(TRASH)
    105103        $(CC) $(BOOT_INCLUDE) $(CFLAGS)  -c -o $(BUILD_PATH)/$@ $<
    106104
    107105$(BOOT_NAME)/%.o: $(BOOT_NAME)/%.s
    108         @mkdir $(BUILD_PATH)/$(BOOT_NAME) 2>$(TRASH)
    109106        $(CC) $(BOOT_INCLUDE) $(CFLAGS)  -c -o $(BUILD_PATH)/$@ $<
    110107
    111108$(BOOT_NAME)/%.o: $(BOOT_NAME)/%.S
    112         @mkdir $(BUILD_PATH)/$(BOOT_NAME) 2>$(TRASH)
    113109        $(CC) $(BOOT_INCLUDE) $(CFLAGS)  -c -o $(BUILD_PATH)/$@ $<
    114110
    115111##libs compilation
    116112$(LIB_NAME)/%.o: $(LIB_NAME)/%.c
    117         @mkdir $(BUILD_PATH)/$(LIB_NAME) 2>$(TRASH)
    118         $(CC) $(CFLAGS) $(INCLUDE) -c -o $(BUILD_PATH)/$@ $<
     113        $(CC) $(CFLAGS) $(LIB_INCLUDE) -c -o $(BUILD_PATH)/$@ $<
    119114
    120115## applications
     
    126121clean:
    127122        rm -f *.o *.elf *.bin *.txt core *~  2>$(TRASH)
    128         $(MAKE) clean -C xml/ 2>$(TRASH)
    129         $(MAKE) clean -C memo/ 2>$(TRASH)
     123        $(MAKE) -s clean -C xml/ 2>$(TRASH)
     124        $(MAKE) -s clean -C memo/ 2>$(TRASH)
    130125        rm -r $(BUILD_PATH) 2>$(TRASH)
    131126        set -e; for d in $(APP_DIRS); do $(MAKE) clean -C $$d ; done
Note: See TracChangeset for help on using the changeset viewer.