summaryrefslogtreecommitdiff
path: root/recipes/geode-drivers/geode-modules.inc
blob: d6102baf8d5e9b67a57c4d04dec7a92b279c1c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# FIXME, consider using kernel staging directory instead of KERNEL_SOURCE which is
# located in the work directory. see module.bbclass

# Linux kernel modules OE build files for the AMD Geode GX5535/LX5536
# Copyright (C) 2005-2006, Advanced Micro Devices, Inc.  All Rights Reserved
# Released under the MIT license (see packages/COPYING)

LICENSE = "GPL"
HOMEPAGE = "http://www.amd.com/embedded"

inherit autotools module-base

export ARCH="i386"

DEPENDS += " virtual/kernel"

S="${WORKDIR}/${AMD_DRIVER_LABEL}"

PACKAGES="${PN}"
FILES_${PN} = "/lib"

KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')}"

EXTRA_OECONF="--with-kernel-path=${KERNEL_SOURCE} --with-module-path=${D}/lib/modules"

SRC_URI = "http://www.amd.com/files/connectivitysolutions/geode/geode_lx/${AMD_DRIVER_LABEL}.tar.gz"