½Ã³î·ÎÁö¿¡¼­ Ãß°¡ ·£Ä«µå µå¶óÀÌºê ¼³Ä¡ÇÏ·Á°íÇϴµ¥¿ä

   Á¶È¸ 5686   Ãßõ 1    

컴파일을 어떻게 해야할지 모르겠습니다

내용은 아래와 같습니다.
---------------------
Makefile
----------------------
ifneq ($(KERNELRELEASE),)
        obj-m    := r8152.o
else
        KERNELDIR ?= /lib/modules/$(shell uname -r)/build
        PWD :=$(shell pwd)

.PHONY:modules
modules:
        $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules

.PHONY: all
all: clean modules install_rules install

.PHONY:clean
clean:
        $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) clean

.PHONY: install
install:
        $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) INSTALL_MOD_DIR=kernel/drivers/net/usb modules_install
        depmod $(shell uname -r)

.PHONY: install_rules
install_rules:
        install --group=root --owner=root --mode=0644 50-usb-realtek-net.rules /etc/udev/rules.d/

endif

---------------------------------------------------
-rw-r--r--    1 500      500            606 Mar 13 00:05 Makefile
-rw-rw-r--    1 500      500          11091 Mar 11  2014 compatibility.h
-rw-rw-r--    1 500      500         125823 Mar 11  2014 r8152.c

------------------------------
DiskStation> make
make -C /lib/modules/3.2.40/build SUBDIRS=/volume1/homes/tet/r8152-2.00.00 modules
make[1]: Entering directory `/lib/modules/3.2.40/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/3.2.40/build'
make: *** [modules] Error 2
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
http://www.2cpu.co.kr/bbs/board.php?bo_table=lec&wr_id=1452

°³¹ß(ºôµå)¿¡ ÇÊ¿äÇÑ È¯°æÀ» ¸¸µé°í make¸¦ ½ÇÇàÇØ¾ß µÉ²¨ °°½À´Ï´Ù.
°¨»çÇÕ´Ï´Ù. Çغ¸°Ú½À´Ï´Ù.


NAS
Á¦¸ñPage 95/303
2015-12   1108473   ¹é¸Þ°¡
2014-05   4559167   Á¤ÀºÁØ1
2014-10   5721   ±èȲÁß
2016-02   5720   ÇÁ¸®´ÙÀ̹ö
2019-05   5718   ksw6779
2015-08   5717   ¿ÀÆÛ·¹ÀÕ
2014-10   5717   kking
2015-07   5717   ¶Ñ±ë
2016-09   5706   Á¤Áö
2016-06   5705   Gaon
2014-03   5705   ÀÌ¿ë¼öhanul¡¦
2020-05   5705   ºí·¢ÆÞ
2014-12   5705   linesis
2015-08   5702   ǪÇÏÈ÷
2014-08   5702   ²ÇÀ¯ÁØ
2016-06   5696   À¸¾î¾ï
2016-08   5693   perls
2020-03   5693   DDAYs
2014-10   5693   ¼§±×¸®¶ó
2015-08   5692   ¹é°õ»ç³É²Û
2015-03   5687   ºÒ·Î¼Òµæ
2015-06   5685   û¶ó