Revision 8bdd3d49 Makefile
b/Makefile | ||
---|---|---|
52 | 52 |
SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) |
53 | 53 |
SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %/config-devices.mak.d, $(TARGET_DIRS)) |
54 | 54 |
|
55 |
ifeq ($(SUBDIR_DEVICES_MAK),) |
|
56 |
config-all-devices.mak: |
|
57 |
$(call quiet-command,echo '# no devices' > $@," GEN $@") |
|
58 |
else |
|
55 | 59 |
config-all-devices.mak: $(SUBDIR_DEVICES_MAK) |
56 | 60 |
$(call quiet-command,cat $(SUBDIR_DEVICES_MAK) | grep =y | sort -u > $@," GEN $@") |
61 |
endif |
|
57 | 62 |
|
58 | 63 |
-include $(SUBDIR_DEVICES_MAK_DEP) |
59 | 64 |
|
Also available in: Unified diff