Instead of one large routine that takes a list of optional callbacks, build some helper routines that do the work that a few platforms have implemented on their own to share some code between them. Future enhancements: move some of the helpers out of this library into the library that implements the thing it's helping with (ie, PCI bringup, bootstrapping arch specific cores). For now just leave them in helper.cc which is conditionally compiled.
11 lines
183 B
Makefile
11 lines
183 B
Makefile
LOCAL_DIR := $(GET_LOCAL_DIR)
|
|
|
|
MODULE := $(LOCAL_DIR)
|
|
|
|
MODULE_DEPS := lib/fdt
|
|
|
|
MODULE_SRCS := $(LOCAL_DIR)/fdtwalk.cpp
|
|
MODULE_SRCS += $(LOCAL_DIR)/helpers.cpp
|
|
|
|
include make/module.mk
|