diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-28 19:47:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-28 19:48:09 +0200 |
commit | 591fd60492abf36e4c07d349b836ff40228df09e (patch) | |
tree | e63e37f3f654653837cf20c2a4a1aa551c5ba4f5 /package/mopd/src/Makefile | |
parent | ab6faa1d0e25a9304d37badf324bddce47caced2 (diff) |
mopd: add new package for alpha netboot
Diffstat (limited to 'package/mopd/src/Makefile')
-rw-r--r-- | package/mopd/src/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/package/mopd/src/Makefile b/package/mopd/src/Makefile new file mode 100644 index 000000000..980579251 --- /dev/null +++ b/package/mopd/src/Makefile @@ -0,0 +1,34 @@ + +# uncomment this to send the correct hostname to the client +# otherwise 'DEFAULT_HOSTNAME' will be sent +# REAL_HOSTNAME = "-DSEND_REAL_HOSTNAME" +REAL_HOSTNAME ="" +DEFAULT_HOSTNAME="-DDEFAULT_HOSTNAME=\\\"ipc\\\"" + +# this is the path mopd will look for files in +MOP_PATH="-DMOP_FILE_PATH=\\\"/tftpboot/mop\\\"" + +# compiling on Alpha Linux 2.2.17 i needed the following: +# AOUT_SUPPORT="-DNOAOUT" +AOUT_SUPPORT="" + +CFLAGS="-g ${AOUT_SUPPORT} ${MOP_PATH} ${DEFAULT_HOSTNAME} ${REAL_HOSTNAME}" + +#make file to build linux-mopd +SUBDIRS=common mopd mopchk mopprobe moptrace + +all: + for dir in ${SUBDIRS}; \ + do \ + echo making $$dir; \ + (cd $$dir; make CFLAGS=$(CFLAGS) ) ; \ + done + + +clean: + for dir in ${SUBDIRS} ; \ + do \ + (cd $$dir ; make clean); \ + done + + |