summaryrefslogtreecommitdiff
path: root/package/nut/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-24 14:04:43 +0100
commit573b06af740b3f1966aa2ea190494d9c87270786 (patch)
treed2f5dd29803ad5bbca171bfff9b1ece4ef3d5b3c /package/nut/Makefile
parent42ed8eb00eba8691994588b7fca5dbd04d92a59c (diff)
parent3953de124e87ce3b594fd861b6f111b2df706753 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/nut/Makefile')
-rw-r--r--package/nut/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/nut/Makefile b/package/nut/Makefile
index 6af495cb6..5cf4406f6 100644
--- a/package/nut/Makefile
+++ b/package/nut/Makefile
@@ -81,20 +81,14 @@ CONFIGURE_ARGS+= --with-linux-hiddev=${LINUX_DIR}/include/linux/hiddev.h \
ifneq (${ADK_PACKAGE_NUT_WITH_SSL},)
CONFIGURE_ARGS+= --with-ssl
-CONFIGURE_ENV+= CPPFLAGS="${TCPPFLAGS} ${TLDFLAGS}"
-MAKE_FLAGS+= SSL_CFLAGS="${TCPPFLAGS}" SSL_LDFLAGS="${TLDFLAGS} -lssl -lcrypto"
+CONFIGURE_ENV+= CPPFLAGS="${TARGET_CPPFLAGS} ${TARGET_LDFLAGS}"
+MAKE_FLAGS+= SSL_CFLAGS="${TARGET_CPPFLAGS}" SSL_LDFLAGS="${TARGET_LDFLAGS} -lssl -lcrypto"
endif
-
-ALL_TARGET:= all
-INSTALL_TARGET:= install
-
ifneq (${ADK_PACKAGE_NUT_WITH_USB},)
-ALL_TARGET+= usb
-INSTALL_TARGET+= install-usb
+CONFIGURE_ARGS+= --with-usb
endif
ifneq (${ADK_PACKAGE_NUT_WITH_SNMP},)
-ALL_TARGET+= snmp
-INSTALL_TARGET+= install-snmp
+CONFIGURE_ARGS+= --with-snmp
endif
post-install: