diff options
Diffstat (limited to 'nuttx/configs/avr32dev1/src/Makefile')
-rwxr-xr-x | nuttx/configs/avr32dev1/src/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/configs/avr32dev1/src/Makefile b/nuttx/configs/avr32dev1/src/Makefile index 4edb47c81..282aaa8aa 100755 --- a/nuttx/configs/avr32dev1/src/Makefile +++ b/nuttx/configs/avr32dev1/src/Makefile @@ -38,7 +38,13 @@ CFLAGS += -I$(TOPDIR)/sched ASRCS = -CSRCS = up_boot.c up_leds.c +CSRCS = up_boot.c +ifeq ($(CONFIG_ARCH_LEDS),y) +CSRCS += up_leds.c +endif +ifeq ($(CONFIG_ARCH_BUTTONS),y) +CSRCS += up_buttons.c +endif AOBJS = $(ASRCS:.S=$(OBJEXT)) COBJS = $(CSRCS:.c=$(OBJEXT)) |