Commit 85df64f5 authored by Marek Gumiński's avatar Marek Gumiński

Removed unused modules from makefile

parent 0000fe0b
FMC_BUS ?= fmc-bus
ZIO ?= zio
SPEC_SW ?= spec-sw
FMC_ADC ?= fmc-adc-100m14b4cha-sw
CONFIG_SPACE ?= fpga-config-space/sdbfs/lib fpga-config-space/sdbfs/userspace
CP210X ?= cp210x
FMC_BUS_ABS ?= $(abspath $(FMC_BUS) )
ZIO_ABS ?= $(abspath $(ZIO) )
SPEC_SW_ABS ?= $(abspath $(SPEC_SW) )
FMC_ADC_ABS ?= $(abspath $(FMC_ADC) )
CONFIG_SPACE_ABS ?= $(abspath $(CONFIG_SPACE) )
CP210X_ABS ?= $(abspath $(CP210X) )
DIRS = $(FMC_BUS_ABS) $(ZIO_ABS) $(SPEC_SW_ABS) $(FMC_ADC_ABS) $(CONFIG_SPACE_ABS) $(CP210X_ABS)
DIRS = $(FMC_BUS_ABS) $(SPEC_SW_ABS) $(CONFIG_SPACE_ABS) $(CP210X_ABS)
.PHONY: all clean modules $(DIRS) $(PROJ)
all modules install modules_install: clean_patch apply_patch $(DIRS)
all modules install modules_install: $(DIRS)
clean : clean_patch $(DIRS)
clean : $(DIRS)
clean : TARGET = clean
apply_patch:
bash apply_patch.sh
clean_patch:
bash clear_patch.sh
$(DIRS):
$(MAKE) -C $@ $(TARGET) \
FMC_BUS=$(FMC_BUS_ABS) \
ZIO=$(ZIO_ABS) \
SPEC_SW=$(SPEC_SW_ABS) \
CP210X=$(CP210X_ABS)
#!/bin/bash
cd fmc-adc-100m14b4cha-sw
git apply ../*.patch
sleep 1
#!/bin/bash
cd fmc-adc-100m14b4cha-sw
git reset --hard
sleep 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment