summaryrefslogtreecommitdiff
path: root/package/picocom
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:37:50 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-22 22:37:50 +0100
commit9436a026e2e23d207fbdcb9e8bc9b076e3573700 (patch)
treeadb1937bc90be8869a5f7c9636da84773414eb3b /package/picocom
parent52b1b0100c53b1f8699955df618fcb47744e0a7e (diff)
activate GCC cflags check, cleanup FLAGS stuff in OpenADK.
* remove TCFLAGS/TLDFLAGS/TCPPFLAGS and only use TARGET_CFLAGS/TARGET_LDFLAGS/TARGET_CPPFLAGS, ... * activate GCC_HONOUR_COPTS and fix all packages to honour CFLAGS * use CC_FOR_BUILD, CFLAGS_FOR_BUILD, ... for all build compilation, remove HOST* variants * introduce KERNEL_MODULE_FLAGS for external kernel modules * mark rpm package as broken, mark syslinux for native builds only, mark libhugetlb for eglibc/glibc only usage
Diffstat (limited to 'package/picocom')
-rw-r--r--package/picocom/Makefile1
-rw-r--r--package/picocom/patches/patch-Makefile18
2 files changed, 18 insertions, 1 deletions
diff --git a/package/picocom/Makefile b/package/picocom/Makefile
index 592a6beba..34277e69e 100644
--- a/package/picocom/Makefile
+++ b/package/picocom/Makefile
@@ -18,7 +18,6 @@ $(eval $(call PKG_template,PICOCOM,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${P
CONFIG_STYLE:= manual
INSTALL_STYLE:= manual
-
ALL_TARGET:= picocom
do-install:
diff --git a/package/picocom/patches/patch-Makefile b/package/picocom/patches/patch-Makefile
new file mode 100644
index 000000000..621e7c211
--- /dev/null
+++ b/package/picocom/patches/patch-Makefile
@@ -0,0 +1,18 @@
+--- picocom-1.4.orig/Makefile 2004-08-13 13:18:38.000000000 +0200
++++ picocom-1.4/Makefile 2011-01-21 21:02:02.096749132 +0100
+@@ -2,11 +2,12 @@
+ VERSION=1.4
+
+ # CC = gcc
+-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
+-CFLAGS = -Wall -g
++CPPFLAGS ?=
++CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
++CFLAGS ?= -Wall -g
+
+ # LD = gcc
+-LDFLAGS = -g
++LDFLAGS ?= -g
+ LDLIBS =
+
+ picocom : picocom.o term.o