Remove all old config XML files and update to copy config files on-the-fly directly from FS source tree during installation process.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@35465 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -1,7 +1,10 @@
|
||||
--- /dev/null
|
||||
+++ b/build/openwrt_rules.mk
|
||||
@@ -0,0 +1,4 @@
|
||||
@@ -0,0 +1,7 @@
|
||||
+OPENWRT_DIR=$(shell (cd $(BASE)/../../..;pwd))
|
||||
+STAGING_PREFIX=$(OPENWRT_DIR)/staging_dir/host
|
||||
+STAGING_DIR=$(OPENWRT_DIR)/staging_dir/$(shell (cd $(BASE)/..;basename `pwd`))
|
||||
+ARCH="$(shell grep CONFIG_ARCH $(OPENWRT_DIR)/.config|cut -d= -d'"' -f2)"
|
||||
+GNU_TARGET_NAME=$(ARCH)-openwrt-linux
|
||||
+
|
||||
+include $(OPENWRT_DIR)/rules.mk
|
||||
|
@ -8,16 +8,24 @@
|
||||
EXTRA_DIST =
|
||||
SUBDIRS = . src
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
@@ -69,7 +73,7 @@ cd-moh-install: uhd-moh-install sounds-m
|
||||
# (1) if the variable is set in `config.status', edit `config.status'
|
||||
# (which will cause the Makefiles to be regenerated when you run `make');
|
||||
# (2) otherwise, pass the desired values on the `make' command line.
|
||||
-all-recursive: libfreeswitch.la
|
||||
+all-recursive: spandsp-reconf libfreeswitch.la
|
||||
clean-recusive: clean_core
|
||||
install-recursive: install-libLTLIBRARIES install-binPROGRAMS
|
||||
@@ -165,7 +169,6 @@ ZRTP_LIBS = -lbn -lzrtp
|
||||
libfreeswitch_la_LDFLAGS += $(ZRTP_LDFLAGS)
|
||||
libfreeswitch_la_LIBADD += $(ZRTP_LIBS)
|
||||
CORE_LIBS += libs/libzrtp/projects/gnu/build/libzrtp.a
|
||||
-LIBS += libs/libzrtp/third_party/bnlib/libbn.a
|
||||
endif
|
||||
|
||||
@@ -621,7 +625,9 @@ sndfile-reconf:
|
||||
library_includedir = $(includedir)
|
||||
@@ -423,7 +426,7 @@ $(switch_builddir)/quiet_libtool: $(swit
|
||||
@cat libtool | sed -e 's|$$show "$$command"|if test -z "$$suppress_output" ; then $$show "Compiling $$srcfile ..." ; fi|' > $(switch_builddir)/quiet_libtool
|
||||
|
||||
build/print_git_revision: build/print_git_revision.c
|
||||
- $(CC) -o $@ $<
|
||||
+ $(HOSTCC) -o $@ $<
|
||||
|
||||
src/include/switch_version.h: src/include/switch_version.h.in Makefile build/print_git_revision $(libfreeswitch_la_SOURCES) $(library_include_HEADERS)
|
||||
@cat $< > $@; \
|
||||
@@ -649,7 +652,9 @@ sndfile-reconf:
|
||||
|
||||
tiff-reconf:
|
||||
cd libs/tiff-4.0.2 && autoreconf -fi
|
||||
@ -28,7 +36,7 @@
|
||||
cd libs/tiff-4.0.2 && make
|
||||
|
||||
python-reconf:
|
||||
@@ -646,9 +652,6 @@ iks-reconf:
|
||||
@@ -674,9 +679,6 @@ iks-reconf:
|
||||
$(MAKE) mod_dingaling-clean
|
||||
|
||||
spandsp-reconf: tiff-reconf
|
||||
|
Reference in New Issue
Block a user