Blame view

recipes-kernel/linux/linux-smarct335x_3.2.bb 1.03 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
  # For rev.00B0 or After
1256b25ef   Eric Lee   Upgrade eMMC from...
19
  SRCREV = "64aca22977c3cab5a7ec6f4348860f025943ff49"
5fe58ebd5   Eric Lee   SMARC-T335X meta-...
20

763360c58   Eric Lee   Add a backup repo...
21
  SRC_URI = "${EMB_KERNEL_MIRROR};protocol=ssh;branch=${BRANCH} \
5fe58ebd5   Eric Lee   SMARC-T335X meta-...
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  	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
  }