omap3-sgx-modules: strip unneeded stuff
[openembedded.git] / recipes / geode-drivers / geode-modules.inc
1 # FIXME, consider using kernel staging directory instead of KERNEL_SOURCE which is
2 # located in the work directory. see module.bbclass
3
4 # Linux kernel modules OE build files for the AMD Geode GX5535/LX5536
5 # Copyright (C) 2005-2006, Advanced Micro Devices, Inc.  All Rights Reserved
6 # Released under the MIT license (see packages/COPYING)
7
8 LICENSE = "GPL"
9 HOMEPAGE = "http://www.amd.com/embedded"
10
11 inherit autotools module-base
12
13 export ARCH="i386"
14
15 DEPENDS += " virtual/kernel"
16
17 S="${WORKDIR}/${AMD_DRIVER_LABEL}"
18
19 PACKAGES="${PN}"
20 FILES_${PN} = "/lib"
21
22 KERNEL_SOURCE = "${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')}"
23
24 EXTRA_OECONF="--with-kernel-path=${KERNEL_SOURCE} --with-module-path=${D}/lib/modules"
25
26 SRC_URI = "http://www.amd.com/files/connectivitysolutions/geode/geode_lx/${AMD_DRIVER_LABEL}.tar.gz"