Remove mv instruction from makefile

This commit is contained in:
Roman Hargrave 2016-09-26 22:53:50 -05:00
parent 7a6b72893e
commit 110ecf658b
1 changed files with 1 additions and 2 deletions

View File

@ -3,13 +3,12 @@ KERNEL = /lib/modules/$(shell uname -r)/build
endif
EXTRA_CFLAGS := -Wall -Wstrict-prototypes -O2 -fno-strict-aliasing
obj-m += amifldrv_mod.o
amifldrv_mod-objs := amifldrv.o amiwrap.o
amifldrv_mod-objs := amifldrv.o
default:
make -C $(KERNEL) SUBDIRS=$(PWD) modules
rm -f amifldrv.o_shipped
mv amifldrv.o amifldrv.o_shipped
rm -f amifldrv_mod.o
mv amifldrv_mod.ko ../amifldrv_mod
.PHONY : clean
clean:
rm -f *.*~