b624a13b09b106c173dea47209b5a4806b5872ee
[openwrt/openwrt.git] / package / utils / zyxel-bootconfig-ipq807x / Makefile
1 #
2 # Copyright (c) 2025 Pascal Beleiu <pascal@beleiu.de>
3 # Copyright (c) 2025 Eric Schäfer <eric@es86.de>
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=zyxel-bootconfig-ipq807x
12 PKG_RELEASE:=1
13 PKG_FLAGS:=nonshared
14
15 include $(INCLUDE_DIR)/package.mk
16
17 define Package/zyxel-bootconfig-ipq807x
18 SECTION:=utils
19 CATEGORY:=Base system
20 TITLE:=Utility for handling Zyxel bootconfig settings on ipq807x devices
21 MAINTAINER:=Pascal Beleiu <pascal@beleiu.de>
22 DEPENDS:=@TARGET_qualcommax_ipq807x
23 endef
24
25 define Package/zyxel-bootconfig-ipq807x/description
26 This package contains an utility for handling Zyxel bootconfig settings on ipq807x devices.
27 endef
28
29 define Build/Prepare
30 endef
31
32 define Build/Configure
33 endef
34
35 define Build/Compile
36 endef
37
38 define Package/zyxel-bootconfig-ipq807x/install
39 $(INSTALL_DIR) $(1)/usr/bin $(1)/lib/preinit
40 $(INSTALL_BIN) ./files/zyxel-bootconfig-ipq807x $(1)/usr/bin/
41 $(CP) ./files/95_apply_bootconfig $(1)/lib/preinit/95_apply_bootconfig
42 endef
43
44 $(eval $(call BuildPackage,zyxel-bootconfig-ipq807x))