1 DESCRIPTION = "Qi bootloader w/ Openmoko GTA01, GTA02, and GTA03 support"
4 PROVIDES = "virtual/bootloader"
5 LOCALVERSION = "gitr${SRCREV}"
6 PV = "1.0.2+${LOCALVERSION}"
17 BUILD_HOST=\$(shell hostname)
19 BUILD_DATE=\$(shell date)
21 # NOTE: The following depends on the fact that only one version of the cross-compiler
22 # has been built. If it bails out with something like: "| arm-linux-ld: 4.3.3: No such file or directory"
23 # then you need to remove all previously built toolchain directories out of the cross library path.
24 GCCV="`${CC} -dumpversion`"
25 COMPILER_LIB_PATH_PRE=${CROSS_DIR}/lib/gcc/${TARGET_SYS}/$(GCCV)
26 COMPILER_LIB_PATH=\$(COMPILER_LIB_PATH_PRE)/\$(shell ls \$(COMPILER_LIB_PATH_PRE))
35 export HOSTCC BUILD_HOST BUILD_VERSION BUILD_DATE CROSS_COMPILE AD LD CC OBJCOPY OBJDUMP MKUDFU
47 install -d ${DEPLOY_DIR_IMAGE}
48 cp -f image/qi-*.udfu ${DEPLOY_DIR_IMAGE}
51 PACKAGE_ARCH = "${MACHINE_ARCH}"
53 do_deploy[dirs] = "${S}"
54 addtask deploy before do_package after do_install
55 addtask quilt before do_patch after do_unpack
56 addtask svnrev before do_patch after do_quilt