2 $(error "Error: PETALINUX environment variable not set. Change to the root of your PetaLinux install, and source the settings.sh file")
7 .PHONY: all build install clean help
14 ARCHIVE := $(DIR).tar.gz
15 URL := https://www.samba.org/ftp/talloc/$(ARCHIVE)
20 .unpacked: | $(ARCHIVE)
24 .configured: .unpacked
25 cd $(DIR) && python2 ./buildtools/bin/waf configure --prefix=$(STAGEDIR)/usr --cross-compile --cross-answers=../answers.txt --disable-python --hostcc=gcc --disable-rpath --bundled-libraries=NONE
28 cd $(DIR) && python2 ./buildtools/bin/waf build
31 cd $(DIR) && python2 ./buildtools/bin/waf install
35 for f in $(L).$(VER); do $(TARGETINST) -d $(STAGEDIR)/usr/lib/$$f /usr/lib/$$f; done
36 for f in $(L) $(L).2; do $(TARGETINST) -s $(L).$(VER) /usr/lib/$$f; done
43 @echo "Quick reference for various supported build targets for $(INSTANCE)."
44 @echo "----------------------------------------------------"
45 @echo " clean clean out build objects"
46 @echo " all build $(INSTANCE) and install to rootfs host copy"
47 @echo " build build subsystem"
48 @echo " install install built objects to rootfs host copy"