developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 1 | inherit rdk-image |
| 2 | |
| 3 | IMAGE_FEATURES_remove = "read-only-rootfs" |
| 4 | |
| 5 | SYSTEMD_TOOLS = "systemd-analyze systemd-bootchart" |
| 6 | # systemd-bootchart doesn't currently build with musl libc |
| 7 | SYSTEMD_TOOLS_remove_libc-musl = "systemd-bootchart" |
| 8 | |
| 9 | IMAGE_INSTALL += " packagegroup-turris-core \ |
| 10 | ${SYSTEMD_TOOLS} \ |
| 11 | linux-mac80211 \ |
| 12 | kernel-module-compat \ |
| 13 | kernel-module-cfg80211 \ |
| 14 | kernel-module-mac80211 \ |
| 15 | linux-mt76 \ |
| 16 | kernel-module-mt76 \ |
| 17 | kernel-module-mt7915e \ |
developer | e3b3139 | 2022-04-15 16:18:43 +0800 | [diff] [blame^] | 18 | regs \ |
| 19 | mii-mgr \ |
developer | 15a4331 | 2022-04-12 11:23:23 +0800 | [diff] [blame] | 20 | network-hotplug \ |
| 21 | libmcrypt \ |
| 22 | bzip2 \ |
| 23 | libpcap \ |
| 24 | tcpdump \ |
| 25 | ebtables \ |
| 26 | iw \ |
| 27 | ethtool \ |
| 28 | bc \ |
| 29 | mesh-agent \ |
| 30 | openvswitch \ |
| 31 | opensync \ |
| 32 | " |
| 33 | |
| 34 | BB_HASH_IGNORE_MISMATCH = "1" |
| 35 | IMAGE_NAME[vardepsexclude] = "DATETIME" |
| 36 | |
| 37 | #ESDK-CHANGES |
| 38 | do_populate_sdk_ext_prepend() { |
| 39 | builddir = d.getVar('TOPDIR') |
| 40 | if os.path.exists(builddir + '/conf/templateconf.cfg'): |
| 41 | with open(builddir + '/conf/templateconf.cfg', 'w') as f: |
| 42 | f.write('meta/conf\n') |
| 43 | } |
| 44 | |
| 45 | sdk_ext_postinst_append() { |
| 46 | echo "ln -s $target_sdk_dir/layers/openembedded-core/meta-rdk $target_sdk_dir/layers/openembedded-core/../meta-rdk \n" >> $env_setup_script |
| 47 | } |
| 48 | |
| 49 | PRSERV_HOST = "localhost:0" |
| 50 | INHERIT += "buildhistory" |
| 51 | BUILDHISTORY_COMMIT = "1" |
| 52 | |
| 53 | |
| 54 | |
| 55 | require image-exclude-files.inc |
| 56 | |
| 57 | remove_unused_file() { |
| 58 | for i in ${REMOVED_FILE_LIST} ; do rm -rf ${IMAGE_ROOTFS}/$i ; done |
| 59 | } |
| 60 | |
| 61 | ROOTFS_POSTPROCESS_COMMAND_append = "remove_unused_file; " |