octeon: use shared function for platform_copy_config()
[openwrt/openwrt.git] / tools / mklibs / patches / 002-disable_symbol_checks.patch
1 --- a/src/mklibs
2 +++ b/src/mklibs
3 @@ -533,7 +533,7 @@ while 1:
4 # No progress in last pass. Verify all remaining symbols are weak.
5 for name in unresolved:
6 if not needed_symbols[name].weak:
7 - raise Exception("Unresolvable symbol %s" % name)
8 + print "WARNING: Unresolvable symbol %s" % name
9 break
10
11 previous_pass_unresolved = unresolved
12 @@ -568,7 +568,7 @@ while 1:
13 for name in needed_symbols:
14 if not name in symbol_provider:
15 if not needed_symbols[name].weak:
16 - raise Exception("No library provides non-weak %s" % name)
17 + print "WARNING: Unresolvable symbol %s" % name
18 else:
19 lib = symbol_provider[name]
20 library_symbols_used[lib].add(library_symbols[lib][name])