[package] base-files: remove ptbtime3 rdate server, its dead
[openwrt.git] / package / linux-atm / patches / 300-objcopy_path.patch
1 --- a/src/extra/Makefile.am
2 +++ b/src/extra/Makefile.am
3 @@ -7,6 +7,8 @@ EXTRA_DIST = linux-atm.spec.in \
4 BUILT_SOURCES = pca200e.bin pca200e_ecd.bin2 sba200e_ecd.bin2
5 CLEANFILES = pca200e.bin pca200e_ecd.bin2 sba200e_ecd.bin2
6
7 +OBJCOPY = objcopy
8 +
9 install-exec-hook:
10 $(MKDIR_P) $(DESTDIR)/lib/firmware
11 $(INSTALL_DATA) $(srcdir)/pca200e.bin $(DESTDIR)/lib/firmware
12 @@ -14,7 +16,7 @@ install-exec-hook:
13 $(INSTALL_DATA) $(srcdir)/sba200e_ecd.bin2 $(DESTDIR)/lib/firmware
14
15 %.bin %.bin2: %.data
16 - objcopy -Iihex $< -Obinary $@.gz
17 + $(OBJCOPY) -Iihex $< -Obinary $@.gz
18 gzip -n -df $@.gz
19
20
21 --- a/src/extra/Makefile.in
22 +++ b/src/extra/Makefile.in
23 @@ -187,6 +187,8 @@ CLEANFILES = pca200e.bin pca200e_ecd.bin
24 all: $(BUILT_SOURCES)
25 $(MAKE) $(AM_MAKEFLAGS) all-am
26
27 +OBJCOPY = objcopy
28 +
29 .SUFFIXES:
30 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
31 @for dep in $?; do \
32 @@ -385,7 +387,7 @@ install-exec-hook:
33 $(INSTALL_DATA) $(srcdir)/sba200e_ecd.bin2 $(DESTDIR)/lib/firmware
34
35 %.bin %.bin2: %.data
36 - objcopy -Iihex $< -Obinary $@.gz
37 + $(OBJCOPY) -Iihex $< -Obinary $@.gz
38 gzip -n -df $@.gz
39
40 # Tell versions [3.59,3.63) of GNU make to not export all variables.
This page took 0.043521 seconds and 5 git commands to generate.