OSDN Git Service

Add MS7619SE
[uclinux-h8/uClinux-dist.git] / lib / lib.mak
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:
4 # -include ../lib.mak
5 #
6 # This will pull in all the necessary definitions such that
7 # the targets: all, clean, romfs, image 
8 # will work from those directories
9 #
10 # If you need this to work in a lower subdirectory
11 # (say lib/xxx/yyy) you should define _reldir=../..
12 # or as appropriate
13 #
14 ifndef ROOTDIR
15 _reldir ?= ..
16 ROOTDIR := $(shell pwd)/$(_reldir)/..
17 endif
18
19 UCLINUX_BUILD_LIB=1
20 include $(ROOTDIR)/vendors/config/common/config.arch
21 -include hostbuild.mak
22