summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-14 09:28:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-14 09:28:19 +0100
commitbc561e500e22bc9d953fd9a80144f80295a4cbbd (patch)
treedc80cd4fb596e17e809743442a24c1c6a2b8ab02 /mk
parent5309511c9574091fb20a60c09e3b726c6c8e20b9 (diff)
convert to miniconfig
only miniconfig is used for all targets. aranym support is still broken/experimental. 32 bit kernel support for 64 targets need to be fixed. tested on usb boot on ibm-x40
Diffstat (limited to 'mk')
-rw-r--r--mk/build.mk13
-rw-r--r--mk/modules.mk8
2 files changed, 11 insertions, 10 deletions
diff --git a/mk/build.mk b/mk/build.mk
index c4371f477..0da34de85 100644
--- a/mk/build.mk
+++ b/mk/build.mk
@@ -215,16 +215,11 @@ switch:
fi \
fi
-ifeq (${ADK_TARGET_KERNEL64},y)
-KERNEL_CFG:=kernel64.config
-else
-KERNEL_CFG:=kernel.config
-endif
-
kernelconfig:
- cp $(TOPDIR)/target/$(ADK_TARGET_ARCH)/${KERNEL_CFG} $(BUILD_DIR)/linux/.config
- ${KERNEL_MAKE_ENV} ${MAKE} ARCH=$(ARCH) ${KERNEL_MAKE_OPTS} -C $(BUILD_DIR)/linux menuconfig
- cp $(BUILD_DIR)/linux/.config $(TOPDIR)/target/$(ADK_TARGET_ARCH)/${KERNEL_CFG}
+ ${KERNEL_MAKE_ENV} ${MAKE} \
+ ARCH=$(ARCH) \
+ ${KERNEL_MAKE_OPTS} \
+ -C $(BUILD_DIR)/linux menuconfig
# create a new package from package/.template
newpackage:
diff --git a/mk/modules.mk b/mk/modules.mk
index 5fd2f6419..a9f61e659 100644
--- a/mk/modules.mk
+++ b/mk/modules.mk
@@ -1175,9 +1175,15 @@ $(eval $(call KMOD_template,SND,snd,\
$(MODULES_DIR)/kernel/sound/core/snd \
$(MODULES_DIR)/kernel/sound/core/snd-timer \
$(MODULES_DIR)/kernel/sound/core/snd-pcm \
+,40))
+
+$(eval $(call KMOD_template,SND_PCM_DMAENGINE,snd-pcm-dmaengine,\
$(MODULES_DIR)/kernel/sound/core/snd-pcm-dmaengine \
+,41))
+
+$(eval $(call KMOD_template,SND_COMPRESS,snd-compress,\
$(MODULES_DIR)/kernel/sound/core/snd-compress \
-,40))
+,41))
$(eval $(call KMOD_template,SND_RAWMIDI,snd-rawmidi,\
$(MODULES_DIR)/kernel/sound/core/snd-hwdep \