diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2015-05-26 16:19:49 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-28 10:35:17 +0200 |
commit | ea207e810403efc47a2d16ad0842193c7e727402 (patch) | |
tree | ce4b62cb86993517f1980c84b00e8952bbaebfac /meta-oe | |
parent | f7f2657dac50d9cf80411cf05c35fb76219a4044 (diff) | |
download | meta-openembedded-ea207e810403efc47a2d16ad0842193c7e727402.tar.gz |
smstools: fix makefile override
Fix syntax error in src/Makefile, override in wrong place.
The patch is backport from debian.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-connectivity/smstools3/smstools3/fix-makefile-override.patch | 24 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb | 3 |
2 files changed, 26 insertions, 1 deletions
diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3/fix-makefile-override.patch b/meta-oe/recipes-connectivity/smstools3/smstools3/fix-makefile-override.patch new file mode 100644 index 0000000000..f0a1d33c96 --- /dev/null +++ b/meta-oe/recipes-connectivity/smstools3/smstools3/fix-makefile-override.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Backport [debian] | ||
2 | |||
3 | --- a/src/Makefile | ||
4 | +++ b/src/Makefile | ||
5 | @@ -37,16 +37,15 @@ | ||
6 | # Use the following only on GNU/Linux and only if you need ps listing like "smsd: MAINPROCESS" and "smsd: GSM1" | ||
7 | # CFLAGS += -D USE_LINUX_PS_TRICK | ||
8 | |||
9 | -all: smsd | ||
10 | - | ||
11 | -smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o | ||
12 | - | ||
13 | ifneq (,$(findstring SOLARIS,$(CFLAGS))) | ||
14 | ifeq (,$(findstring DISABLE_INET_SOCKET,$(CFLAGS))) | ||
15 | override LFLAGS += -lsocket -lnsl | ||
16 | endif | ||
17 | endif | ||
18 | |||
19 | +all: smsd | ||
20 | + | ||
21 | +smsd: smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o | ||
22 | ifneq (,$(findstring NOSTATS,$(CFLAGS))) | ||
23 | $(CC) $(CFLAGS) -o $@ $^ $(LFLAGS) | ||
24 | else | ||
diff --git a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb index c4b6b60c1e..95adecdf96 100644 --- a/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb +++ b/meta-oe/recipes-connectivity/smstools3/smstools3_3.1.15.bb | |||
@@ -6,7 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4d21efa1bb2a186360dde4035f860682" | |||
6 | HOMEPAGE = "http://smstools3.kekekasvi.com" | 6 | HOMEPAGE = "http://smstools3.kekekasvi.com" |
7 | 7 | ||
8 | SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \ | 8 | SRC_URI = "http://smstools3.kekekasvi.com/packages/${BP}.tar.gz \ |
9 | file://sms_binpath_and_psops.patch" | 9 | file://sms_binpath_and_psops.patch \ |
10 | file://fix-makefile-override.patch" | ||
10 | 11 | ||
11 | SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7" | 12 | SRC_URI[md5sum] = "0241ef60e646fac1a06254a848e61ed7" |
12 | SRC_URI[sha256sum] = "ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59" | 13 | SRC_URI[sha256sum] = "ed00ffaeaa312a5b4f969f4e97a64603a866bbe16e393ea02f5bf05234814d59" |