From 2a7348129a42f21095fcd62e47a035f78d254130 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 12 Dec 2013 17:36:38 +0100 Subject: initial commit of Enea Linux 3.1 Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau --- recipes-bsp/rtl8168/files/r8168-8.031.00.tar.bz2 | Bin 0 -> 68024 bytes recipes-bsp/rtl8168/rtl8168_8.031.00.bb | 35 +++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 recipes-bsp/rtl8168/files/r8168-8.031.00.tar.bz2 create mode 100644 recipes-bsp/rtl8168/rtl8168_8.031.00.bb (limited to 'recipes-bsp/rtl8168') diff --git a/recipes-bsp/rtl8168/files/r8168-8.031.00.tar.bz2 b/recipes-bsp/rtl8168/files/r8168-8.031.00.tar.bz2 new file mode 100644 index 0000000..114d5a1 Binary files /dev/null and b/recipes-bsp/rtl8168/files/r8168-8.031.00.tar.bz2 differ diff --git a/recipes-bsp/rtl8168/rtl8168_8.031.00.bb b/recipes-bsp/rtl8168/rtl8168_8.031.00.bb new file mode 100644 index 0000000..e5831c6 --- /dev/null +++ b/recipes-bsp/rtl8168/rtl8168_8.031.00.bb @@ -0,0 +1,35 @@ +SUMMARY = "RTL8111/8168 PCI Express 10/100/1000M Gigabit Ethernet" +DESCRIPTION = "http://www.realtek.com.tw/" +SECTION = "kernel/modules" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://Makefile;md5=27208bd930c8f7f55db149f659059e10" + +DEPENDS = "linux-libc-headers module-init-tools" + +SRC_URI = "file://r8168-${PV}.tar.bz2" + +SRC_URI[md5sum] = "ec1654f02e2dad930bbeb0210ddab7e5" +SRC_URI[sha256sum] = "5c617b3c08aca18d1eb24d33f77df40020eb64fb32c8e4008265e08b7ffe5779" + +S = "${WORKDIR}/r8168-${PV}/src" + +inherit module + +do_compile () { + cd ${S} + do_make_scripts + unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + oe_runmake KERNELDIR=${STAGING_KERNEL_DIR} \ + KERNEL_SRC=${STAGING_KERNEL_DIR} \ + KERNEL_VERSION=${KERNEL_VERSION} \ + CC="${KERNEL_CC}" LD="${KERNEL_LD}" \ + AR="${KERNEL_AR}" \ + modules +} + +do_install () { + mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net + cp ${S}/*ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net +} + -- cgit v1.2.3-54-g00ecf