LINUX_KMOD_SUFFIX=o
endif
- KERNELNAME=
- ifneq (,$(findstring x86,$(BOARD)))
- KERNELNAME="bzImage"
- endif
- ifneq (,$(findstring ppc,$(BOARD)))
- KERNELNAME="uImage"
- endif
-
ifneq (,$(findstring uml,$(BOARD)))
- LINUX_KARCH:=um
KERNEL_CC:=$(HOSTCC)
KERNEL_CROSS:=
else
export modules=; \
add_module() { \
mkdir -p $(2)/etc/modules.d; \
- echo "$$$$$$$$2" > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
+ ( \
+ for mod in $$$$$$$$2; do \
+ getvar mod; \
+ done \
+ ) > $(2)/etc/modules.d/$$$$$$$$1-$(1); \
modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$1-$(1)"; \
}; \
$(3) \