From c158582c0fc7f4bd73980fe9adad446855f4d61b Mon Sep 17 00:00:00 2001 From: Tudor Florea Date: Fri, 10 Oct 2014 03:19:54 +0200 Subject: initial commit for Enea Linux 4.0-140929 Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea --- ...Makefile-Add-support-for-building-on-ARM7.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 recipes-test/udt/files/0003-Makefile-Add-support-for-building-on-ARM7.patch (limited to 'recipes-test/udt/files/0003-Makefile-Add-support-for-building-on-ARM7.patch') diff --git a/recipes-test/udt/files/0003-Makefile-Add-support-for-building-on-ARM7.patch b/recipes-test/udt/files/0003-Makefile-Add-support-for-building-on-ARM7.patch new file mode 100644 index 0000000..45381a4 --- /dev/null +++ b/recipes-test/udt/files/0003-Makefile-Add-support-for-building-on-ARM7.patch @@ -0,0 +1,46 @@ +From 96dafd845546d585616c8d5744c0123dd08b7443 Mon Sep 17 00:00:00 2001 +From: Josep Puigdemont +Date: Sat, 10 May 2014 17:12:28 +0200 +Subject: [PATCH 3/3] Makefile: Add support for building on ARM7 + +Signed-off-by: Josep Puigdemont +Upstream-Status: Pending + +--- + udt4/app/Makefile | 4 ++++ + udt4/src/Makefile | 4 ++++ + 2 files changed, 8 insertions(+) + +diff --git a/udt4/app/Makefile b/udt4/app/Makefile +index b046b83..5336e2d 100644 +--- a/udt4/app/Makefile ++++ b/udt4/app/Makefile +@@ -34,6 +34,10 @@ ifeq ($(arch), SPARC) + CCFLAGS += -DSPARC + endif + ++ifeq ($(arch), ARM7) ++ CCFLAGS += -mcpu=arm7 ++endif ++ + LDFLAGS = -L../src -ludt -lstdc++ -lpthread -lm + + ifeq ($(os), UNIX) +diff --git a/udt4/src/Makefile b/udt4/src/Makefile +index 0d94d48..4153bcd 100644 +--- a/udt4/src/Makefile ++++ b/udt4/src/Makefile +@@ -38,6 +38,10 @@ ifeq ($(arch), AMD64) + CCFLAGS += -DAMD64 + endif + ++ifeq ($(arch), ARM7) ++ CCFLAGS += -mcpu=arm7 ++endif ++ + OBJS = api.o buffer.o cache.o ccc.o channel.o common.o core.o epoll.o list.o md5.o packet.o queue.o window.o + DIR = $(shell pwd) + +-- +1.9.0 + -- cgit v1.2.3-54-g00ecf