Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@imx6q-es:/mnt/root/moxa/moxa# make
- make -C /mnt/root/moxa/kernel-fpga-test SUBDIRS=/mnt/root/moxa/moxa modules
- make[1]: Entering directory `/mnt/root/moxa/kernel-fpga-test'
- CC [M] /mnt/root/moxa/moxa/npreal2.o
- Building modules, stage 2.
- MODPOST 1 modules
- CC /mnt/root/moxa/moxa/npreal2.mod.o
- LD [M] /mnt/root/moxa/moxa/npreal2.ko
- make[1]: Leaving directory `/mnt/root/moxa/kernel-fpga-test'
- cp -p npreal2.ko /lib/modules/3.0.35/kernel/drivers/char/
- depmod -a
- cc -c npreal2d.c
- cc npreal2d.o -o npreal2d
- strip npreal2d
- cc -c redund_main.c
- cc -c redund.c
- cc redund_main.o redund.o -lpthread -o npreal2d_redund
- strip npreal2d_redund
- cc -o mxaddsvr mxaddsvr.c
- strip mxaddsvr
- cc -o mxdelsvr mxdelsvr.c
- strip mxdelsvr
- cc -o mxcfmat mxcfmat.c
- strip mxcfmat
- cc -o mxloadsvr mxloadsvr.c
- strip mxloadsvr
- cc -o mxsetsec mxsetsec.c
- strip mxsetsec
- root@imx6q-es:/mnt/root/moxa/moxa# ls -l /lib/modules/3.0.35/kernel/drivers/char/
- total 36
- -rw-r--r-- 1 root root 33838 Jul 25 22:44 npreal2.ko
- root@imx6q-es:/mnt/root/moxa/moxa# file mxloadsvr
- mxloadsvr: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, BuildID[sha1]=0xd741630e2d48c96ac1e772c9b4f263159c203d58, stripped
- root@imx6q-es:/mnt/root/moxa/moxa# uname -a
- Linux imx6q-es 3.0.35 #386 SMP PREEMPT Sat Apr 2 20:23:37 MSK 2016 armv7l GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement