Blame view

recipes-kernel/linux/linux-smarct335x_3.2.bb 1.07 KB
5fe58ebd5   Eric Lee   SMARC-T335X meta-...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  inherit kernel
  require recipes-kernel/linux/linux.inc
  
  DESCRIPTION = "Linux kernel for Embedian SMARC T335X Computer on Modules"
  KERNEL_IMAGETYPE = "zImage"
  COMPATIBLE_MACHINE = "smarct335x"
  DEFAULT_PREFERENCE = "-1"
  
  S = "${WORKDIR}/git"
  
  # Stage the power management firmware before building the kernel
  DEPENDS += "am33x-cm3"
  
  BRANCH  = "v3.2_SMARCT335xPSP_04.06.00.11"
  #SRCREV = "${AUTOREV}"
  # For rev. 00A0, uncomment out the following line.
  #SRCREV = "5f08c606d2990bd6b45c5202e9ce6cf36143d84e"
73c960af2   Eric Lee   Fix LAN8720 Link ...
18
19
  # For rev.00B0 or After
  SRCREV = "def7279fa51043802cb94e8eb9ccf91a87ef25a9"
5fe58ebd5   Eric Lee   SMARC-T335X meta-...
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  
  SRC_URI = "git://git@git.embedian.com/developer/linux-smarc-t335x-v3.2.git;protocol=ssh;branch=${BRANCH} \
  	file://defconfig \
  "
  
  
  PV = "3.2"
  MACHINE_KERNEL_PR_append = "c+gitr${SRCPV}"
  
  # UNCOMMENT FOR VERBOSE BUILD OUTPUT: EXTRA_OEMAKE += "V=1"
  
  # Copy the am33x-cm3 firmware if it is available
  do_configure_append() {
      if [ -e "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" ]
      then
          cp "${STAGING_DIR_HOST}/${base_libdir}/firmware/am335x-pm-firmware.bin" "${S}/firmware"
      fi
  }