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