Lines 108-120
Link Here
|
108 |
|
108 |
|
109 |
INSTALL_PREFIX := /usr |
109 |
INSTALL_PREFIX := /usr |
110 |
|
110 |
|
111 |
CFLAGS+=-I. -O4 -g -fPIC -Wall |
111 |
CFLAGS+=-I. -O4 -g -Wall |
112 |
ifneq (,$(findstring ppc,$(MACHINE))) |
112 |
ifneq (,$(findstring ppc,$(MACHINE))) |
113 |
CFLAGS += -fsigned-char |
113 |
CFLAGS += -fsigned-char |
114 |
KFLAGS += -msoft-float -fsigned-char |
114 |
KFLAGS += -msoft-float -fsigned-char |
115 |
endif |
115 |
endif |
116 |
ifneq (,$(findstring x86_64,$(MACHINE))) |
116 |
ifneq (,$(findstring x86_64,$(MACHINE))) |
117 |
CFLAGS += -m64 |
117 |
CFLAGS += -m64 -fPIC |
118 |
KFLAGS += -mcmodel=kernel |
118 |
KFLAGS += -mcmodel=kernel |
119 |
endif |
119 |
endif |
120 |
KFLAGS:=-I$(KINCLUDES) -O6 |
120 |
KFLAGS:=-I$(KINCLUDES) -O6 |
Lines 394-400
Link Here
|
394 |
else # DYNFS |
394 |
else # DYNFS |
395 |
ifdef UDEVRULES |
395 |
ifdef UDEVRULES |
396 |
install -d $(DESTDIR)/etc/udev/rules.d |
396 |
install -d $(DESTDIR)/etc/udev/rules.d |
397 |
build_tools/genudevrules > $(DESTDIR)/etc/udev/rules.d/zaptel.rules |
397 |
build_tools/genudevrules > $(DESTDIR)/etc/udev/rules.d/10-zaptel.rules |
398 |
else # !UDEVRULES |
398 |
else # !UDEVRULES |
399 |
@echo "**** Dynamic filesystem detected -- not creating device nodes" |
399 |
@echo "**** Dynamic filesystem detected -- not creating device nodes" |
400 |
endif |
400 |
endif |
Lines 464-474
Link Here
|
464 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxsusb.o |
464 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxsusb.o |
465 |
endif |
465 |
endif |
466 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxs.o |
466 |
rm -f $(DESTDIR)$(MODS_DIR)/wcfxs.o |
467 |
[ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : |
|
|
468 |
|
467 |
|
469 |
install-libs: libs |
468 |
install-libs: libs |
470 |
install -D -m 755 $(LIBTONEZONE_SO) $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) |
469 |
install -D -m 755 $(LIBTONEZONE_SO) $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) |
471 |
[ `id -u` = 0 ] && /sbin/ldconfig || : |
470 |
[ `id -u` = 0 ] && /sbin/ldconfig -n $(DESTDIR)$(LIBDIR) || : |
472 |
rm -f $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO) |
471 |
rm -f $(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO) |
473 |
ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ |
472 |
ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ |
474 |
$(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) |
473 |
$(DESTDIR)$(LIBDIR)/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) |