X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/62f204e188672e6a63b19b6994d230da5c019953..08479c3ef6123d8b8156fd8e5e9c1763216e0503:/package/Makefile diff --git a/package/Makefile b/package/Makefile index 9259e4c33..4008d434c 100644 --- a/package/Makefile +++ b/package/Makefile @@ -51,6 +51,7 @@ package-$(BR2_PACKAGE_SDK) += sdk package-$(BR2_PACKAGE_SER) += ser package-$(BR2_PACKAGE_SETSERIAL) += setserial package-$(BR2_PACKAGE_SHFS) += shfs +package-$(BR2_PACKAGE_SNORT) += snort package-$(BR2_PACKAGE_SPEEX) += speex package-$(BR2_PACKAGE_STRACE) += strace package-$(BR2_PACKAGE_TCPDUMP) += tcpdump @@ -65,6 +66,8 @@ package-$(BR2_PACKAGE_LIBPQ) += postgresql DEV_LIBS:=tcp_wrappers glib ncurses openssl pcre popt zlib libnet libpcap mysql postgresql iptables matrixssl lzo gmp fuse portmap libelf DEV_LIBS_COMPILE:=$(patsubst %,%-compile,$(DEV_LIBS)) +SDK_DEFAULT_PACKAGES:=busybox dnsmasq iptables wireless-tools dropbear bridge +SDK_DEFAULT_COMPILE:=$(patsubst %,%-compile,$(SDK_DEFAULT_PACKAGES)) all: compile install clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean @@ -97,7 +100,15 @@ libnet-compile: libpcap-compile mysql-compile: ncurses-compile zlib-compile postgresql-compile: zlib-compile -sdk-compile: $(DEV_LIBS_COMPILE) +snort-compile: libnet-compile libpcap-compile pcre-compile +ifeq ($(BR2_PACKAGE_SNORT_MYSQL),y) +snort-compile: mysql-compile +endif +ifeq ($(BR2_PACKAGE_SNORT_PGSQL),y) +snort-compile: postgresql-compile +endif + +sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) $(patsubst %,%-prepare,$(package-y) $(package-m) $(package-)): linux-install %-prepare: