b607f5cdc3
Building DirectFB compiles fine and installs fine, but when running on the target the libraries look for DirectFB modules within a path that was defined as $(PREFIX) during the build. Under buildroot PREFIX is set to $(STAGING_DIR)/usr, which obviously doesn't exist on the target so it dies. Instead, it should be built such that PREFIX=/usr then have prefix & exec_prefix set to $(STAGING_DIR)/usr when it's time to install. |
||
---|---|---|
docs | ||
package | ||
target | ||
toolchain | ||
.defconfig | ||
Config.in | ||
Makefile |
To build and use the buildroot stuff, do the following: 1) run 'make' 2) select the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) Use your shiny new root filesystem. Depending on which sortof root filesystem you selected, you may want to loop mount it, chroot into it, nfs mount it on your target device, burn it to flash, or whatever is appropriate for your target system. You do not need to be root to build or run buildroot. Have fun! -Erik Please feed suggestions, bug reports, insults, and bribes back to: Erik Andersen <andersen@codepoet.org>