diff --git a/openwrt/package/ebtables/Makefile b/openwrt/package/ebtables/Makefile
index e672ac13c1aa15b50d7f893acd025099b969e694..4ee6833882cbe55f1087ed2170ffe21feb528bab 100644
--- a/openwrt/package/ebtables/Makefile
+++ b/openwrt/package/ebtables/Makefile
@@ -26,6 +26,6 @@ endef
 define Package/ebtables/install
 	install -d -m0755 $(IDIR_DNSMASQ)/usr/sbin
 	install -m0755 $(PKG_BUILD_DIR)/ebtables $(IDIR_EBTABLES)/usr/sbin/ebtables
-ended
+endef
 
 $(eval $(call BuildPackage,ebtables))
diff --git a/openwrt/package/zlib/Makefile b/openwrt/package/zlib/Makefile
index aaa3f4d4296ef36a8fd798cca77664b2b59a762f..d3c8714bac31d7412f937af4b5ace2bd104b8357 100644
--- a/openwrt/package/zlib/Makefile
+++ b/openwrt/package/zlib/Makefile
@@ -66,3 +66,5 @@ uninstall-dev:
 	rm -rf $(STAGING_DIR)/usr/include/zconf.h
 	rm -rf $(STAGING_DIR)/usr/include/zlib.h
 	rm -rf $(STAGING_DIR)/usr/lib/libz.*
+
+$(eval $(call BuildPackage,zlib))