2006-05-02 15:35:55 -06:00
|
|
|
######################################################################
|
|
|
|
#
|
2006-05-25 19:18:09 -06:00
|
|
|
# Check buildroot dependencies and bail out if the user's
|
2006-05-02 15:35:55 -06:00
|
|
|
# system is judged to be lacking....
|
|
|
|
#
|
|
|
|
######################################################################
|
|
|
|
|
2007-08-22 03:22:07 -06:00
|
|
|
DEPENDENCIES_HOST_PREREQ:=
|
2007-08-21 14:14:23 -06:00
|
|
|
ifeq ($(BR2_STRIP_sstrip),y)
|
2007-08-22 03:22:07 -06:00
|
|
|
DEPENDENCIES_HOST_PREREQ+=sstrip_host
|
2007-08-21 14:14:23 -06:00
|
|
|
endif
|
2007-08-22 03:22:07 -06:00
|
|
|
ifneq ($(findstring y,$(BR2_KERNEL_HEADERS_LZMA)),)
|
|
|
|
DEPENDENCIES_HOST_PREREQ+=host-lzma
|
|
|
|
endif
|
|
|
|
|
|
|
|
dependencies: host-sed $(DEPENDENCIES_HOST_PREREQ)
|
2007-03-08 09:44:20 -07:00
|
|
|
@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
|
|
|
|
HOST_SED_DIR="$(HOST_SED_DIR)" \
|
|
|
|
$(TOPDIR)/toolchain/dependencies/dependencies.sh
|
2006-05-02 15:35:55 -06:00
|
|
|
|
2006-05-25 19:18:09 -06:00
|
|
|
dependencies-source:
|
2006-05-02 15:35:55 -06:00
|
|
|
|
2006-05-25 19:18:09 -06:00
|
|
|
dependencies-clean:
|
2006-05-02 15:35:55 -06:00
|
|
|
rm -f $(SSTRIP_TARGET)
|
|
|
|
|
2006-05-25 19:18:09 -06:00
|
|
|
dependencies-dirclean:
|
2006-05-02 15:35:55 -06:00
|
|
|
true
|
|
|
|
|
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# Toplevel Makefile options
|
|
|
|
#
|
|
|
|
#############################################################
|
2006-07-19 00:37:58 -06:00
|
|
|
.PHONY: dependencies
|
|
|
|
|