[make] update all of the rules.mk to use the new module system

This commit is contained in:
Travis Geiselbrecht
2012-08-30 14:22:31 -07:00
parent 734f32b143
commit 97cfd0bfa4
61 changed files with 504 additions and 323 deletions

View File

@@ -1,10 +1,14 @@
LOCAL_DIR := $(GET_LOCAL_DIR)
OBJS += \
$(LOCAL_DIR)/keys.o
MODULE := $(LOCAL_DIR)
MODULE_SRCS += \
$(LOCAL_DIR)/keys.c
ifeq ($(KEYS_USE_GPIO_KEYPAD),1)
OBJS += \
$(LOCAL_DIR)/gpio_keypad.o
MODULE_SRCS += \
$(LOCAL_DIR)/gpio_keypad.c
endif
include make/module.mk