You are not logged in.
Pages: 1
Topic closed
I'm trying to make a package for usb-rndis-lite from SVN. The problem is that it's a kernel module and by default it's makefile doesn't have any option that can be specified to override output directory:
ifneq ($(KERNELRELEASE),)
include Kbuild
else
# Normal Makefile
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
default:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
install:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
depmod -ae
clean:
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
endifSo I'm wondering what should I do? Should I create a patch that will be applied to the makefile or should I just substitute the makefile? Or any other way to force this SVN package to build in arbitrary directory?
Offline
Patch the makefile.
Offline
Thank you!
Offline
Ahh hey there, I'm wanting to build this and I have no idea how one would patch the makefile, could someone please take me through it?
Thankyou
Offline
planktonic - this thread is over two years old, so you should start a new thread instead of posting here. Full details here.
Before you go, have a look at the man pages for diff and patch - if that's not enough, google is good for this kind of stuff.
Closed.
Offline
Pages: 1
Topic closed