2 # Copyright (C) 2022 David Bauer <mail@david-bauer.net>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=zyxel-bootconfig
13 include $(INCLUDE_DIR
)/package.mk
15 define Package
/zyxel-bootconfig
18 TITLE
:=Utility for handling ZyXEL Bootconfig settings
19 MAINTAINER
:=David Bauer
<mail@david-bauer.net
>
22 define Package
/zyxel-bootconfig
/description
23 This package contains an utility that allows handling ZyXEL Bootconfig settings.
27 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
29 CFLAGS
="$(TARGET_CFLAGS) -Wall"
32 define Package
/zyxel-bootconfig
/install
33 $(INSTALL_DIR
) $(1)/usr
/bin
$(1)/lib
/preinit
34 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/zyxel-bootconfig
$(1)/usr
/bin
/
35 $(CP
) .
/files
/95_apply_bootconfig
$(1)/lib
/preinit
/95_apply_bootconfig
38 $(eval
$(call BuildPackage
,zyxel-bootconfig
))