Update, it seems a bitbake -c cleanall u-boot-xlnx bitbake zynq-base # my image
worked just fine here. Thanks for the suggestion @Oleg! G On Fri, Feb 16, 2018 at 5:06 PM Giordon Stark <[email protected]> wrote: > Hi all, > > I managed to get somewhere, but u-boot is now broken (but not clear how). > Log file: https://gist.github.com/aebae13e9054472e6c584cef6eb80912 > > I refactored my bbappend to look like this: > https://github.com/kratsg/meta-l1calo/blob/appendFiles/recipes-bsp/u-boot/u-boot-xlnx_2017.1.bbappend > . > Specifically, to add these lines instead: > > FILESEXTRAPATHS_prepend := "${THISDIR}/files:" > SRC_URI_append += "file://machine.h" > SRC_URI_append += "file://defconfig" > > do_copy_configs () { > cp ${WORKDIR}/defconfig ${S}/configs/${MACHINE}_defconfig > cp ${WORKDIR}/machine.h ${S}/include/configs/${MACHINE}.h > } > > do_patch_append() { > bb.build.exec_func('do_copy_configs', d) > } > > the SRC_URI_append was to get the files/${MACHINE}/machine.h and > files/${MACHINE}/defconfig copied over correctly. This could probably be > renamed to include the machine in the name of the file itself to handle > conflicts later.. unless there's a better option? > > Any ideas? Note that at this point, it seems like the files are getting > copied over correctly, so not sure why u-boot is complaining... > > G > > On Fri, Feb 16, 2018 at 4:05 PM Giordon Stark <[email protected]> wrote: > >> Hi Oleg, >> >> How can I do this with overrides correctly? I have 3 different machines >> and each have their own config, etc... are you just suggesting I copy *all* >> the appends/defconfigs and not do any overrides? >> >> G >> >> On Fri, Feb 16, 2018 at 2:37 PM Oleg K Dzhimiev <[email protected]> wrote: >> >>> Hi, >>> >>> You could replace patches with the files then (to >>> u-boot-xlnx_2017.1.bbappend) add do_patch_append(){...} in which you do >>> the copying, something like this: >>> >>>> do_patch_append(){ >>>> cp ${WORKDIR}/file1 ${S}/configs/ >>>> >>> cp ${WORKDIR}/file2 ${S}/includes/ >>> >>> } >>> >>> >>> Regards, >>> Oleg >>> >> -- >> Giordon Stark >> > -- > Giordon Stark > -- Giordon Stark
-- _______________________________________________ meta-xilinx mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-xilinx
