summaryrefslogtreecommitdiff
path: root/mk/kernel.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-16 13:05:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-16 13:05:46 +0200
commitafab289b265ff987c3f62393b3ef707c2650704f (patch)
treee4145c43758117b6c9c372a89cbb8ad34e6fb7fe /mk/kernel.mk
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
add some native build fixes (tested on Lemote notebook)
- enable busybox applets needed for natvie builds - add header packages for expat and libnl - remove rtl8187b driver, use kernel included driver (needs more testing)
Diffstat (limited to 'mk/kernel.mk')
-rw-r--r--mk/kernel.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/kernel.mk b/mk/kernel.mk
index a8b3884da..eb4e52a33 100644
--- a/mk/kernel.mk
+++ b/mk/kernel.mk
@@ -28,9 +28,9 @@ TARGETS:=
#
define KMOD_template
-IDEPENDK_$(1):=kernel ($(ADK_TARGET)-$(KERNEL_VERSION)) $(foreach pkg,$(5),", $(pkg)")
+IDEPENDK_$(1):=kernel ($(KERNEL_VERSION)) $(foreach pkg,$(5),", $(pkg)")
-PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(ADK_TARGET)-$(KERNEL_VERSION)-$(KERNEL_RELEASE)_$(CPU_ARCH).$(PKG_SUFFIX)
+PKG_$(1) := $(PACKAGE_DIR)/kmod-$(2)_$(KERNEL_VERSION)-$(KERNEL_RELEASE)_$(CPU_ARCH).$(PKG_SUFFIX)
I_$(1) := $(KMOD_BUILD_DIR)/ipkg/$(2)
ifeq ($$(ADK_KPACKAGE_KMOD_$(1)),m)
@@ -50,7 +50,7 @@ $$(PKG_$(1)):
echo "Description: kernel module $(2)" >> $(LINUX_BUILD_DIR)/kmod-control/kmod-$(2).control
${BASH} ${SCRIPT_DIR}/make-ipkg-dir.sh $$(I_$(1)) \
$(LINUX_BUILD_DIR)/kmod-control/kmod-$(2).control \
- $(ADK_TARGET)-$(KERNEL_VERSION)-$(KERNEL_RELEASE) $(CPU_ARCH)
+ $(KERNEL_VERSION)-$(KERNEL_RELEASE) $(CPU_ARCH)
echo "Depends: $$(IDEPENDK_$(1))" >> $$(I_$(1))/CONTROL/control
ifneq ($(strip $(3)),)
mkdir -p $$(I_$(1))/lib/modules/$(KERNEL_VERSION)