Kbuild 412 B

12345678910111213141516171819
  1. obj-$(DAHDI_BUILD_ALL)$(CONFIG_DAHDI_WCTC4XXP) += wctc4xxp.o
  2. FIRM_DIR := ../firmware
  3. EXTRA_CFLAGS += -I$(src)/.. -Wno-undef
  4. ifeq ($(HOTPLUG_FIRMWARE),yes)
  5. EXTRA_CFLAGS+=-DHOTPLUG_FIRMWARE
  6. endif
  7. wctc4xxp-objs := base.o
  8. ifneq ($(HOTPLUG_FIRMWARE),yes)
  9. wctc4xxp-objs += $(FIRM_DIR)/dahdi-fw-tc400m.o
  10. endif
  11. $(obj)/$(FIRM_DIR)/dahdi-fw-tc400m.o: $(obj)/base.o
  12. $(MAKE) -C $(obj)/$(FIRM_DIR) dahdi-fw-tc400m.o