1 # This makefile makes it very simple to build
2 # components from within lib/xxx directories.
3 # Each lib/xxx/Makefile should include the first line:
6 # This will pull in all the necessary definitions such that
7 # the targets: all, clean, romfs, image
8 # will work from those directories
10 # If you need this to work in a lower subdirectory
11 # (say lib/xxx/yyy) you should define _reldir=../..
16 ROOTDIR := $(shell pwd)/$(_reldir)/..
20 include $(ROOTDIR)/vendors/config/common/config.arch
21 -include hostbuild.mak