summaryrefslogtreecommitdiff
path: root/recipes/opkg/opkg-nogpg_svn.bb
blob: bee639ff8c8a23c68c87613fbdb195ce499c5824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require opkg_svn.bb

DEPENDS = "curl"
PROVIDES += "opkg"

PR = "${INC_PR}.1"

EXTRA_OECONF += " --disable-gpg \ 
                  --disable-openssl \ 
                  --disable-ssl-curl \
                  --enable-gpg=no \
                  --enable-ssl-curl=no \
                  --enable-openssl=no"

LDFLAGS_append = " -Wl,--as-needed"

# The nogpg version isn't getting much love and has an unused variable which trips up -Werror
do_configure_prepend() {
	sed -i -e s:-Werror::g ${S}/libopkg/Makefile.am
}
do_configure_prepend_nylon() {
	LDFLAGS="`echo "$LDFLAGS" | sed "s/ -Wl,--as-needed//"`"
}

DEFAULT_PREFERENCE = "-1"