============================================ Linux-ready firmware developer kit: BUILD ============================================ - Compile only all plugins (w/o long kernel downloads or packaging) # make - Create a deprecated bootable iso (initramfs/firmwarekit.iso) # make iso - Create a RPM install of LFDK # tar -cf linuxfirmwarekit.tar linuxfirmwarekit # cp linuxfirmwarekit.tar /usr/src/rpm/SOURCES/ # or # cp linuxfirmwarekit.tar $HOME/rpmbuild/SOURCES/ # rpmbuild -bb linuxfirmwarekit/lfdk.spec - Install on the build host # make install DESTDIR=/ - Create a Moblin Image Creator 2 live image # sudo moblin-image-creator -c linuxfirmwarekit/LFDK.ks -k /tmp/mic2 -f livecd # - Create a bootable iso and copy it to your usb stick # make usbiso - Clean up (won't delete downloaded rpms and srpms in initramfs/ dir) # make clean - Clean up all, including initramfs/kernels which will trigger a redownload of the kernels when you perform 'make iso' or 'make usbiso' # make clean_kernels Notes ===== Root user note: Running with 'root' privileges is needed for 'make iso' and 'make usbiso' (especially for scripts such as firmwarekit/initramfs/dev.sh, etc.) Proxy note: make sure your proxy is set correctly for wget commands (set variables http_proxy, ftp_proxy, etc.) Runtime dependencies: dhclient lspci dmidecode microcode_ctl newt slang Docs ==== For more documentation on running stand-alone tests and creating ISOs, go to Documentation/ . See 'Documentation/Build.env' to see an example build environment we use (packages, kernel ver, etc.) It is not necessary to duplicate this env., but helpful info when you are building. See 'Documentation/HOWTO_UbuntuBuildEnvironment.txt for how to set up your build environment on an Ubuntu system. Contributer: Rolla Selbak (rolla.n.selbak@intel.com)