fix stdint include patch
[openwrt.git] / package / broadcom-wl / src / kmod / Makefile
index 6723840..ec33d8b 100644 (file)
 
 EXTRA_CFLAGS += -I$(TOPDIR)/arch/mips/bcm947xx/include -DBCMDRIVER
 
-O_TARGET       := wl_link.o
+O_TARGET       := wl$(MOD_NAME).o
 
-obj-y          := wl_mod.o
+obj-y          := wl_mod$(MOD_NAME).o
 obj-y          += bcmutils.o hnddma.o linux_osl.o
 
 obj-m          := $(O_TARGET)
 
-wl_mod.o: wl_apsta.o
+wl_mod$(MOD_NAME).o: wl_apsta$(MOD_NAME).o
        sed -e 's,eth%d,wl%d\x00,g' < $< > $@
 
-wl.o: wl_link.o
-       $(OBJDUMP) -d $< | perl patchtable.pl > patchtable.bin
-       cat wl_link.o patchtable.bin > $@
+wl$(MOD_NAME).o.patch: wl$(MOD_NAME).o
+       $(OBJDUMP) -d $< | perl patchtable.pl > $@
 
-modules: wl.o
+modules: wl$(MOD_NAME).o.patch
 
 include $(TOPDIR)/Rules.make
This page took 0.023241 seconds and 4 git commands to generate.