File tree Expand file tree Collapse file tree 7 files changed +21
-43
lines changed
Expand file tree Collapse file tree 7 files changed +21
-43
lines changed Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3- # Include default Makefile variables.
4- include /usr/share/dpkg/default.mk
5-
6- # Build all armhf binaries as ARMv6 with hard float, to support both
7- # Debian armhf and Raspbian armhf.
8- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
3+ # Build Raspbian armhf binaries as ARMv6 with hard float.
4+ include /usr/share/dpkg/vendor.mk
5+ ifeq ($(DEB_VENDOR ) ,Raspbian)
96 export CFLAGS += -marm -march=armv6+fp
107 export GOARM := 6
118endif
Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3- # Include default Makefile variables.
4- include /usr/share/dpkg/default.mk
5-
6- # Build all armhf binaries as ARMv6 with hard float, to support both
7- # Debian armhf and Raspbian armhf.
8- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
3+ # Build Raspbian armhf binaries as ARMv6 with hard float.
4+ include /usr/share/dpkg/vendor.mk
5+ ifeq ($(DEB_VENDOR ) ,Raspbian)
96 export CFLAGS += -marm -march=armv6+fp
107 export GOARM := 6
118endif
Original file line number Diff line number Diff line change 1414# See the License for the specific language governing permissions and
1515# limitations under the License.
1616
17-
18- # Include default Makefile variables.
19- include /usr/share/dpkg/default.mk
20-
21- # Build all armhf binaries as ARMv6 with hard float, to support both
22- # Debian armhf and Raspbian armhf.
23- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
17+ # Build Raspbian armhf binaries as ARMv6 with hard float.
18+ include /usr/share/dpkg/vendor.mk
19+ ifeq ($(DEB_VENDOR ) ,Raspbian)
2420 export CFLAGS += -marm -march=armv6+fp
2521 export GOARM := 6
2622endif
Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3- # Include default Makefile variables.
4- include /usr/share/dpkg/default.mk
5-
6- # Build all armhf binaries as ARMv6 with hard float, to support both
7- # Debian armhf and Raspbian armhf.
8- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
3+ # Build Raspbian armhf binaries as ARMv6 with hard float.
4+ include /usr/share/dpkg/vendor.mk
5+ ifeq ($(DEB_VENDOR ) ,Raspbian)
96 export CFLAGS += -marm -march=armv6+fp
107 export GOARM := 6
118endif
Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3- # Include default Makefile variables.
4- include /usr/share/dpkg/default.mk
5-
6- # Build all armhf binaries as ARMv6 with hard float, to support both
7- # Debian armhf and Raspbian armhf.
8- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
3+ # Build Raspbian armhf binaries as ARMv6 with hard float.
4+ include /usr/share/dpkg/vendor.mk
5+ ifeq ($(DEB_VENDOR ) ,Raspbian)
96 export CFLAGS += -marm -march=armv6+fp
107 export GOARM := 6
118endif
Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3- # Include default Makefile variables.
4- include /usr/share/dpkg/default.mk
5-
6- # Build all armhf binaries as ARMv6 with hard float, to support both
7- # Debian armhf and Raspbian armhf.
8- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
3+ # Build Raspbian armhf binaries as ARMv6 with hard float.
4+ include /usr/share/dpkg/vendor.mk
5+ ifeq ($(DEB_VENDOR ) ,Raspbian)
96 export CFLAGS += -marm -march=armv6+fp
107 export GOARM := 6
118endif
Original file line number Diff line number Diff line change 11# !/usr/bin/make -f
22
3- # Include default Makefile variables.
4- include /usr/share/dpkg/default.mk
5-
6- # Build all armhf binaries as ARMv6 with hard float, to support both
7- # Debian armhf and Raspbian armhf.
8- ifeq ($(DEB_TARGET_ARCH ) ,armhf)
3+ # Build Raspbian armhf binaries as ARMv6 with hard float.
4+ include /usr/share/dpkg/vendor.mk
5+ ifeq ($(DEB_VENDOR ) ,Raspbian)
96 export CFLAGS += -marm -march=armv6+fp
107 export GOARM := 6
118endif
You can’t perform that action at this time.
0 commit comments