sdk-hwV1.3/lichee/brandy-2.0/spl/drivers/dram/sun8iw21p1/Makefile

36 lines
729 B
Makefile

#/*
# * Copyright 2000-2009
# * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
# *
# */
include $(TOPDIR)/mk/config.mk
all:
ifeq ($(notdir $(shell find ./ -name lib-dram)), lib-dram)
make -C lib-dram
else
@echo "libdram exist"
endif
ifeq ($(notdir $(shell find ./ -name lib-chipid)), lib-chipid)
make -C lib-chipid
else
ifeq ($(notdir $(shell find ./ -name lib-chipid-all)), lib-chipid-all)
@make -C lib-chipid-all
else
@echo "lib-chipid exist"
endif
endif
#########################################################################
depend: $(obj).depend
.PHONY: depend
# defines $(obj).depend target
include $(TOPDIR)/mk/rules.mk
#########################################################################