imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / mopd / src / Makefile
blob522884369463b453fa6a406bb70b699e6d2833e9
2 # uncomment this to send the correct hostname to the client
3 # otherwise 'DEFAULT_HOSTNAME' will be sent
4 # REAL_HOSTNAME = "-DSEND_REAL_HOSTNAME"
5 REAL_HOSTNAME =""
6 DEFAULT_HOSTNAME="-DDEFAULT_HOSTNAME=\\\"ipc\\\""
8 # this is the path mopd will look for files in
9 MOP_PATH="-DMOP_FILE_PATH=\\\"/tftpboot/mop\\\""
11 # compiling on Alpha Linux 2.2.17 i needed the following:
12 # AOUT_SUPPORT="-DNOAOUT"
13 AOUT_SUPPORT=""
15 CFLAGS="-fcommon ${AOUT_SUPPORT} ${MOP_PATH} ${DEFAULT_HOSTNAME} ${REAL_HOSTNAME}"
17 #make file to build linux-mopd
18 SUBDIRS=common mopd mopchk mopprobe moptrace
20 all:
21 for dir in ${SUBDIRS}; \
22 do \
23 echo making $$dir; \
24 (cd $$dir; make CFLAGS=$(CFLAGS) ) ; \
25 done
28 clean:
29 for dir in ${SUBDIRS} ; \
30 do \
31 (cd $$dir ; make clean); \
32 done