Skip to content

Commit

Permalink
Debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonym-tsk committed Sep 10, 2024
1 parent fff5a83 commit ac76568
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _control:
echo "Package: nfqws-keenetic" > out/$(BUILD_DIR)/control/control
echo "Version: $(VERSION)" >> out/$(BUILD_DIR)/control/control

@if [ "$(BUILD_DIR)" == "openwrt" ]; then \
@if [[ "$(BUILD_DIR)" == "openwrt" ]]; then \
echo "Depends: iptables, iptables-mod-extra, iptables-mod-nfqueue, iptables-mod-filter, iptables-mod-ipopt, iptables-mod-conntrack-extra, ip6tables, ip6tables-mod-nat, ip6tables-extra" >> out/$(BUILD_DIR)/control/control; \
else \
echo "Depends: iptables" >> out/$(BUILD_DIR)/control/control; \
Expand All @@ -41,13 +41,13 @@ _scripts:
cp common/ipk/prerm out/$(BUILD_DIR)/control/prerm
cp common/ipk/postrm out/$(BUILD_DIR)/control/postrm

@if [ "$(BUILD_DIR)" == "all" ] || [ "$(BUILD_DIR)" == "openwrt" ]; then \
@if [[ "$(BUILD_DIR)" == "all" ]] || [[ "$(BUILD_DIR)" == "openwrt" ]]; then \
cp common/ipk/postinst-multi out/$(BUILD_DIR)/control/postinst; \
else \
cp common/ipk/postinst out/$(BUILD_DIR)/control/postinst; \
fi

@if [ "$(BUILD_DIR)" == "openwrt" ]; then \
@if [[ "$(BUILD_DIR)" == "openwrt" ]]; then \
cp common/ipk/env-openwrt out/$(BUILD_DIR)/control/env; \
else \
cp common/ipk/env out/$(BUILD_DIR)/control/env; \
Expand Down Expand Up @@ -88,11 +88,11 @@ _ipk:

cp -r etc/init.d out/$(BUILD_DIR)/data$(ROOT_DIR)/etc/init.d
cp -r etc/nfqws out/$(BUILD_DIR)/data$(ROOT_DIR)/etc/nfqws
@if [ "$(BUILD_DIR)" != "openwrt" ]; then \
@if [[ "$(BUILD_DIR)" != "openwrt" ]]; then \
cp -r etc/ndm out/$(BUILD_DIR)/data$(ROOT_DIR)/etc/ndm; \
fi

@if [ "$(BUILD_DIR)" == "all" ] || [ "$(BUILD_DIR)" == "openwrt" ]; then \
@if [[ "$(BUILD_DIR)" == "all" ]] || [[ "$(BUILD_DIR)" == "openwrt" ]]; then \
make _binary-multi; \
else \
make _binary; \
Expand Down Expand Up @@ -167,7 +167,7 @@ _repository:
echo "Package: nfqws-keenetic" > out/_pages/$(BUILD_DIR)/Packages
echo "Version: $(VERSION)" >> out/_pages/$(BUILD_DIR)/Packages

@if [ "$(BUILD_DIR)" == "openwrt" ]; then \
@if [[ "$(BUILD_DIR)" == "openwrt" ]]; then \
echo "Depends: iptables, iptables-mod-extra, iptables-mod-nfqueue, iptables-mod-filter, iptables-mod-ipopt, iptables-mod-conntrack-extra, ip6tables, ip6tables-mod-nat, ip6tables-extra" >> out/_pages/$(BUILD_DIR)/Packages; \
else \
echo "Depends: iptables" >> out/_pages/$(BUILD_DIR)/Packages; \
Expand Down

0 comments on commit ac76568

Please sign in to comment.