From f5e1e62aecca3ab1c75f6c6c2491ab0670afb4f8 Mon Sep 17 00:00:00 2001 From: Tonoxis Date: Mon, 5 Apr 2021 09:36:49 +0000 Subject: [PATCH] Added new /SANE/ configuration. It now boots, runs well on slimport, and has zRAM (WOO)! --- arch/arm/configs/tononix_flo_defconfig | 4076 +++++++++++++++++++ debian/commit-templates/bumpabi | 3 - debian/commit-templates/config-updates | 15 - debian/commit-templates/external-driver | 20 - debian/commit-templates/missing-modules | 3 - debian/commit-templates/newrelease | 3 - debian/commit-templates/sauce-patch | 40 - debian/commit-templates/upstream-patch | 27 - debian/compat | 1 - debian/control-scripts/headers-postinst | 126 - debian/control-scripts/postinst | 1095 ----- debian/control-scripts/postrm | 361 -- debian/control-scripts/preinst | 315 -- debian/control-scripts/prerm | 312 -- debian/debian.env | 1 - debian/docs/README.inclusion-list | 51 - debian/rules | 252 -- debian/rules.d/0-common-vars.mk | 231 -- debian/rules.d/1-maintainer.mk | 119 - debian/rules.d/2-binary-arch.mk | 539 --- debian/rules.d/3-binary-indep.mk | 165 - debian/rules.d/4-checks.mk | 27 - debian/rules.d/5-udebs.mk | 44 - debian/scripts/abi-check | 210 - debian/scripts/config-check | 413 -- debian/scripts/control-create | 25 - debian/scripts/link-headers | 42 - debian/scripts/misc/find-obsolete-firmware | 91 - debian/scripts/misc/fw-to-ihex.sh | 18 - debian/scripts/misc/get-firmware | 62 - debian/scripts/misc/getabis | 130 - debian/scripts/misc/git-ubuntu-log | 232 -- debian/scripts/misc/insert-changes.pl | 36 - debian/scripts/misc/insert-mainline-changes | 42 - debian/scripts/misc/insert-ubuntu-changes | 58 - debian/scripts/misc/kernelconfig | 172 - debian/scripts/misc/retag | 34 - debian/scripts/misc/splitconfig.pl | 107 - debian/scripts/module-check | 120 - debian/scripts/module-inclusion | 60 - debian/scripts/sub-flavour | 69 - debian/source/format | 1 - debian/stamps/keep-dir | 1 - debian/tests-build/README | 21 - debian/tests-build/check-aliases | 24 - debian/tests/README | 21 - debian/tests/check-aliases | 24 - debian/tests/control | 3 - debian/tests/rebuild | 1 - debian/tools/generic | 16 - debian/tools/perf | 16 - debian/tools/turbostat | 16 - debian/tools/x86_energy_perf_policy | 16 - 53 files changed, 4076 insertions(+), 5831 deletions(-) create mode 100644 arch/arm/configs/tononix_flo_defconfig delete mode 100644 debian/commit-templates/bumpabi delete mode 100644 debian/commit-templates/config-updates delete mode 100644 debian/commit-templates/external-driver delete mode 100644 debian/commit-templates/missing-modules delete mode 100644 debian/commit-templates/newrelease delete mode 100644 debian/commit-templates/sauce-patch delete mode 100644 debian/commit-templates/upstream-patch delete mode 100644 debian/compat delete mode 100644 debian/control-scripts/headers-postinst delete mode 100644 debian/control-scripts/postinst delete mode 100644 debian/control-scripts/postrm delete mode 100644 debian/control-scripts/preinst delete mode 100644 debian/control-scripts/prerm delete mode 100644 debian/debian.env delete mode 100644 debian/docs/README.inclusion-list delete mode 100755 debian/rules delete mode 100644 debian/rules.d/0-common-vars.mk delete mode 100644 debian/rules.d/1-maintainer.mk delete mode 100644 debian/rules.d/2-binary-arch.mk delete mode 100644 debian/rules.d/3-binary-indep.mk delete mode 100644 debian/rules.d/4-checks.mk delete mode 100644 debian/rules.d/5-udebs.mk delete mode 100755 debian/scripts/abi-check delete mode 100755 debian/scripts/config-check delete mode 100755 debian/scripts/control-create delete mode 100755 debian/scripts/link-headers delete mode 100755 debian/scripts/misc/find-obsolete-firmware delete mode 100755 debian/scripts/misc/fw-to-ihex.sh delete mode 100755 debian/scripts/misc/get-firmware delete mode 100755 debian/scripts/misc/getabis delete mode 100755 debian/scripts/misc/git-ubuntu-log delete mode 100755 debian/scripts/misc/insert-changes.pl delete mode 100755 debian/scripts/misc/insert-mainline-changes delete mode 100755 debian/scripts/misc/insert-ubuntu-changes delete mode 100755 debian/scripts/misc/kernelconfig delete mode 100755 debian/scripts/misc/retag delete mode 100755 debian/scripts/misc/splitconfig.pl delete mode 100755 debian/scripts/module-check delete mode 100755 debian/scripts/module-inclusion delete mode 100644 debian/scripts/sub-flavour delete mode 100644 debian/source/format delete mode 100644 debian/stamps/keep-dir delete mode 100644 debian/tests-build/README delete mode 100755 debian/tests-build/check-aliases delete mode 100644 debian/tests/README delete mode 100755 debian/tests/check-aliases delete mode 100644 debian/tests/control delete mode 100755 debian/tests/rebuild delete mode 100644 debian/tools/generic delete mode 100644 debian/tools/perf delete mode 100644 debian/tools/turbostat delete mode 100644 debian/tools/x86_energy_perf_policy diff --git a/arch/arm/configs/tononix_flo_defconfig b/arch/arm/configs/tononix_flo_defconfig new file mode 100644 index 00000000000..9ec5c8a5a77 --- /dev/null +++ b/arch/arm/configs/tononix_flo_defconfig @@ -0,0 +1,4076 @@ +# +# Automatically generated file; DO NOT EDIT. +# Linux/arm 3.4.029 Kernel Configuration +# +CONFIG_ARM=y +CONFIG_ARM_HAS_SG_CHAIN=y +CONFIG_MIGHT_HAVE_PCI=y +CONFIG_SYS_SUPPORTS_APM_EMULATION=y +CONFIG_GENERIC_GPIO=y +# CONFIG_ARCH_USES_GETTIMEOFFSET is not set +CONFIG_GENERIC_CLOCKEVENTS=y +CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y +CONFIG_KTIME_SCALAR=y +CONFIG_HAVE_PROC_CPU=y +CONFIG_STACKTRACE_SUPPORT=y +CONFIG_LOCKDEP_SUPPORT=y +CONFIG_TRACE_IRQFLAGS_SUPPORT=y +CONFIG_HARDIRQS_SW_RESEND=y +CONFIG_GENERIC_IRQ_PROBE=y +CONFIG_ARM_TICKET_LOCKS=y +CONFIG_RWSEM_GENERIC_SPINLOCK=y +CONFIG_ARCH_HAS_CPUFREQ=y +CONFIG_ARCH_HAS_CPU_IDLE_WAIT=y +CONFIG_GENERIC_HWEIGHT=y +CONFIG_GENERIC_CALIBRATE_DELAY=y +CONFIG_NEED_DMA_MAP_STATE=y +CONFIG_VECTORS_BASE=0xffff0000 +# CONFIG_ARM_PATCH_PHYS_VIRT is not set +CONFIG_NEED_MACH_IO_H=y +CONFIG_NEED_MACH_MEMORY_H=y +CONFIG_PHYS_OFFSET=0x80200000 +CONFIG_GENERIC_BUG=y +CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" +CONFIG_HAVE_IRQ_WORK=y +CONFIG_IRQ_WORK=y + +# +# General setup +# +CONFIG_EXPERIMENTAL=y +CONFIG_INIT_ENV_ARG_LIMIT=32 +CONFIG_CROSS_COMPILE="" +CONFIG_LOCALVERSION="" +CONFIG_LOCALVERSION_AUTO=y +CONFIG_HAVE_KERNEL_GZIP=y +CONFIG_HAVE_KERNEL_LZMA=y +CONFIG_HAVE_KERNEL_XZ=y +CONFIG_HAVE_KERNEL_LZO=y +CONFIG_KERNEL_GZIP=y +# CONFIG_KERNEL_LZMA is not set +# CONFIG_KERNEL_XZ is not set +# CONFIG_KERNEL_LZO is not set +CONFIG_DEFAULT_HOSTNAME="(none)" +CONFIG_SWAP=y +CONFIG_SYSVIPC=y +CONFIG_SYSVIPC_SYSCTL=y +CONFIG_POSIX_MQUEUE=y +CONFIG_POSIX_MQUEUE_SYSCTL=y +# CONFIG_BSD_PROCESS_ACCT is not set +CONFIG_FHANDLE=y +# CONFIG_TASKSTATS is not set +CONFIG_AUDIT=y +CONFIG_AUDITSYSCALL=y +CONFIG_AUDIT_WATCH=y +CONFIG_AUDIT_TREE=y +# CONFIG_AUDIT_LOGINUID_IMMUTABLE is not set +CONFIG_HAVE_GENERIC_HARDIRQS=y + +# +# IRQ subsystem +# +CONFIG_GENERIC_HARDIRQS=y +CONFIG_GENERIC_IRQ_SHOW=y +CONFIG_IRQ_DOMAIN=y +# CONFIG_IRQ_DOMAIN_DEBUG is not set + +# +# RCU Subsystem +# +CONFIG_TREE_PREEMPT_RCU=y +CONFIG_PREEMPT_RCU=y +CONFIG_RCU_FANOUT=32 +# CONFIG_RCU_FANOUT_EXACT is not set +# CONFIG_RCU_FAST_NO_HZ is not set +# CONFIG_TREE_RCU_TRACE is not set +# CONFIG_RCU_BOOST is not set +CONFIG_IKCONFIG=y +# CONFIG_IKCONFIG_PROC is not set +CONFIG_LOG_BUF_SHIFT=17 +CONFIG_CGROUPS=y +CONFIG_CGROUP_DEBUG=y +CONFIG_CGROUP_FREEZER=y +# CONFIG_CGROUP_DEVICE is not set +# CONFIG_CPUSETS is not set +CONFIG_CGROUP_CPUACCT=y +CONFIG_RESOURCE_COUNTERS=y +# CONFIG_CGROUP_MEM_RES_CTLR is not set +# CONFIG_CGROUP_PERF is not set +CONFIG_CGROUP_SCHED=y +CONFIG_FAIR_GROUP_SCHED=y +# CONFIG_CFS_BANDWIDTH is not set +# CONFIG_RT_GROUP_SCHED is not set +# CONFIG_BLK_CGROUP is not set +# CONFIG_CHECKPOINT_RESTORE is not set +CONFIG_NAMESPACES=y +CONFIG_UTS_NS=y +CONFIG_IPC_NS=y +CONFIG_USER_NS=y +CONFIG_PID_NS=y +CONFIG_NET_NS=y +# CONFIG_SCHED_AUTOGROUP is not set +# CONFIG_SYSFS_DEPRECATED is not set +# CONFIG_RELAY is not set +CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="" +CONFIG_RD_GZIP=y +CONFIG_RD_BZIP2=y +CONFIG_RD_LZMA=y +CONFIG_RD_XZ=y +CONFIG_RD_LZO=y +CONFIG_CC_OPTIMIZE_FOR_SIZE=y +CONFIG_SYSCTL=y +CONFIG_ANON_INODES=y +CONFIG_PANIC_TIMEOUT=5 +CONFIG_EXPERT=y +CONFIG_UID16=y +# CONFIG_SYSCTL_SYSCALL is not set +CONFIG_KALLSYMS=y +CONFIG_KALLSYMS_ALL=y +CONFIG_HOTPLUG=y +CONFIG_PRINTK=y +CONFIG_BUG=y +CONFIG_ELF_CORE=y +CONFIG_BASE_FULL=y +CONFIG_FUTEX=y +CONFIG_EPOLL=y +CONFIG_SIGNALFD=y +CONFIG_TIMERFD=y +CONFIG_EVENTFD=y +CONFIG_SHMEM=y +CONFIG_AIO=y +CONFIG_EMBEDDED=y +CONFIG_HAVE_PERF_EVENTS=y +CONFIG_PERF_USE_VMALLOC=y + +# +# Kernel Performance Events And Counters +# +CONFIG_PERF_EVENTS=y +# CONFIG_PERF_COUNTERS is not set +# CONFIG_DEBUG_PERF_USE_VMALLOC is not set +CONFIG_VM_EVENT_COUNTERS=y +CONFIG_PCI_QUIRKS=y +CONFIG_SLUB_DEBUG=y +# CONFIG_COMPAT_BRK is not set +# CONFIG_SLAB is not set +CONFIG_SLUB=y +# CONFIG_SLOB is not set +CONFIG_PROFILING=y +CONFIG_TRACEPOINTS=y +# CONFIG_OPROFILE is not set +CONFIG_HAVE_OPROFILE=y +# CONFIG_KPROBES is not set +# CONFIG_JUMP_LABEL is not set +CONFIG_HAVE_KPROBES=y +CONFIG_HAVE_KRETPROBES=y +CONFIG_HAVE_DMA_ATTRS=y +CONFIG_HAVE_DMA_CONTIGUOUS=y +CONFIG_USE_GENERIC_SMP_HELPERS=y +CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y +CONFIG_HAVE_CLK=y +CONFIG_HAVE_DMA_API_DEBUG=y +CONFIG_HAVE_HW_BRKPT_RESERVED_RW_ACCESS=y +CONFIG_HAVE_ARCH_JUMP_LABEL=y + +# +# GCOV-based kernel profiling +# +# CONFIG_GCOV_KERNEL is not set +CONFIG_HAVE_GENERIC_DMA_COHERENT=y +CONFIG_SLABINFO=y +CONFIG_RT_MUTEXES=y +CONFIG_BASE_SMALL=0 +CONFIG_MODULES=y +CONFIG_MODULE_FORCE_LOAD=y +CONFIG_MODULE_UNLOAD=y +CONFIG_MODULE_FORCE_UNLOAD=y +CONFIG_MODVERSIONS=y +# CONFIG_MODULE_SRCVERSION_ALL is not set +CONFIG_STOP_MACHINE=y +CONFIG_BLOCK=y +CONFIG_LBDAF=y +CONFIG_BLK_DEV_BSG=y +# CONFIG_BLK_DEV_BSGLIB is not set +# CONFIG_BLK_DEV_INTEGRITY is not set + +# +# Partition Types +# +CONFIG_PARTITION_ADVANCED=y +# CONFIG_ACORN_PARTITION is not set +# CONFIG_OSF_PARTITION is not set +# CONFIG_AMIGA_PARTITION is not set +# CONFIG_ATARI_PARTITION is not set +# CONFIG_MAC_PARTITION is not set +CONFIG_MSDOS_PARTITION=y +# CONFIG_BSD_DISKLABEL is not set +# CONFIG_MINIX_SUBPARTITION is not set +# CONFIG_SOLARIS_X86_PARTITION is not set +# CONFIG_UNIXWARE_DISKLABEL is not set +# CONFIG_LDM_PARTITION is not set +# CONFIG_SGI_PARTITION is not set +# CONFIG_ULTRIX_PARTITION is not set +# CONFIG_SUN_PARTITION is not set +# CONFIG_KARMA_PARTITION is not set +CONFIG_EFI_PARTITION=y +# CONFIG_SYSV68_PARTITION is not set + +# +# IO Schedulers +# +CONFIG_IOSCHED_NOOP=y +# CONFIG_IOSCHED_TEST is not set +CONFIG_IOSCHED_DEADLINE=y +CONFIG_IOSCHED_CFQ=y +CONFIG_DEFAULT_DEADLINE=y +# CONFIG_DEFAULT_CFQ is not set +# CONFIG_DEFAULT_NOOP is not set +CONFIG_DEFAULT_IOSCHED="deadline" +CONFIG_PADATA=y +# CONFIG_INLINE_SPIN_TRYLOCK is not set +# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK is not set +# CONFIG_INLINE_SPIN_LOCK_BH is not set +# CONFIG_INLINE_SPIN_LOCK_IRQ is not set +# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set +CONFIG_UNINLINE_SPIN_UNLOCK=y +# CONFIG_INLINE_SPIN_UNLOCK_BH is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set +# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_READ_TRYLOCK is not set +# CONFIG_INLINE_READ_LOCK is not set +# CONFIG_INLINE_READ_LOCK_BH is not set +# CONFIG_INLINE_READ_LOCK_IRQ is not set +# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set +# CONFIG_INLINE_READ_UNLOCK is not set +# CONFIG_INLINE_READ_UNLOCK_BH is not set +# CONFIG_INLINE_READ_UNLOCK_IRQ is not set +# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set +# CONFIG_INLINE_WRITE_TRYLOCK is not set +# CONFIG_INLINE_WRITE_LOCK is not set +# CONFIG_INLINE_WRITE_LOCK_BH is not set +# CONFIG_INLINE_WRITE_LOCK_IRQ is not set +# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set +# CONFIG_INLINE_WRITE_UNLOCK is not set +# CONFIG_INLINE_WRITE_UNLOCK_BH is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set +# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set +CONFIG_MUTEX_SPIN_ON_OWNER=y +CONFIG_FREEZER=y + +# +# System Type +# +CONFIG_MMU=y +# CONFIG_ARCH_INTEGRATOR is not set +# CONFIG_ARCH_REALVIEW is not set +# CONFIG_ARCH_VERSATILE is not set +# CONFIG_ARCH_VEXPRESS is not set +# CONFIG_ARCH_AT91 is not set +# CONFIG_ARCH_BCMRING is not set +# CONFIG_ARCH_HIGHBANK is not set +# CONFIG_ARCH_CLPS711X is not set +# CONFIG_ARCH_CNS3XXX is not set +# CONFIG_ARCH_GEMINI is not set +# CONFIG_ARCH_PRIMA2 is not set +# CONFIG_ARCH_EBSA110 is not set +# CONFIG_ARCH_EP93XX is not set +# CONFIG_ARCH_FOOTBRIDGE is not set +# CONFIG_ARCH_MXC is not set +# CONFIG_ARCH_MXS is not set +# CONFIG_ARCH_NETX is not set +# CONFIG_ARCH_H720X is not set +# CONFIG_ARCH_IOP13XX is not set +# CONFIG_ARCH_IOP32X is not set +# CONFIG_ARCH_IOP33X is not set +# CONFIG_ARCH_IXP23XX is not set +# CONFIG_ARCH_IXP2000 is not set +# CONFIG_ARCH_IXP4XX is not set +# CONFIG_ARCH_DOVE is not set +# CONFIG_ARCH_KIRKWOOD is not set +# CONFIG_ARCH_LPC32XX is not set +# CONFIG_ARCH_MV78XX0 is not set +# CONFIG_ARCH_ORION5X is not set +# CONFIG_ARCH_MMP is not set +# CONFIG_ARCH_KS8695 is not set +# CONFIG_ARCH_W90X900 is not set +# CONFIG_ARCH_TEGRA is not set +# CONFIG_ARCH_PICOXCELL is not set +# CONFIG_ARCH_PNX4008 is not set +# CONFIG_ARCH_PXA is not set +CONFIG_ARCH_MSM=y +# CONFIG_ARCH_SHMOBILE is not set +# CONFIG_ARCH_RPC is not set +# CONFIG_ARCH_SA1100 is not set +# CONFIG_ARCH_S3C24XX is not set +# CONFIG_ARCH_S3C64XX is not set +# CONFIG_ARCH_S5P64X0 is not set +# CONFIG_ARCH_S5PC100 is not set +# CONFIG_ARCH_S5PV210 is not set +# CONFIG_ARCH_EXYNOS is not set +# CONFIG_ARCH_SHARK is not set +# CONFIG_ARCH_U300 is not set +# CONFIG_ARCH_U8500 is not set +# CONFIG_ARCH_NOMADIK is not set +# CONFIG_ARCH_DAVINCI is not set +# CONFIG_ARCH_OMAP is not set +# CONFIG_PLAT_SPEAR is not set +# CONFIG_ARCH_VT8500 is not set +# CONFIG_ARCH_ZYNQ is not set +# CONFIG_GPIO_PCA953X is not set +# CONFIG_KEYBOARD_GPIO_POLLED is not set + +# +# MSM SoC Type +# +# CONFIG_ARCH_MSM7X01A is not set +# CONFIG_ARCH_MSM7X25 is not set +# CONFIG_ARCH_MSM7X27 is not set +# CONFIG_ARCH_MSM7X30 is not set +# CONFIG_ARCH_QSD8X50 is not set +# CONFIG_ARCH_MSM8X60 is not set +CONFIG_ARCH_MSM8960=y +CONFIG_ARCH_MSM8930=y +CONFIG_ARCH_APQ8064=y +# CONFIG_ARCH_MSM8974 is not set +# CONFIG_ARCH_MPQ8092 is not set +# CONFIG_ARCH_MSM8226 is not set +# CONFIG_ARCH_FSM9XXX is not set +# CONFIG_ARCH_MSM9615 is not set +# CONFIG_ARCH_MSM8625 is not set +# CONFIG_ARCH_MSM9625 is not set +CONFIG_MSM_SOC_REV_NONE=y +# CONFIG_MSM_SOC_REV_A is not set +CONFIG_MSM_KRAIT_TBB_ABORT_HANDLER=y +CONFIG_ARCH_MSM_KRAIT=y +CONFIG_MSM_SMP=y +CONFIG_ARCH_MSM_KRAITMP=y +CONFIG_MSM_KRAIT_WFE_FIXUP=y +CONFIG_MSM_RPM=y +# CONFIG_MSM_RPM_SMD is not set +CONFIG_MSM_MPM=y +CONFIG_MSM_XO=y +CONFIG_MSM_REMOTE_SPINLOCK_SFPB=y + +# +# MSM Board Selection +# +# CONFIG_MACH_MSM8960_CDP is not set +# CONFIG_MACH_MSM8960_MTP is not set +# CONFIG_MACH_MSM8960_FLUID is not set +# CONFIG_MACH_MSM8960_LIQUID is not set +# CONFIG_MACH_MSM8930_CDP is not set +# CONFIG_MACH_MSM8930_MTP is not set +# CONFIG_MACH_MSM8930_FLUID is not set +# CONFIG_MACH_MSM8627_CDP is not set +# CONFIG_MACH_MSM8627_MTP is not set +# CONFIG_MACH_APQ8064_CDP is not set +# CONFIG_MACH_APQ8064_MTP is not set +# CONFIG_MACH_APQ8064_LIQUID is not set +# CONFIG_MACH_MPQ8064_CDP is not set +# CONFIG_MACH_MPQ8064_HRD is not set +# CONFIG_MACH_MPQ8064_DTV is not set +# CONFIG_MACH_MSM_DUMMY is not set + +# +# LGE Board Selection +# +CONFIG_BOARD_HEADER_FILE="" +# CONFIG_MACH_APQ8064_MAKO is not set +# CONFIG_MACH_LGE_DUMMY is not set + +# +# LGE Specific Patches +# +# CONFIG_LGE_CRASH_HANDLER is not set +CONFIG_MACH_ASUSTEK=y + +# +# ASUSTek Board Selection +# +CONFIG_MACH_APQ8064_FLO=y +CONFIG_MACH_APQ8064_DEB=y +# CONFIG_MACH_ASUSTEK_DUMMY is not set + +# +# ASUSTek Specific Feature +# +CONFIG_ASUSTEK_PCBID=y +CONFIG_ASUSTEK_KEYPAD=y +# CONFIG_MSM_STACKED_MEMORY is not set +CONFIG_KERNEL_MSM_CONTIG_MEM_REGION=y +CONFIG_MSM_AMSS_VERSION=6225 +# CONFIG_MSM_AMSS_VERSION_6210 is not set +# CONFIG_MSM_AMSS_VERSION_6220 is not set +CONFIG_MSM_AMSS_VERSION_6225=y +CONFIG_MSM7X00A_USE_GP_TIMER=y +# CONFIG_MSM7X00A_USE_DG_TIMER is not set +CONFIG_MSM7X00A_SLEEP_MODE_POWER_COLLAPSE_SUSPEND=y +# CONFIG_MSM7X00A_SLEEP_MODE_POWER_COLLAPSE is not set +# CONFIG_MSM7X00A_SLEEP_MODE_APPS_SLEEP is not set +# CONFIG_MSM7X00A_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT is not set +# CONFIG_MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT is not set +CONFIG_MSM7X00A_SLEEP_MODE=0 +# CONFIG_MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE_SUSPEND is not set +CONFIG_MSM7X00A_IDLE_SLEEP_MODE_POWER_COLLAPSE=y +# CONFIG_MSM7X00A_IDLE_SLEEP_MODE_APPS_SLEEP is not set +# CONFIG_MSM7X00A_IDLE_SLEEP_MODE_RAMP_DOWN_AND_WAIT_FOR_INTERRUPT is not set +# CONFIG_MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT is not set +CONFIG_MSM7X00A_IDLE_SLEEP_MODE=1 +CONFIG_MSM7X00A_IDLE_SLEEP_MIN_TIME=20000000 +CONFIG_MSM7X00A_IDLE_SPIN_TIME=80000 +CONFIG_MSM_IDLE_STATS=y +CONFIG_MSM_IDLE_STATS_FIRST_BUCKET=62500 +CONFIG_MSM_IDLE_STATS_BUCKET_SHIFT=2 +CONFIG_MSM_IDLE_STATS_BUCKET_COUNT=10 +CONFIG_MSM_SUSPEND_STATS_FIRST_BUCKET=1000000000 +CONFIG_CPU_HAS_L2_PMU=y +# CONFIG_HTC_HEADSET is not set +# CONFIG_HTC_PWRSINK is not set +# CONFIG_MSM_FIQ_SUPPORT is not set +# CONFIG_MSM_SERIAL_DEBUGGER is not set +# CONFIG_MSM_PROC_COMM is not set +CONFIG_MSM_SMD=y +# CONFIG_MSM_SMD_PKG3 is not set +CONFIG_MSM_SMD_PKG4=y +CONFIG_MSM_PCIE=y +CONFIG_MSM_SMD_DEBUG=y +CONFIG_MSM_BAM_DMUX=y +CONFIG_MSM_N_WAY_SMD=y +CONFIG_MSM_N_WAY_SMSM=y +CONFIG_MSM_RESET_MODEM=y +CONFIG_MSM_SMD_LOGGING=y +CONFIG_MSM_IPC_LOGGING=y +CONFIG_MSM_SMD_NMEA=y +CONFIG_MSM_HSIC_TTY=y +CONFIG_MSM_SMD_TTY=y +CONFIG_MSM_SMD_QMI=y +CONFIG_MSM_SMD_PKT=y +CONFIG_MSM_DSPS=y +# CONFIG_MSM_ONCRPCROUTER is not set +CONFIG_MSM_IPC_ROUTER=y +CONFIG_MSM_IPC_ROUTER_SMD_XPRT=y +CONFIG_MSM_IPC_ROUTER_SECURITY=y +# CONFIG_MSM_DALRPC is not set +# CONFIG_MSM_CPU_FREQ_SET_MIN_MAX is not set +CONFIG_MSM_AVS_HW=y +# CONFIG_MSM_HW3D is not set +CONFIG_AMSS_7X25_VERSION_2009=y +# CONFIG_AMSS_7X25_VERSION_2008 is not set +CONFIG_RTAC=y +# CONFIG_MSM_VREG_SWITCH_INVERTED is not set +CONFIG_MSM_DMA_TEST=y +# CONFIG_WIFI_CONTROL_FUNC is not set +CONFIG_MSM_SLEEP_TIME_OVERRIDE=y +# CONFIG_MSM_MEMORY_LOW_POWER_MODE is not set +CONFIG_MSM_PM_TIMEOUT_HALT=y +# CONFIG_MSM_PM_TIMEOUT_RESET_MODEM is not set +# CONFIG_MSM_PM_TIMEOUT_RESET_CHIP is not set +CONFIG_MSM_IDLE_WAIT_ON_MODEM=0 +CONFIG_MSM_RPM_REGULATOR=y +CONFIG_MSM_SUBSYSTEM_RESTART=y +CONFIG_MSM_SYSMON_COMM=y +CONFIG_MSM_PIL=y +# CONFIG_MSM_PIL_MODEM is not set +# CONFIG_MSM_PIL_QDSP6V3 is not set +CONFIG_MSM_PIL_QDSP6V4=y +# CONFIG_MSM_PIL_LPASS_QDSP6V5 is not set +# CONFIG_MSM_PIL_MSS_QDSP6V5 is not set +CONFIG_MSM_PIL_RIVA=y +CONFIG_MSM_PIL_TZAPPS=y +CONFIG_MSM_PIL_DSPS=y +CONFIG_MSM_PIL_VIDC=y +# CONFIG_MSM_PIL_VENUS is not set +CONFIG_MSM_PIL_GSS=y +# CONFIG_MSM_PIL_PRONTO is not set +CONFIG_MSM_SCM=y +CONFIG_MSM_MODEM_8960=y +CONFIG_MSM_LPASS_8960=y +CONFIG_MSM_WCNSS_SSR_8960=y +CONFIG_MSM_GSS_SSR_8064=y +CONFIG_MSM_BUSPM_DEV=y +CONFIG_MSM_TZ_LOG=y +CONFIG_MSM_RPM_LOG=y +CONFIG_MSM_RPM_STATS_LOG=y +CONFIG_MSM_RPM_RBCPR_STATS_LOG=y +CONFIG_MSM_DIRECT_SCLK_ACCESS=y +CONFIG_IOMMU_API=y +CONFIG_MSM_GPIOMUX=y +CONFIG_MSM_NATIVE_RESTART=y +CONFIG_MSM_PM8X60=y +CONFIG_MSM_EVENT_TIMER=y +CONFIG_MSM_BUS_SCALING=y +CONFIG_MSM_BUS_RPM_MULTI_TIER_ENABLED=y +CONFIG_MSM_WATCHDOG=y +# CONFIG_MSM_WATCHDOG_V2 is not set +# CONFIG_MSM_MEMORY_DUMP is not set +CONFIG_MSM_DLOAD_MODE=y +# CONFIG_MSM_JTAG is not set +# CONFIG_MSM_JTAG_MM is not set +# CONFIG_MSM_SLEEP_STATS_DEVICE is not set +CONFIG_MSM_RUN_QUEUE_STATS=y +# CONFIG_MSM_STANDALONE_POWER_COLLAPSE is not set +# CONFIG_MSM_GSBI9_UART is not set +CONFIG_MSM_SHOW_RESUME_IRQ=y +# CONFIG_MSM_FAKE_BATTERY is not set +CONFIG_MSM_QDSP6_APR=y +# CONFIG_MSM_QDSP6_APRV2 is not set +CONFIG_MSM_QDSP6_CODECS=y +# CONFIG_MSM_QDSP6V2_CODECS is not set +CONFIG_MSM_AUDIO_QDSP6=y +# CONFIG_MSM_AUDIO_QDSP6V2 is not set +CONFIG_MSM_ADSP_LOADER=y +CONFIG_MSM_ULTRASOUND=y +# CONFIG_MSM_SPM_V1 is not set +CONFIG_MSM_SPM_V2=y +CONFIG_MSM_L2_SPM=y +CONFIG_MSM_MULTIMEDIA_USE_ION=y +# CONFIG_MSM_OCMEM is not set +# CONFIG_MSM_RTB is not set +CONFIG_MSM_EBI_ERP=y +CONFIG_MSM_CACHE_ERP=y +CONFIG_MSM_L1_ERR_PANIC=y +CONFIG_MSM_L1_ERR_LOG=y +# CONFIG_MSM_L2_ERP_PRINT_ACCESS_ERRORS is not set +# CONFIG_MSM_L2_ERP_1BIT_PANIC is not set +CONFIG_MSM_L2_ERP_2BIT_PANIC=y +CONFIG_MSM_DCVS=y +# CONFIG_MSM_CPR is not set +CONFIG_HAVE_ARCH_HAS_CURRENT_TIMER=y +CONFIG_MSM_CACHE_DUMP=y +CONFIG_MSM_CACHE_DUMP_ON_PANIC=y +CONFIG_MSM_HSIC_SYSMON=y +# CONFIG_MSM_HSIC_SYSMON_TEST is not set +CONFIG_MSM_CPU_PWRCTL=y + +# +# System MMU +# + +# +# Processor Type +# +CONFIG_CPU_V7=y +CONFIG_CPU_32v6K=y +CONFIG_CPU_32v7=y +CONFIG_CPU_ABRT_EV7=y +CONFIG_CPU_PABRT_V7=y +CONFIG_CPU_CACHE_V7=y +CONFIG_CPU_CACHE_VIPT=y +CONFIG_CPU_COPY_V6=y +CONFIG_CPU_TLB_V7=y +CONFIG_CPU_HAS_ASID=y +CONFIG_CPU_CP15=y +CONFIG_CPU_CP15_MMU=y + +# +# Processor Features +# +# CONFIG_ARM_LPAE is not set +# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set +CONFIG_ARM_THUMB=y +# CONFIG_ARM_THUMBEE is not set +CONFIG_SWP_EMULATE=y +# CONFIG_CPU_ICACHE_DISABLE is not set +# CONFIG_CPU_DCACHE_DISABLE is not set +# CONFIG_CPU_BPREDICT_DISABLE is not set +# CONFIG_CACHE_L2X0 is not set +CONFIG_ARM_L1_CACHE_SHIFT_6=y +CONFIG_ARM_L1_CACHE_SHIFT=6 +CONFIG_ARM_DMA_MEM_BUFFERABLE=y +CONFIG_STRICT_MEMORY_RWX=y +CONFIG_ARM_NR_BANKS=8 +# CONFIG_RESERVE_FIRST_PAGE is not set +CONFIG_CPU_HAS_PMU=y +CONFIG_MULTI_IRQ_HANDLER=y +# CONFIG_ARM_ERRATA_430973 is not set +# CONFIG_ARM_ERRATA_458693 is not set +# CONFIG_ARM_ERRATA_460075 is not set +# CONFIG_ARM_ERRATA_742230 is not set +# CONFIG_ARM_ERRATA_742231 is not set +# CONFIG_ARM_ERRATA_720789 is not set +# CONFIG_ARM_ERRATA_743622 is not set +# CONFIG_ARM_ERRATA_751472 is not set +# CONFIG_ARM_ERRATA_754322 is not set +# CONFIG_ARM_ERRATA_754327 is not set +# CONFIG_ARM_ERRATA_764369 is not set +# CONFIG_KSAPI is not set +CONFIG_ARM_GIC=y +# CONFIG_FIQ_DEBUGGER is not set + +# +# Bus support +# +CONFIG_PCI=y +CONFIG_PCI_SYSCALL=y +CONFIG_ARCH_SUPPORTS_MSI=y +CONFIG_PCI_MSI=y +# CONFIG_PCI_DEBUG is not set +# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set +# CONFIG_PCI_STUB is not set +# CONFIG_PCI_IOV is not set +# CONFIG_PCI_PRI is not set +# CONFIG_PCI_PASID is not set +# CONFIG_PCCARD is not set + +# +# Kernel Features +# +CONFIG_TICK_ONESHOT=y +CONFIG_NO_HZ=y +CONFIG_HIGH_RES_TIMERS=y +CONFIG_GENERIC_CLOCKEVENTS_BUILD=y +CONFIG_HAVE_SMP=y +CONFIG_SMP=y +# CONFIG_SMP_ON_UP is not set +CONFIG_ARM_CPU_TOPOLOGY=y +CONFIG_SCHED_MC=y +# CONFIG_SCHED_SMT is not set +CONFIG_HAVE_ARM_SCU=y +# CONFIG_ARM_ARCH_TIMER is not set +CONFIG_VMSPLIT_3G=y +# CONFIG_VMSPLIT_2G is not set +# CONFIG_VMSPLIT_1G is not set +CONFIG_PAGE_OFFSET=0xC0000000 +CONFIG_NR_CPUS=4 +CONFIG_HOTPLUG_CPU=y +CONFIG_LOCAL_TIMERS=y +CONFIG_ARCH_NR_GPIO=0 +# CONFIG_PREEMPT_NONE is not set +# CONFIG_PREEMPT_VOLUNTARY is not set +CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y +CONFIG_HZ=100 +# CONFIG_THUMB2_KERNEL is not set +CONFIG_AEABI=y +CONFIG_OABI_COMPAT=y +CONFIG_ARCH_HAS_HOLES_MEMORYMODEL=y +CONFIG_ARCH_SPARSEMEM_ENABLE=y +CONFIG_ARCH_SPARSEMEM_DEFAULT=y +CONFIG_ARCH_SELECT_MEMORY_MODEL=y +CONFIG_HAVE_ARCH_PFN_VALID=y +CONFIG_HIGHMEM=y +# CONFIG_HIGHPTE is not set +CONFIG_HW_PERF_EVENTS=y +CONFIG_SELECT_MEMORY_MODEL=y +CONFIG_SPARSEMEM_MANUAL=y +CONFIG_SPARSEMEM=y +CONFIG_HAVE_MEMORY_PRESENT=y +CONFIG_SPARSEMEM_EXTREME=y +CONFIG_HAVE_MEMBLOCK=y +CONFIG_SPLIT_PTLOCK_CPUS=4 +CONFIG_COMPACTION=y +CONFIG_MIGRATION=y +# CONFIG_PHYS_ADDR_T_64BIT is not set +CONFIG_ZONE_DMA_FLAG=0 +CONFIG_BOUNCE=y +CONFIG_VIRT_TO_BUS=y +CONFIG_KSM=y +CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 +CONFIG_CLEANCACHE=y +# CONFIG_ARCH_MEMORY_PROBE is not set +# CONFIG_ARCH_MEMORY_REMOVE is not set +# CONFIG_ENABLE_DMM is not set +# CONFIG_FIX_MOVABLE_ZONE is not set +CONFIG_DONT_MAP_HOLE_AFTER_MEMBANK0=y +# CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG is not set +# CONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE is not set +CONFIG_HOLES_IN_ZONE=y +CONFIG_FORCE_MAX_ZONEORDER=11 +CONFIG_ALIGNMENT_TRAP=y +# CONFIG_UACCESS_WITH_MEMCPY is not set +CONFIG_SECCOMP=y +CONFIG_CC_STACKPROTECTOR=y +# CONFIG_DEPRECATED_PARAM_STRUCT is not set +# CONFIG_ARM_FLUSH_CONSOLE_ON_RESTART is not set +CONFIG_CP_ACCESS=y + +# +# Boot options +# +# CONFIG_USE_OF is not set +CONFIG_ZBOOT_ROM_TEXT=0 +CONFIG_ZBOOT_ROM_BSS=0 +CONFIG_CMDLINE="" +# CONFIG_XIP_KERNEL is not set +# CONFIG_KEXEC is not set +# CONFIG_CRASH_DUMP is not set +# CONFIG_AUTO_ZRELADDR is not set + +# +# CPU Power Management +# + +# +# CPU Frequency scaling +# +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_TABLE=y +CONFIG_CPU_FREQ_STAT=y +# CONFIG_CPU_FREQ_STAT_DETAILS is not set +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y +# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set +# CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE is not set +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y +CONFIG_CPU_FREQ_GOV_POWERSAVE=y +CONFIG_CPU_FREQ_GOV_USERSPACE=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_INTERACTIVE=y +# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set + +# +# ARM CPU frequency scaling drivers +# +# CONFIG_ARM_EXYNOS4210_CPUFREQ is not set +# CONFIG_ARM_EXYNOS4X12_CPUFREQ is not set +# CONFIG_ARM_EXYNOS5250_CPUFREQ is not set +CONFIG_CPU_IDLE=y +CONFIG_CPU_IDLE_GOV_LADDER=y +CONFIG_CPU_IDLE_GOV_MENU=y +CONFIG_CPU_FREQ_MSM=y + +# +# Floating point emulation +# + +# +# At least one emulation must be selected +# +# CONFIG_FPE_NWFPE is not set +# CONFIG_FPE_FASTFPE is not set +CONFIG_VFP=y +CONFIG_VFPv3=y +CONFIG_NEON=y + +# +# Userspace binary formats +# +CONFIG_BINFMT_ELF=y +CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y +# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set +CONFIG_HAVE_AOUT=y +CONFIG_BINFMT_AOUT=y +CONFIG_BINFMT_MISC=y + +# +# Power management options +# +CONFIG_SUSPEND=y +CONFIG_SUSPEND_FREEZER=y +CONFIG_HAS_WAKELOCK=y +CONFIG_HAS_EARLYSUSPEND=y +CONFIG_WAKELOCK=y +CONFIG_WAKELOCK_STAT=y +CONFIG_USER_WAKELOCK=y +CONFIG_EARLYSUSPEND=y +# CONFIG_NO_USER_SPACE_SCREEN_ACCESS_CONTROL is not set +# CONFIG_CONSOLE_EARLYSUSPEND is not set +CONFIG_FB_EARLYSUSPEND=y +CONFIG_PM_SLEEP=y +CONFIG_PM_SLEEP_SMP=y +CONFIG_PM_RUNTIME=y +CONFIG_PM=y +CONFIG_PM_DEBUG=y +# CONFIG_PM_ADVANCED_DEBUG is not set +# CONFIG_PM_TEST_SUSPEND is not set +CONFIG_CAN_PM_TRACE=y +# CONFIG_APM_EMULATION is not set +CONFIG_PM_CLK=y +CONFIG_CPU_PM=y +# CONFIG_SUSPEND_TIME is not set +CONFIG_ARCH_SUSPEND_POSSIBLE=y +CONFIG_ARM_CPU_SUSPEND=y +CONFIG_NET=y + +# +# Networking options +# +CONFIG_PACKET=y +CONFIG_UNIX=y +# CONFIG_UNIX_DIAG is not set +CONFIG_XFRM=y +CONFIG_XFRM_USER=m +# CONFIG_XFRM_SUB_POLICY is not set +# CONFIG_XFRM_MIGRATE is not set +# CONFIG_XFRM_STATISTICS is not set +CONFIG_XFRM_IPCOMP=y +CONFIG_NET_KEY=y +# CONFIG_NET_KEY_MIGRATE is not set +CONFIG_INET=y +CONFIG_IP_MULTICAST=y +CONFIG_IP_ADVANCED_ROUTER=y +# CONFIG_IP_FIB_TRIE_STATS is not set +CONFIG_IP_MULTIPLE_TABLES=y +# CONFIG_IP_ROUTE_MULTIPATH is not set +CONFIG_IP_ROUTE_VERBOSE=y +CONFIG_IP_ROUTE_CLASSID=y +CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y +# CONFIG_IP_PNP_BOOTP is not set +# CONFIG_IP_PNP_RARP is not set +# CONFIG_NET_IPIP is not set +# CONFIG_NET_IPGRE_DEMUX is not set +# CONFIG_IP_MROUTE is not set +# CONFIG_ARPD is not set +CONFIG_SYN_COOKIES=y +CONFIG_INET_AH=m +CONFIG_INET_ESP=m +CONFIG_INET_IPCOMP=m +CONFIG_INET_XFRM_TUNNEL=m +CONFIG_INET_TUNNEL=y +CONFIG_INET_XFRM_MODE_TRANSPORT=m +CONFIG_INET_XFRM_MODE_TUNNEL=m +CONFIG_INET_XFRM_MODE_BEET=m +# CONFIG_INET_LRO is not set +CONFIG_INET_DIAG=y +CONFIG_INET_TCP_DIAG=y +# CONFIG_INET_UDP_DIAG is not set +# CONFIG_TCP_CONG_ADVANCED is not set +CONFIG_TCP_CONG_CUBIC=y +CONFIG_DEFAULT_TCP_CONG="cubic" +# CONFIG_TCP_MD5SIG is not set +CONFIG_IPV6=y +CONFIG_IPV6_PRIVACY=y +CONFIG_IPV6_ROUTER_PREF=y +CONFIG_IPV6_ROUTE_INFO=y +CONFIG_IPV6_OPTIMISTIC_DAD=y +CONFIG_INET6_AH=y +CONFIG_INET6_ESP=y +CONFIG_INET6_IPCOMP=y +CONFIG_IPV6_MIP6=y +CONFIG_INET6_XFRM_TUNNEL=y +CONFIG_INET6_TUNNEL=y +CONFIG_INET6_XFRM_MODE_TRANSPORT=y +CONFIG_INET6_XFRM_MODE_TUNNEL=y +CONFIG_INET6_XFRM_MODE_BEET=y +CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=y +CONFIG_IPV6_SIT=y +# CONFIG_IPV6_SIT_6RD is not set +CONFIG_IPV6_NDISC_NODETYPE=y +# CONFIG_IPV6_TUNNEL is not set +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_IPV6_SUBTREES=y +# CONFIG_IPV6_MROUTE is not set +CONFIG_NETLABEL=y +# CONFIG_ANDROID_PARANOID_NETWORK is not set +CONFIG_NET_ACTIVITY_STATS=y +CONFIG_NETWORK_SECMARK=y +# CONFIG_NETWORK_PHY_TIMESTAMPING is not set +CONFIG_NETFILTER=y +# CONFIG_NETFILTER_DEBUG is not set +CONFIG_NETFILTER_ADVANCED=y +# CONFIG_BRIDGE_NETFILTER is not set + +# +# Core Netfilter Configuration +# +CONFIG_NETFILTER_NETLINK=y +CONFIG_NETFILTER_NETLINK_ACCT=m +CONFIG_NETFILTER_NETLINK_QUEUE=m +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NF_CONNTRACK=y +CONFIG_NF_CONNTRACK_MARK=y +CONFIG_NF_CONNTRACK_SECMARK=y +# CONFIG_NF_CONNTRACK_ZONES is not set +CONFIG_NF_CONNTRACK_PROCFS=y +CONFIG_NF_CONNTRACK_EVENTS=y +# CONFIG_NF_CONNTRACK_TIMEOUT is not set +# CONFIG_NF_CONNTRACK_TIMESTAMP is not set +CONFIG_NF_CT_PROTO_DCCP=y +CONFIG_NF_CT_PROTO_GRE=y +CONFIG_NF_CT_PROTO_SCTP=y +CONFIG_NF_CT_PROTO_UDPLITE=y +CONFIG_NF_CONNTRACK_AMANDA=y +CONFIG_NF_CONNTRACK_FTP=y +CONFIG_NF_CONNTRACK_H323=y +CONFIG_NF_CONNTRACK_IRC=y +CONFIG_NF_CONNTRACK_BROADCAST=y +CONFIG_NF_CONNTRACK_NETBIOS_NS=y +# CONFIG_NF_CONNTRACK_SNMP is not set +CONFIG_NF_CONNTRACK_PPTP=y +CONFIG_NF_CONNTRACK_SANE=y +# CONFIG_NF_CONNTRACK_SIP is not set +CONFIG_NF_CONNTRACK_TFTP=y +CONFIG_NF_CT_NETLINK=y +# CONFIG_NF_CT_NETLINK_TIMEOUT is not set +CONFIG_NETFILTER_TPROXY=m +CONFIG_NETFILTER_XTABLES=y + +# +# Xtables combined modules +# +CONFIG_NETFILTER_XT_MARK=m +CONFIG_NETFILTER_XT_CONNMARK=m + +# +# Xtables targets +# +CONFIG_NETFILTER_XT_TARGET_AUDIT=m +CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m +CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m +CONFIG_NETFILTER_XT_TARGET_CONNMARK=m +CONFIG_NETFILTER_XT_TARGET_CONNSECMARK=m +CONFIG_NETFILTER_XT_TARGET_CT=m +CONFIG_NETFILTER_XT_TARGET_DSCP=m +CONFIG_NETFILTER_XT_TARGET_HL=y +CONFIG_NETFILTER_XT_TARGET_IDLETIMER=m +CONFIG_NETFILTER_XT_TARGET_LED=m +CONFIG_NETFILTER_XT_TARGET_LOG=m +CONFIG_NETFILTER_XT_TARGET_MARK=m +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m +CONFIG_NETFILTER_XT_TARGET_NOTRACK=m +CONFIG_NETFILTER_XT_TARGET_RATEEST=m +CONFIG_NETFILTER_XT_TARGET_TEE=m +CONFIG_NETFILTER_XT_TARGET_TPROXY=m +CONFIG_NETFILTER_XT_TARGET_TRACE=m +CONFIG_NETFILTER_XT_TARGET_SECMARK=m +CONFIG_NETFILTER_XT_TARGET_TCPMSS=m +CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP=m + +# +# Xtables matches +# +CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m +CONFIG_NETFILTER_XT_MATCH_CLUSTER=m +CONFIG_NETFILTER_XT_MATCH_COMMENT=m +# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set +CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m +CONFIG_NETFILTER_XT_MATCH_CONNMARK=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m +CONFIG_NETFILTER_XT_MATCH_CPU=m +CONFIG_NETFILTER_XT_MATCH_DCCP=m +CONFIG_NETFILTER_XT_MATCH_DEVGROUP=m +CONFIG_NETFILTER_XT_MATCH_DSCP=m +CONFIG_NETFILTER_XT_MATCH_ECN=y +CONFIG_NETFILTER_XT_MATCH_ESP=m +CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m +CONFIG_NETFILTER_XT_MATCH_HELPER=m +CONFIG_NETFILTER_XT_MATCH_HL=y +CONFIG_NETFILTER_XT_MATCH_IPRANGE=m +CONFIG_NETFILTER_XT_MATCH_LENGTH=m +CONFIG_NETFILTER_XT_MATCH_LIMIT=m +CONFIG_NETFILTER_XT_MATCH_MAC=m +CONFIG_NETFILTER_XT_MATCH_MARK=m +CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m +CONFIG_NETFILTER_XT_MATCH_NFACCT=m +CONFIG_NETFILTER_XT_MATCH_OSF=m +CONFIG_NETFILTER_XT_MATCH_OWNER=m +CONFIG_NETFILTER_XT_MATCH_POLICY=m +CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m +CONFIG_NETFILTER_XT_MATCH_QUOTA=m +CONFIG_NETFILTER_XT_MATCH_QUOTA2=m +CONFIG_NETFILTER_XT_MATCH_RATEEST=m +CONFIG_NETFILTER_XT_MATCH_REALM=m +CONFIG_NETFILTER_XT_MATCH_RECENT=m +CONFIG_NETFILTER_XT_MATCH_SCTP=m +CONFIG_NETFILTER_XT_MATCH_SOCKET=m +CONFIG_NETFILTER_XT_MATCH_STATE=m +CONFIG_NETFILTER_XT_MATCH_STATISTIC=m +CONFIG_NETFILTER_XT_MATCH_STRING=m +CONFIG_NETFILTER_XT_MATCH_TCPMSS=m +CONFIG_NETFILTER_XT_MATCH_TIME=m +CONFIG_NETFILTER_XT_MATCH_U32=m +# CONFIG_IP_SET is not set +# CONFIG_IP_VS is not set + +# +# IP: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV4=y +CONFIG_NF_CONNTRACK_IPV4=y +CONFIG_NF_CONNTRACK_PROC_COMPAT=y +CONFIG_IP_NF_QUEUE=y +CONFIG_IP_NF_IPTABLES=y +CONFIG_IP_NF_MATCH_AH=y +CONFIG_IP_NF_MATCH_ECN=y +CONFIG_IP_NF_MATCH_RPFILTER=y +CONFIG_IP_NF_MATCH_TTL=y +CONFIG_IP_NF_FILTER=y +CONFIG_IP_NF_TARGET_REJECT=y +CONFIG_IP_NF_TARGET_REJECT_SKERR=y +CONFIG_IP_NF_TARGET_ULOG=y +CONFIG_NF_NAT=y +CONFIG_NF_NAT_NEEDED=y +CONFIG_IP_NF_TARGET_MASQUERADE=y +CONFIG_IP_NF_TARGET_NETMAP=y +CONFIG_IP_NF_TARGET_REDIRECT=y +CONFIG_NF_NAT_PROTO_DCCP=y +CONFIG_NF_NAT_PROTO_GRE=y +CONFIG_NF_NAT_PROTO_UDPLITE=y +CONFIG_NF_NAT_PROTO_SCTP=y +CONFIG_NF_NAT_FTP=y +CONFIG_NF_NAT_IRC=y +CONFIG_NF_NAT_TFTP=y +CONFIG_NF_NAT_AMANDA=y +CONFIG_NF_NAT_PPTP=y +CONFIG_NF_NAT_H323=y +# CONFIG_NF_NAT_SIP is not set +CONFIG_IP_NF_MANGLE=y +CONFIG_IP_NF_TARGET_CLUSTERIP=y +CONFIG_IP_NF_TARGET_ECN=y +CONFIG_IP_NF_TARGET_TTL=y +CONFIG_IP_NF_RAW=y +CONFIG_IP_NF_SECURITY=y +CONFIG_IP_NF_ARPTABLES=y +CONFIG_IP_NF_ARPFILTER=y +CONFIG_IP_NF_ARP_MANGLE=y + +# +# IPv6: Netfilter Configuration +# +CONFIG_NF_DEFRAG_IPV6=y +CONFIG_NF_CONNTRACK_IPV6=y +CONFIG_IP6_NF_QUEUE=y +CONFIG_IP6_NF_IPTABLES=y +CONFIG_IP6_NF_MATCH_AH=y +CONFIG_IP6_NF_MATCH_EUI64=y +CONFIG_IP6_NF_MATCH_FRAG=y +CONFIG_IP6_NF_MATCH_OPTS=y +CONFIG_IP6_NF_MATCH_HL=y +CONFIG_IP6_NF_MATCH_IPV6HEADER=y +CONFIG_IP6_NF_MATCH_MH=y +CONFIG_IP6_NF_MATCH_RPFILTER=y +CONFIG_IP6_NF_MATCH_RT=y +# CONFIG_IP6_NF_TARGET_HL is not set +CONFIG_IP6_NF_FILTER=y +CONFIG_IP6_NF_TARGET_REJECT=y +CONFIG_IP6_NF_TARGET_REJECT_SKERR=y +CONFIG_IP6_NF_MANGLE=y +CONFIG_IP6_NF_RAW=y +CONFIG_IP6_NF_SECURITY=y +# CONFIG_BRIDGE_NF_EBTABLES is not set +# CONFIG_IP_DCCP is not set +# CONFIG_IP_SCTP is not set +# CONFIG_RDS is not set +# CONFIG_TIPC is not set +# CONFIG_ATM is not set +CONFIG_L2TP=y +# CONFIG_L2TP_DEBUGFS is not set +# CONFIG_L2TP_V3 is not set +CONFIG_STP=y +CONFIG_BRIDGE=y +# CONFIG_BRIDGE_IGMP_SNOOPING is not set +# CONFIG_NET_DSA is not set +# CONFIG_VLAN_8021Q is not set +# CONFIG_DECNET is not set +CONFIG_LLC=y +# CONFIG_LLC2 is not set +# CONFIG_IPX is not set +# CONFIG_ATALK is not set +# CONFIG_X25 is not set +# CONFIG_LAPB is not set +# CONFIG_ECONET is not set +# CONFIG_WAN_ROUTER is not set +# CONFIG_PHONET is not set +# CONFIG_IEEE802154 is not set +CONFIG_NET_SCHED=y + +# +# Queueing/Scheduling +# +# CONFIG_NET_SCH_CBQ is not set +CONFIG_NET_SCH_HTB=y +# CONFIG_NET_SCH_HFSC is not set +CONFIG_NET_SCH_PRIO=y +# CONFIG_NET_SCH_MULTIQ is not set +# CONFIG_NET_SCH_RED is not set +# CONFIG_NET_SCH_SFB is not set +# CONFIG_NET_SCH_SFQ is not set +# CONFIG_NET_SCH_TEQL is not set +# CONFIG_NET_SCH_TBF is not set +# CONFIG_NET_SCH_GRED is not set +# CONFIG_NET_SCH_DSMARK is not set +# CONFIG_NET_SCH_NETEM is not set +# CONFIG_NET_SCH_DRR is not set +# CONFIG_NET_SCH_MQPRIO is not set +# CONFIG_NET_SCH_CHOKE is not set +# CONFIG_NET_SCH_QFQ is not set +# CONFIG_NET_SCH_INGRESS is not set +# CONFIG_NET_SCH_PLUG is not set + +# +# Classification +# +CONFIG_NET_CLS=y +# CONFIG_NET_CLS_BASIC is not set +# CONFIG_NET_CLS_TCINDEX is not set +# CONFIG_NET_CLS_ROUTE4 is not set +CONFIG_NET_CLS_FW=y +CONFIG_NET_CLS_U32=y +# CONFIG_CLS_U32_PERF is not set +CONFIG_CLS_U32_MARK=y +# CONFIG_NET_CLS_RSVP is not set +# CONFIG_NET_CLS_RSVP6 is not set +CONFIG_NET_CLS_FLOW=y +CONFIG_NET_CLS_CGROUP=y +CONFIG_NET_EMATCH=y +CONFIG_NET_EMATCH_STACK=32 +CONFIG_NET_EMATCH_CMP=y +CONFIG_NET_EMATCH_NBYTE=y +CONFIG_NET_EMATCH_U32=y +CONFIG_NET_EMATCH_META=y +CONFIG_NET_EMATCH_TEXT=y +CONFIG_NET_CLS_ACT=y +# CONFIG_NET_ACT_POLICE is not set +# CONFIG_NET_ACT_GACT is not set +# CONFIG_NET_ACT_MIRRED is not set +# CONFIG_NET_ACT_IPT is not set +# CONFIG_NET_ACT_NAT is not set +# CONFIG_NET_ACT_PEDIT is not set +# CONFIG_NET_ACT_SIMP is not set +# CONFIG_NET_ACT_SKBEDIT is not set +# CONFIG_NET_ACT_CSUM is not set +# CONFIG_NET_CLS_IND is not set +CONFIG_NET_SCH_FIFO=y +# CONFIG_DCB is not set +CONFIG_DNS_RESOLVER=y +# CONFIG_BATMAN_ADV is not set +# CONFIG_OPENVSWITCH is not set +CONFIG_RPS=y +CONFIG_RFS_ACCEL=y +CONFIG_XPS=y +# CONFIG_NETPRIO_CGROUP is not set +CONFIG_BQL=y +CONFIG_HAVE_BPF_JIT=y +# CONFIG_BPF_JIT is not set + +# +# Network testing +# +# CONFIG_NET_PKTGEN is not set +# CONFIG_NET_DROP_MONITOR is not set +# CONFIG_HAMRADIO is not set +# CONFIG_CAN is not set +# CONFIG_IRDA is not set +# CONFIG_BT is not set +# CONFIG_AF_RXRPC is not set +CONFIG_FIB_RULES=y +CONFIG_WIRELESS=y +CONFIG_WIRELESS_EXT=y +CONFIG_WEXT_CORE=y +CONFIG_WEXT_PROC=y +CONFIG_WEXT_SPY=y +CONFIG_WEXT_PRIV=y +CONFIG_CFG80211=y +# CONFIG_NL80211_TESTMODE is not set +# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set +# CONFIG_CFG80211_REG_DEBUG is not set +CONFIG_CFG80211_DEFAULT_PS=y +# CONFIG_CFG80211_DEBUGFS is not set +CONFIG_CFG80211_INTERNAL_REGDB=y +# CONFIG_CFG80211_WEXT is not set +# CONFIG_WIRELESS_EXT_SYSFS is not set +# CONFIG_LIB80211 is not set +# CONFIG_CFG80211_ALLOW_RECONNECT is not set +# CONFIG_MAC80211 is not set +# CONFIG_WIMAX is not set +CONFIG_RFKILL=y +CONFIG_RFKILL_PM=y +CONFIG_RFKILL_LEDS=y +# CONFIG_RFKILL_INPUT is not set +# CONFIG_RFKILL_REGULATOR is not set +# CONFIG_RFKILL_GPIO is not set +# CONFIG_NET_9P is not set +# CONFIG_CAIF is not set +# CONFIG_CEPH_LIB is not set +# CONFIG_NFC is not set +CONFIG_BCM2079X=y + +# +# Device Drivers +# + +# +# Generic Driver Options +# +CONFIG_UEVENT_HELPER_PATH="" +CONFIG_DEVTMPFS=y +# CONFIG_DEVTMPFS_MOUNT is not set +CONFIG_STANDALONE=y +CONFIG_PREVENT_FIRMWARE_BUILD=y +CONFIG_FW_LOADER=y +CONFIG_FIRMWARE_IN_KERNEL=y +CONFIG_EXTRA_FIRMWARE="" +# CONFIG_DEBUG_DRIVER is not set +# CONFIG_DEBUG_DEVRES is not set +# CONFIG_SYS_HYPERVISOR is not set +# CONFIG_GENERIC_CPU_DEVICES is not set +CONFIG_REGMAP=y +CONFIG_REGMAP_I2C=y +CONFIG_REGMAP_SPI=y +CONFIG_DMA_SHARED_BUFFER=y +# CONFIG_GENLOCK is not set +CONFIG_SYNC=y +CONFIG_SW_SYNC=y +# CONFIG_SW_SYNC_USER is not set +CONFIG_CMA=y +# CONFIG_CMA_DEBUG is not set + +# +# Default contiguous memory area size: +# +CONFIG_CMA_SIZE_MBYTES=16 +CONFIG_CMA_SIZE_SEL_MBYTES=y +# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set +# CONFIG_CMA_SIZE_SEL_MIN is not set +# CONFIG_CMA_SIZE_SEL_MAX is not set +CONFIG_CMA_ALIGNMENT=8 +CONFIG_CMA_AREAS=7 +# CONFIG_CONNECTOR is not set +# CONFIG_MTD is not set +# CONFIG_PARPORT is not set +CONFIG_BLK_DEV=y +# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set +# CONFIG_BLK_CPQ_DA is not set +# CONFIG_BLK_CPQ_CISS_DA is not set +# CONFIG_BLK_DEV_DAC960 is not set +# CONFIG_BLK_DEV_UMEM is not set +# CONFIG_BLK_DEV_COW_COMMON is not set +CONFIG_BLK_DEV_LOOP=y +CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 +# CONFIG_BLK_DEV_CRYPTOLOOP is not set + +# +# DRBD disabled because PROC_FS, INET or CONNECTOR not selected +# +# CONFIG_BLK_DEV_NBD is not set +# CONFIG_BLK_DEV_NVME is not set +# CONFIG_BLK_DEV_SX8 is not set +# CONFIG_BLK_DEV_UB is not set +CONFIG_BLK_DEV_RAM=y +CONFIG_BLK_DEV_RAM_COUNT=16 +CONFIG_BLK_DEV_RAM_SIZE=4096 +# CONFIG_BLK_DEV_XIP is not set +# CONFIG_CDROM_PKTCDVD is not set +# CONFIG_ATA_OVER_ETH is not set +# CONFIG_MG_DISK is not set +# CONFIG_BLK_DEV_RBD is not set + +# +# Misc devices +# +# CONFIG_SENSORS_LIS3LV02D is not set +# CONFIG_AD525X_DPOT is not set +CONFIG_ANDROID_PMEM=y +# CONFIG_ATMEL_PWM is not set +# CONFIG_PHANTOM is not set +# CONFIG_INTEL_MID_PTI is not set +# CONFIG_SGI_IOC4 is not set +# CONFIG_TIFM_CORE is not set +# CONFIG_ICS932S401 is not set +# CONFIG_ENCLOSURE_SERVICES is not set +# CONFIG_HP_ILO is not set +# CONFIG_APDS9802ALS is not set +# CONFIG_ISL29003 is not set +# CONFIG_ISL29020 is not set +# CONFIG_SENSORS_TSL2550 is not set +# CONFIG_SENSORS_BH1780 is not set +# CONFIG_SENSORS_BH1770 is not set +# CONFIG_SENSORS_APDS990X is not set +# CONFIG_HMC6352 is not set +# CONFIG_SENSORS_AK8975 is not set +# CONFIG_DS1682 is not set +# CONFIG_TI_DAC7512 is not set +CONFIG_UID_STAT=y +# CONFIG_BMP085 is not set +# CONFIG_PCH_PHUB is not set +# CONFIG_USB_SWITCH_FSA9480 is not set +# CONFIG_WL127X_RFKILL is not set +# CONFIG_TSIF is not set +# CONFIG_TSPP is not set +# CONFIG_HAPTIC_ISA1200 is not set +CONFIG_PMIC8XXX_VIBRATOR=y +# CONFIG_ANDROID_VIBRATOR is not set +# CONFIG_TOUCHSENSE_VIBRATOR is not set +# CONFIG_PMIC8XXX_NFC is not set +# CONFIG_PMIC8XXX_UPL is not set +CONFIG_QSEECOM=y +# CONFIG_QFP_FUSE is not set +CONFIG_USB_HSIC_SMSC_HUB=y +# CONFIG_BU52031NVX is not set +# CONFIG_C2PORT is not set + +# +# EEPROM support +# +# CONFIG_EEPROM_AT24 is not set +# CONFIG_EEPROM_AT25 is not set +# CONFIG_EEPROM_LEGACY is not set +# CONFIG_EEPROM_MAX6875 is not set +# CONFIG_EEPROM_93CX6 is not set +# CONFIG_EEPROM_93XX46 is not set +# CONFIG_CB710_CORE is not set +# CONFIG_IWMC3200TOP is not set + +# +# Texas Instruments shared transport line discipline +# +# CONFIG_TI_ST is not set +# CONFIG_SENSORS_LIS3_SPI is not set +# CONFIG_SENSORS_LIS3_I2C is not set + +# +# Altera FPGA firmware download module +# +# CONFIG_ALTERA_STAPL is not set +CONFIG_SLIMPORT_ANX7808=y +CONFIG_HAVE_IDE=y +# CONFIG_IDE is not set + +# +# SCSI device support +# +CONFIG_SCSI_MOD=y +# CONFIG_RAID_ATTRS is not set +CONFIG_SCSI=y +CONFIG_SCSI_DMA=y +CONFIG_SCSI_TGT=y +# CONFIG_SCSI_NETLINK is not set +CONFIG_SCSI_PROC_FS=y + +# +# SCSI support type (disk, tape, CD-ROM) +# +CONFIG_BLK_DEV_SD=y +# CONFIG_CHR_DEV_ST is not set +# CONFIG_CHR_DEV_OSST is not set +# CONFIG_BLK_DEV_SR is not set +CONFIG_CHR_DEV_SG=y +CONFIG_CHR_DEV_SCH=y +CONFIG_SCSI_MULTI_LUN=y +CONFIG_SCSI_CONSTANTS=y +CONFIG_SCSI_LOGGING=y +CONFIG_SCSI_SCAN_ASYNC=y +CONFIG_SCSI_WAIT_SCAN=m + +# +# SCSI Transports +# +# CONFIG_SCSI_SPI_ATTRS is not set +# CONFIG_SCSI_FC_ATTRS is not set +# CONFIG_SCSI_ISCSI_ATTRS is not set +# CONFIG_SCSI_SAS_ATTRS is not set +# CONFIG_SCSI_SAS_LIBSAS is not set +# CONFIG_SCSI_SRP_ATTRS is not set +CONFIG_SCSI_LOWLEVEL=y +# CONFIG_ISCSI_TCP is not set +# CONFIG_ISCSI_BOOT_SYSFS is not set +# CONFIG_SCSI_CXGB3_ISCSI is not set +# CONFIG_SCSI_CXGB4_ISCSI is not set +# CONFIG_SCSI_BNX2_ISCSI is not set +# CONFIG_SCSI_BNX2X_FCOE is not set +# CONFIG_BE2ISCSI is not set +# CONFIG_BLK_DEV_3W_XXXX_RAID is not set +# CONFIG_SCSI_HPSA is not set +# CONFIG_SCSI_3W_9XXX is not set +# CONFIG_SCSI_3W_SAS is not set +# CONFIG_SCSI_ACARD is not set +# CONFIG_SCSI_AACRAID is not set +# CONFIG_SCSI_AIC7XXX is not set +# CONFIG_SCSI_AIC7XXX_OLD is not set +# CONFIG_SCSI_AIC79XX is not set +# CONFIG_SCSI_AIC94XX is not set +# CONFIG_SCSI_MVSAS is not set +# CONFIG_SCSI_MVUMI is not set +# CONFIG_SCSI_DPT_I2O is not set +# CONFIG_SCSI_ADVANSYS is not set +# CONFIG_SCSI_ARCMSR is not set +# CONFIG_MEGARAID_NEWGEN is not set +# CONFIG_MEGARAID_LEGACY is not set +# CONFIG_MEGARAID_SAS is not set +# CONFIG_SCSI_MPT2SAS is not set +# CONFIG_SCSI_UFSHCD is not set +# CONFIG_SCSI_HPTIOP is not set +# CONFIG_LIBFC is not set +# CONFIG_LIBFCOE is not set +# CONFIG_FCOE is not set +# CONFIG_SCSI_DMX3191D is not set +# CONFIG_SCSI_FUTURE_DOMAIN is not set +# CONFIG_SCSI_IPS is not set +# CONFIG_SCSI_INITIO is not set +# CONFIG_SCSI_INIA100 is not set +# CONFIG_SCSI_STEX is not set +# CONFIG_SCSI_SYM53C8XX_2 is not set +# CONFIG_SCSI_QLOGIC_1280 is not set +# CONFIG_SCSI_QLA_FC is not set +# CONFIG_SCSI_QLA_ISCSI is not set +# CONFIG_SCSI_LPFC is not set +# CONFIG_SCSI_DC395x is not set +# CONFIG_SCSI_DC390T is not set +# CONFIG_SCSI_NSP32 is not set +# CONFIG_SCSI_DEBUG is not set +# CONFIG_SCSI_PMCRAID is not set +# CONFIG_SCSI_PM8001 is not set +# CONFIG_SCSI_SRP is not set +# CONFIG_SCSI_BFA_FC is not set +# CONFIG_SCSI_DH is not set +# CONFIG_SCSI_OSD_INITIATOR is not set +# CONFIG_ATA is not set +CONFIG_MD=y +# CONFIG_BLK_DEV_MD is not set +CONFIG_BLK_DEV_DM=y +# CONFIG_DM_DEBUG is not set +CONFIG_DM_CRYPT=y +# CONFIG_DM_SNAPSHOT is not set +# CONFIG_DM_THIN_PROVISIONING is not set +# CONFIG_DM_MIRROR is not set +# CONFIG_DM_RAID is not set +# CONFIG_DM_ZERO is not set +# CONFIG_DM_MULTIPATH is not set +# CONFIG_DM_DELAY is not set +# CONFIG_DM_UEVENT is not set +# CONFIG_DM_FLAKEY is not set +# CONFIG_DM_VERITY is not set +# CONFIG_TARGET_CORE is not set +# CONFIG_FUSION is not set + +# +# IEEE 1394 (FireWire) support +# +# CONFIG_FIREWIRE is not set +# CONFIG_FIREWIRE_NOSY is not set +# CONFIG_I2O is not set +CONFIG_NETDEVICES=y +CONFIG_NET_CORE=y +# CONFIG_BONDING is not set +CONFIG_DUMMY=y +# CONFIG_EQUALIZER is not set +# CONFIG_NET_FC is not set +CONFIG_MII=y +# CONFIG_IFB is not set +# CONFIG_NET_TEAM is not set +# CONFIG_MACVLAN is not set +# CONFIG_NETCONSOLE is not set +# CONFIG_NETPOLL is not set +# CONFIG_NET_POLL_CONTROLLER is not set +CONFIG_TUN=y +CONFIG_VETH=y +# CONFIG_ARCNET is not set + +# +# CAIF transport drivers +# +CONFIG_ETHERNET=y +CONFIG_NET_VENDOR_3COM=y +# CONFIG_VORTEX is not set +# CONFIG_TYPHOON is not set +CONFIG_NET_VENDOR_ADAPTEC=y +# CONFIG_ADAPTEC_STARFIRE is not set +CONFIG_NET_VENDOR_ALTEON=y +# CONFIG_ACENIC is not set +CONFIG_NET_VENDOR_AMD=y +# CONFIG_AMD8111_ETH is not set +# CONFIG_PCNET32 is not set +CONFIG_NET_VENDOR_ATHEROS=y +# CONFIG_ATL2 is not set +# CONFIG_ATL1 is not set +# CONFIG_ATL1E is not set +# CONFIG_ATL1C is not set +CONFIG_NET_VENDOR_BROADCOM=y +# CONFIG_B44 is not set +# CONFIG_BNX2 is not set +# CONFIG_CNIC is not set +# CONFIG_TIGON3 is not set +# CONFIG_BNX2X is not set +CONFIG_NET_VENDOR_BROCADE=y +# CONFIG_BNA is not set +# CONFIG_NET_CALXEDA_XGMAC is not set +CONFIG_NET_VENDOR_CHELSIO=y +# CONFIG_CHELSIO_T1 is not set +# CONFIG_CHELSIO_T3 is not set +# CONFIG_CHELSIO_T4 is not set +# CONFIG_CHELSIO_T4VF is not set +CONFIG_NET_VENDOR_CIRRUS=y +# CONFIG_CS89x0 is not set +CONFIG_NET_VENDOR_CISCO=y +# CONFIG_ENIC is not set +# CONFIG_DM9000 is not set +# CONFIG_DNET is not set +CONFIG_NET_VENDOR_DEC=y +# CONFIG_NET_TULIP is not set +CONFIG_NET_VENDOR_DLINK=y +# CONFIG_DL2K is not set +# CONFIG_SUNDANCE is not set +CONFIG_NET_VENDOR_EMULEX=y +# CONFIG_BE2NET is not set +CONFIG_NET_VENDOR_EXAR=y +# CONFIG_S2IO is not set +# CONFIG_VXGE is not set +CONFIG_NET_VENDOR_FARADAY=y +# CONFIG_FTMAC100 is not set +# CONFIG_FTGMAC100 is not set +CONFIG_NET_VENDOR_HP=y +# CONFIG_HP100 is not set +CONFIG_NET_VENDOR_INTEL=y +# CONFIG_E100 is not set +# CONFIG_E1000 is not set +# CONFIG_E1000E is not set +# CONFIG_IGB is not set +# CONFIG_IGBVF is not set +# CONFIG_IXGB is not set +# CONFIG_IXGBE is not set +# CONFIG_IXGBEVF is not set +CONFIG_NET_VENDOR_I825XX=y +# CONFIG_IP1000 is not set +# CONFIG_JME is not set +CONFIG_NET_VENDOR_MARVELL=y +# CONFIG_SKGE is not set +# CONFIG_SKY2 is not set +CONFIG_NET_VENDOR_MELLANOX=y +# CONFIG_MLX4_EN is not set +# CONFIG_MLX4_CORE is not set +CONFIG_NET_VENDOR_MICREL=y +# CONFIG_KS8851 is not set +# CONFIG_KS8851_MLL is not set +# CONFIG_KSZ884X_PCI is not set +CONFIG_NET_VENDOR_MICROCHIP=y +# CONFIG_ENC28J60 is not set +# CONFIG_MSM_RMNET is not set +CONFIG_MSM_RMNET_BAM=y +CONFIG_MSM_RMNET_SMUX=y +# CONFIG_QFEC is not set +CONFIG_NET_VENDOR_MYRI=y +# CONFIG_MYRI10GE is not set +# CONFIG_FEALNX is not set +CONFIG_NET_VENDOR_NATSEMI=y +# CONFIG_NATSEMI is not set +# CONFIG_NS83820 is not set +CONFIG_NET_VENDOR_8390=y +# CONFIG_AX88796 is not set +# CONFIG_NE2K_PCI is not set +CONFIG_NET_VENDOR_NVIDIA=y +# CONFIG_FORCEDETH is not set +CONFIG_NET_VENDOR_OKI=y +# CONFIG_PCH_GBE is not set +# CONFIG_ETHOC is not set +CONFIG_NET_PACKET_ENGINE=y +# CONFIG_HAMACHI is not set +# CONFIG_YELLOWFIN is not set +CONFIG_NET_VENDOR_QLOGIC=y +# CONFIG_QLA3XXX is not set +# CONFIG_QLCNIC is not set +# CONFIG_QLGE is not set +# CONFIG_NETXEN_NIC is not set +CONFIG_NET_VENDOR_REALTEK=y +# CONFIG_8139CP is not set +# CONFIG_8139TOO is not set +# CONFIG_R8169 is not set +CONFIG_NET_VENDOR_RDC=y +# CONFIG_R6040 is not set +CONFIG_NET_VENDOR_SEEQ=y +# CONFIG_SEEQ8005 is not set +CONFIG_NET_VENDOR_SILAN=y +# CONFIG_SC92031 is not set +CONFIG_NET_VENDOR_SIS=y +# CONFIG_SIS900 is not set +# CONFIG_SIS190 is not set +# CONFIG_SFC is not set +CONFIG_NET_VENDOR_SMSC=y +CONFIG_SMC91X=y +# CONFIG_EPIC100 is not set +CONFIG_SMC911X=y +# CONFIG_SMSC911X is not set +# CONFIG_SMSC9420 is not set +CONFIG_NET_VENDOR_STMICRO=y +# CONFIG_STMMAC_ETH is not set +CONFIG_NET_VENDOR_SUN=y +# CONFIG_HAPPYMEAL is not set +# CONFIG_SUNGEM is not set +# CONFIG_CASSINI is not set +# CONFIG_NIU is not set +CONFIG_NET_VENDOR_TEHUTI=y +# CONFIG_TEHUTI is not set +CONFIG_NET_VENDOR_TI=y +# CONFIG_TLAN is not set +CONFIG_NET_VENDOR_VIA=y +# CONFIG_VIA_RHINE is not set +# CONFIG_VIA_VELOCITY is not set +# CONFIG_FDDI is not set +# CONFIG_HIPPI is not set +CONFIG_PHYLIB=y + +# +# MII PHY device drivers +# +# CONFIG_AMD_PHY is not set +# CONFIG_MARVELL_PHY is not set +# CONFIG_DAVICOM_PHY is not set +# CONFIG_QSEMI_PHY is not set +# CONFIG_LXT_PHY is not set +# CONFIG_CICADA_PHY is not set +# CONFIG_VITESSE_PHY is not set +# CONFIG_SMSC_PHY is not set +# CONFIG_BROADCOM_PHY is not set +# CONFIG_ICPLUS_PHY is not set +# CONFIG_REALTEK_PHY is not set +# CONFIG_NATIONAL_PHY is not set +# CONFIG_STE10XP is not set +# CONFIG_LSI_ET1011C_PHY is not set +# CONFIG_MICREL_PHY is not set +# CONFIG_FIXED_PHY is not set +# CONFIG_MDIO_BITBANG is not set +# CONFIG_MICREL_KS8995MA is not set +CONFIG_PPP=y +CONFIG_PPP_BSDCOMP=y +CONFIG_PPP_DEFLATE=y +CONFIG_PPP_FILTER=y +CONFIG_PPP_MPPE=y +CONFIG_PPP_MULTILINK=y +CONFIG_PPPOE=y +CONFIG_PPPOL2TP=y +CONFIG_PPPOLAC=y +CONFIG_PPPOPNS=y +CONFIG_PPP_ASYNC=y +CONFIG_PPP_SYNC_TTY=y +CONFIG_SLIP=y +CONFIG_SLHC=y +CONFIG_SLIP_COMPRESSED=y +# CONFIG_SLIP_SMART is not set +CONFIG_SLIP_MODE_SLIP6=y +# CONFIG_TR is not set + +# +# USB Network Adapters +# +# CONFIG_USB_CATC is not set +# CONFIG_USB_KAWETH is not set +# CONFIG_USB_PEGASUS is not set +# CONFIG_USB_RTL8150 is not set +CONFIG_USB_USBNET=y +CONFIG_USB_NET_AX8817X=y +CONFIG_USB_NET_CDCETHER=y +# CONFIG_USB_NET_CDC_EEM is not set +CONFIG_USB_NET_CDC_NCM=y +# CONFIG_USB_NET_DM9601 is not set +# CONFIG_USB_NET_SMSC75XX is not set +# CONFIG_USB_NET_SMSC95XX is not set +# CONFIG_USB_NET_GL620A is not set +CONFIG_USB_NET_NET1080=y +# CONFIG_USB_NET_PLUSB is not set +# CONFIG_USB_NET_MCS7830 is not set +# CONFIG_USB_NET_RNDIS_HOST is not set +CONFIG_USB_NET_CDC_SUBSET=y +# CONFIG_USB_ALI_M5632 is not set +# CONFIG_USB_AN2720 is not set +CONFIG_USB_BELKIN=y +CONFIG_USB_ARMLINUX=y +# CONFIG_USB_EPSON2888 is not set +# CONFIG_USB_KC2190 is not set +CONFIG_USB_NET_ZAURUS=y +# CONFIG_USB_NET_CX82310_ETH is not set +# CONFIG_USB_NET_KALMIA is not set +# CONFIG_USB_NET_QMI_WWAN is not set +# CONFIG_USB_HSO is not set +# CONFIG_USB_NET_INT51X1 is not set +# CONFIG_USB_IPHETH is not set +# CONFIG_USB_SIERRA_NET is not set +# CONFIG_USB_VL600 is not set +CONFIG_MSM_RMNET_USB=y +CONFIG_WLAN=y +# CONFIG_ATMEL is not set +# CONFIG_PRISM54 is not set +# CONFIG_USB_ZD1201 is not set +# CONFIG_USB_NET_RNDIS_WLAN is not set +# CONFIG_LIBRA_SDIOIF is not set +# CONFIG_ATH6K_LEGACY_EXT is not set +CONFIG_WCNSS_CORE=y +# CONFIG_ATH_COMMON is not set +# CONFIG_BCMDHD is not set +# CONFIG_BRCMFMAC is not set +# CONFIG_HOSTAP is not set +# CONFIG_IPW2100 is not set +# CONFIG_IWM is not set +# CONFIG_LIBERTAS is not set +# CONFIG_MWIFIEX is not set + +# +# Enable WiMAX (Networking options) to see the WiMAX drivers +# +# CONFIG_WAN is not set +# CONFIG_VMXNET3 is not set +# CONFIG_ISDN is not set + +# +# Input device support +# +CONFIG_INPUT=y +CONFIG_INPUT_FF_MEMLESS=y +# CONFIG_INPUT_POLLDEV is not set +# CONFIG_INPUT_SPARSEKMAP is not set + +# +# Userland interfaces +# +CONFIG_INPUT_MOUSEDEV=y +CONFIG_INPUT_MOUSEDEV_PSAUX=y +CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 +CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 +# CONFIG_INPUT_JOYDEV is not set +CONFIG_INPUT_EVDEV=y +# CONFIG_INPUT_EVBUG is not set +# CONFIG_INPUT_KEYRESET is not set +CONFIG_INPUT_LID=y + +# +# Input Device Drivers +# +CONFIG_INPUT_KEYBOARD=y +# CONFIG_KEYBOARD_ADP5588 is not set +# CONFIG_KEYBOARD_ADP5589 is not set +CONFIG_KEYBOARD_ATKBD=y +# CONFIG_KEYBOARD_QT1070 is not set +# CONFIG_KEYBOARD_QT2160 is not set +# CONFIG_KEYBOARD_LKKBD is not set +CONFIG_KEYBOARD_GPIO=y +# CONFIG_KEYBOARD_TCA6416 is not set +# CONFIG_KEYBOARD_TCA8418 is not set +CONFIG_KEYBOARD_MATRIX=y +# CONFIG_KEYBOARD_LM8323 is not set +# CONFIG_KEYBOARD_MAX7359 is not set +# CONFIG_KEYBOARD_MCS is not set +# CONFIG_KEYBOARD_MPR121 is not set +# CONFIG_KEYBOARD_NEWTON is not set +# CONFIG_KEYBOARD_OPENCORES is not set +# CONFIG_KEYBOARD_PMIC8XXX is not set +# CONFIG_KEYBOARD_SAMSUNG is not set +# CONFIG_KEYBOARD_STOWAWAY is not set +# CONFIG_KEYBOARD_SUNKBD is not set +# CONFIG_KEYBOARD_OMAP4 is not set +# CONFIG_KEYBOARD_XTKBD is not set +# CONFIG_KEYBOARD_QCIKBD is not set +CONFIG_INPUT_MOUSE=y +CONFIG_MOUSE_PS2=y +CONFIG_MOUSE_PS2_ALPS=y +CONFIG_MOUSE_PS2_LOGIPS2PP=y +CONFIG_MOUSE_PS2_SYNAPTICS=y +CONFIG_MOUSE_PS2_TRACKPOINT=y +# CONFIG_MOUSE_PS2_ELANTECH is not set +# CONFIG_MOUSE_PS2_SENTELIC is not set +# CONFIG_MOUSE_PS2_TOUCHKIT is not set +# CONFIG_MOUSE_SERIAL is not set +# CONFIG_MOUSE_APPLETOUCH is not set +# CONFIG_MOUSE_BCM5974 is not set +# CONFIG_MOUSE_VSXXXAA is not set +# CONFIG_MOUSE_GPIO is not set +# CONFIG_MOUSE_SYNAPTICS_I2C is not set +# CONFIG_MOUSE_QCITP is not set +# CONFIG_MOUSE_SYNAPTICS_USB is not set +CONFIG_INPUT_JOYSTICK=y +# CONFIG_JOYSTICK_ANALOG is not set +# CONFIG_JOYSTICK_A3D is not set +# CONFIG_JOYSTICK_ADI is not set +# CONFIG_JOYSTICK_COBRA is not set +# CONFIG_JOYSTICK_GF2K is not set +# CONFIG_JOYSTICK_GRIP is not set +# CONFIG_JOYSTICK_GRIP_MP is not set +# CONFIG_JOYSTICK_GUILLEMOT is not set +# CONFIG_JOYSTICK_INTERACT is not set +# CONFIG_JOYSTICK_SIDEWINDER is not set +# CONFIG_JOYSTICK_TMDC is not set +# CONFIG_JOYSTICK_IFORCE is not set +# CONFIG_JOYSTICK_WARRIOR is not set +# CONFIG_JOYSTICK_MAGELLAN is not set +# CONFIG_JOYSTICK_SPACEORB is not set +# CONFIG_JOYSTICK_SPACEBALL is not set +# CONFIG_JOYSTICK_STINGER is not set +# CONFIG_JOYSTICK_TWIDJOY is not set +# CONFIG_JOYSTICK_ZHENHUA is not set +# CONFIG_JOYSTICK_AS5011 is not set +# CONFIG_JOYSTICK_JOYDUMP is not set +CONFIG_JOYSTICK_XPAD=y +CONFIG_JOYSTICK_XPAD_FF=y +CONFIG_JOYSTICK_XPAD_LEDS=y +# CONFIG_TOUCHDISC_VTD518_SHINETSU is not set +# CONFIG_INPUT_TABLET is not set +CONFIG_INPUT_TOUCHSCREEN=y +# CONFIG_TOUCHSCREEN_ADS7846 is not set +# CONFIG_TOUCHSCREEN_AD7877 is not set +# CONFIG_TOUCHSCREEN_ATMEL_MAXTOUCH is not set +# CONFIG_TOUCHSCREEN_AD7879 is not set +# CONFIG_TOUCHSCREEN_ATMEL_MXT is not set +# CONFIG_TOUCHSCREEN_AUO_PIXCIR is not set +# CONFIG_TOUCHSCREEN_BU21013 is not set +# CONFIG_TOUCHSCREEN_CY8CTMG110 is not set +# CONFIG_TOUCHSCREEN_CYTTSP_CORE is not set +# CONFIG_TOUCHSCREEN_DYNAPRO is not set +# CONFIG_TOUCHSCREEN_HAMPSHIRE is not set +# CONFIG_TOUCHSCREEN_EETI is not set +# CONFIG_TOUCHSCREEN_EGALAX is not set +# CONFIG_TOUCHSCREEN_FUJITSU is not set +# CONFIG_TOUCHSCREEN_ILI210X is not set +# CONFIG_TOUCHSCREEN_GUNZE is not set +# CONFIG_TOUCHSCREEN_ELO is not set +# CONFIG_TOUCHSCREEN_WACOM_W8001 is not set +# CONFIG_TOUCHSCREEN_MAX11801 is not set +# CONFIG_TOUCHSCREEN_MCS5000 is not set +# CONFIG_TOUCHSCREEN_MTOUCH is not set +# CONFIG_TOUCHSCREEN_INEXIO is not set +# CONFIG_TOUCHSCREEN_MK712 is not set +# CONFIG_TOUCHSCREEN_PENMOUNT is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_RMI4_I2C is not set +# CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set +# CONFIG_TOUCHSCREEN_TOUCHWIN is not set +# CONFIG_TOUCHSCREEN_PIXCIR is not set +# CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set +# CONFIG_TOUCHSCREEN_TOUCHIT213 is not set +# CONFIG_TOUCHSCREEN_TSC_SERIO is not set +# CONFIG_TOUCHSCREEN_TSC2005 is not set +# CONFIG_TOUCHSCREEN_TSC2007 is not set +# CONFIG_TOUCHSCREEN_MSM_LEGACY is not set +# CONFIG_TOUCHSCREEN_W90X900 is not set +# CONFIG_TOUCHSCREEN_ST1232 is not set +# CONFIG_TOUCHSCREEN_TPS6507X is not set +# CONFIG_TOUCHSCREEN_CY8C_TS is not set +# CONFIG_TOUCHSCREEN_CYTTSP_I2C_QC is not set +# CONFIG_TOUCHSCREEN_FT5X06 is not set +# CONFIG_TOUCHSCREEN_LGE_COMMON is not set +# CONFIG_TOUCHSCREEN_LGE_SYNAPTICS is not set +CONFIG_TOUCHSCREEN_ELAN_TF_3K=y +CONFIG_INPUT_MISC=y +# CONFIG_INPUT_AD714X is not set +# CONFIG_INPUT_BMA150 is not set +# CONFIG_INPUT_PM8XXX_VIBRATOR is not set +# CONFIG_INPUT_PMIC8XXX_PWRKEY is not set +# CONFIG_INPUT_MMA8450 is not set +CONFIG_INPUT_MPU3050=y +# CONFIG_INPUT_GP2A is not set +# CONFIG_INPUT_GPIO_TILT_POLLED is not set +# CONFIG_INPUT_ATI_REMOTE2 is not set +CONFIG_INPUT_KEYCHORD=y +# CONFIG_INPUT_KEYSPAN_REMOTE is not set +# CONFIG_INPUT_KXTJ9 is not set +# CONFIG_INPUT_POWERMATE is not set +# CONFIG_INPUT_YEALINK is not set +# CONFIG_INPUT_CM109 is not set +CONFIG_INPUT_UINPUT=y +# CONFIG_INPUT_GPIO is not set +# CONFIG_INPUT_ISA1200_FF_MEMLESS is not set +# CONFIG_INPUT_PCF8574 is not set +# CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set +# CONFIG_INPUT_ADXL34X is not set +# CONFIG_INPUT_CMA3000 is not set +# CONFIG_BOSCH_BMA150 is not set +CONFIG_STM_LIS3DH=y +# CONFIG_BMP18X is not set + +# +# Hardware I/O ports +# +CONFIG_SERIO=y +CONFIG_SERIO_SERPORT=y +# CONFIG_SERIO_PCIPS2 is not set +CONFIG_SERIO_LIBPS2=y +# CONFIG_SERIO_RAW is not set +# CONFIG_SERIO_ALTERA_PS2 is not set +# CONFIG_SERIO_PS2MULT is not set +# CONFIG_GAMEPORT is not set + +# +# Character devices +# +CONFIG_VT=y +CONFIG_CONSOLE_TRANSLATIONS=y +CONFIG_VT_CONSOLE=y +CONFIG_VT_CONSOLE_SLEEP=y +CONFIG_HW_CONSOLE=y +# CONFIG_VT_HW_CONSOLE_BINDING is not set +CONFIG_UNIX98_PTYS=y +CONFIG_DEVPTS_MULTIPLE_INSTANCES=y +# CONFIG_LEGACY_PTYS is not set +# CONFIG_SERIAL_NONSTANDARD is not set +# CONFIG_NOZOMI is not set +# CONFIG_N_GSM is not set +CONFIG_N_SMUX=y +CONFIG_N_SMUX_LOOPBACK=y +CONFIG_SMUX_CTL=y +# CONFIG_TRACE_SINK is not set +CONFIG_DEVMEM=y +# CONFIG_DEVKMEM is not set + +# +# Serial drivers +# +# CONFIG_SERIAL_8250 is not set + +# +# Non-8250 serial port support +# +# CONFIG_SERIAL_MAX3100 is not set +# CONFIG_SERIAL_MAX3107 is not set +# CONFIG_SERIAL_MFD_HSU is not set +CONFIG_SERIAL_CORE=y +CONFIG_SERIAL_CORE_CONSOLE=y +# CONFIG_SERIAL_JSM is not set +# CONFIG_SERIAL_MSM is not set +CONFIG_SERIAL_MSM_HS=y +CONFIG_SERIAL_MSM_HSL=y +CONFIG_SERIAL_MSM_HSL_CONSOLE=y +# CONFIG_SERIAL_BCM_BT_LPM is not set +# CONFIG_SERIAL_TIMBERDALE is not set +# CONFIG_SERIAL_ALTERA_JTAGUART is not set +# CONFIG_SERIAL_ALTERA_UART is not set +# CONFIG_SERIAL_IFX6X60 is not set +# CONFIG_SERIAL_PCH_UART is not set +# CONFIG_SERIAL_MSM_SMD is not set +# CONFIG_SERIAL_XILINX_PS_UART is not set + +# +# Diag Support +# +CONFIG_DIAG_CHAR=y + +# +# DIAG traffic over USB +# +CONFIG_DIAG_OVER_USB=y + +# +# SDIO support for DIAG +# + +# +# HSIC/SMUX support for DIAG +# +CONFIG_DIAGFWD_BRIDGE_CODE=y +# CONFIG_TTY_PRINTK is not set +# CONFIG_HVC_DCC is not set +# CONFIG_IPMI_HANDLER is not set +CONFIG_HW_RANDOM=y +# CONFIG_HW_RANDOM_TIMERIOMEM is not set +CONFIG_HW_RANDOM_MSM=y +# CONFIG_R3964 is not set +# CONFIG_APPLICOM is not set +CONFIG_RAW_DRIVER=y +CONFIG_MAX_RAW_DEVS=256 +# CONFIG_TCG_TPM is not set +CONFIG_DEVPORT=y +# CONFIG_DCC_TTY is not set +# CONFIG_RAMOOPS is not set +CONFIG_MSM_ROTATOR=y +CONFIG_MSM_ADSPRPC=y +# CONFIG_MMC_GENERIC_CSDIO is not set +CONFIG_I2C=y +CONFIG_I2C_BOARDINFO=y +CONFIG_I2C_COMPAT=y +CONFIG_I2C_CHARDEV=y +# CONFIG_I2C_MUX is not set +CONFIG_I2C_HELPER_AUTO=y + +# +# I2C Hardware Bus support +# + +# +# PC SMBus host controller drivers +# +# CONFIG_I2C_ALI1535 is not set +# CONFIG_I2C_ALI1563 is not set +# CONFIG_I2C_ALI15X3 is not set +# CONFIG_I2C_AMD756 is not set +# CONFIG_I2C_AMD8111 is not set +# CONFIG_I2C_I801 is not set +# CONFIG_I2C_ISCH is not set +# CONFIG_I2C_PIIX4 is not set +# CONFIG_I2C_NFORCE2 is not set +# CONFIG_I2C_SIS5595 is not set +# CONFIG_I2C_SIS630 is not set +# CONFIG_I2C_SIS96X is not set +# CONFIG_I2C_VIA is not set +# CONFIG_I2C_VIAPRO is not set + +# +# I2C system bus drivers (mostly embedded / system-on-chip) +# +# CONFIG_I2C_DESIGNWARE_PLATFORM is not set +# CONFIG_I2C_DESIGNWARE_PCI is not set +# CONFIG_I2C_EG20T is not set +# CONFIG_I2C_GPIO is not set +# CONFIG_I2C_INTEL_MID is not set +# CONFIG_I2C_MSM is not set +CONFIG_I2C_QUP=y +# CONFIG_I2C_OCORES is not set +# CONFIG_I2C_PCA_PLATFORM is not set +# CONFIG_I2C_PXA_PCI is not set +# CONFIG_I2C_SIMTEC is not set +# CONFIG_I2C_XILINX is not set + +# +# External I2C/SMBus adapter drivers +# +# CONFIG_I2C_DIOLAN_U2C is not set +# CONFIG_I2C_PARPORT_LIGHT is not set +# CONFIG_I2C_TAOS_EVM is not set +# CONFIG_I2C_TINY_USB is not set + +# +# Other I2C/SMBus bus drivers +# +# CONFIG_I2C_STUB is not set +# CONFIG_I2C_DEBUG_CORE is not set +# CONFIG_I2C_DEBUG_ALGO is not set +# CONFIG_I2C_DEBUG_BUS is not set +CONFIG_SPI=y +# CONFIG_SPI_DEBUG is not set +CONFIG_SPI_MASTER=y + +# +# SPI Master Controller Drivers +# +# CONFIG_SPI_ALTERA is not set +# CONFIG_SPI_BITBANG is not set +# CONFIG_SPI_GPIO is not set +# CONFIG_SPI_OC_TINY is not set +# CONFIG_SPI_PXA2XX_PCI is not set +# CONFIG_SPI_TOPCLIFF_PCH is not set +# CONFIG_SPI_XILINX is not set +CONFIG_SPI_QUP=y +# CONFIG_SPI_DESIGNWARE is not set + +# +# SPI Protocol Masters +# +# CONFIG_SPI_SPIDEV is not set +# CONFIG_SPI_TLE62X0 is not set +# CONFIG_SPMI is not set +CONFIG_SLIMBUS=y +CONFIG_SLIMBUS_MSM_CTRL=y +# CONFIG_HSI is not set + +# +# PPS support +# +# CONFIG_PPS is not set + +# +# PPS generators support +# + +# +# PTP clock support +# + +# +# Enable Device Drivers -> PPS to see the PTP clock options. +# +CONFIG_ARCH_REQUIRE_GPIOLIB=y +CONFIG_GPIOLIB=y +CONFIG_DEBUG_GPIO=y +CONFIG_GPIO_SYSFS=y + +# +# Memory mapped GPIO drivers: +# +# CONFIG_GPIO_GENERIC_PLATFORM is not set +# CONFIG_GPIO_MSM_V1 is not set +CONFIG_GPIO_MSM_V2=y +# CONFIG_GPIO_MSM_V3 is not set +# CONFIG_GPIO_FSM9XXX is not set +# CONFIG_GPIO_VX855 is not set + +# +# I2C GPIO expanders: +# +# CONFIG_GPIO_MAX7300 is not set +# CONFIG_GPIO_MAX732X is not set +# CONFIG_GPIO_PCF857X is not set +CONFIG_GPIO_SX150X=y +# CONFIG_GPIO_ADP5588 is not set + +# +# PCI GPIO expanders: +# +# CONFIG_GPIO_BT8XX is not set +# CONFIG_GPIO_ML_IOH is not set +# CONFIG_GPIO_RDC321X is not set + +# +# SPI GPIO expanders: +# +# CONFIG_GPIO_MAX7301 is not set +# CONFIG_GPIO_MCP23S08 is not set +# CONFIG_GPIO_MC33880 is not set +# CONFIG_GPIO_74X164 is not set + +# +# AC97 GPIO expanders: +# + +# +# MODULbus GPIO expanders: +# +CONFIG_GPIO_PM8XXX=y +CONFIG_GPIO_PM8XXX_MPP=y +# CONFIG_GPIO_PM8XXX_RPC is not set +# CONFIG_W1 is not set +CONFIG_POWER_SUPPLY=y +# CONFIG_POWER_SUPPLY_DEBUG is not set +# CONFIG_PDA_POWER is not set +# CONFIG_TEST_POWER is not set +CONFIG_CHARGER_SMB345=y +# CONFIG_BATTERY_DS2780 is not set +# CONFIG_BATTERY_DS2781 is not set +# CONFIG_BATTERY_DS2782 is not set +# CONFIG_BATTERY_SBS is not set +# CONFIG_BATTERY_BQ27x00 is not set +# CONFIG_BATTERY_MAX17040 is not set +# CONFIG_BATTERY_MAX17042 is not set +# CONFIG_CHARGER_ISP1704 is not set +# CONFIG_CHARGER_MAX8903 is not set +# CONFIG_CHARGER_LP8727 is not set +# CONFIG_CHARGER_GPIO is not set +# CONFIG_CHARGER_MANAGER is not set +# CONFIG_BATTERY_MSM is not set +# CONFIG_BATTERY_MSM8X60 is not set +# CONFIG_SMB137B_CHARGER is not set +# CONFIG_SMB349_CHARGER is not set +# CONFIG_BATTERY_BQ27520 is not set +# CONFIG_BATTERY_BQ27541 is not set +# CONFIG_PM8921_CHARGER is not set +# CONFIG_PM8XXX_CCADC is not set +# CONFIG_LTC4088_CHARGER is not set +# CONFIG_PM8921_BMS is not set +# CONFIG_CHARGER_SMB347 is not set +# CONFIG_WIRELESS_CHARGER is not set +# CONFIG_BATTERY_TEMP_CONTROL is not set +CONFIG_BATTERY_ASUS_BQ27541=y +CONFIG_HWMON=y +# CONFIG_HWMON_VID is not set +# CONFIG_HWMON_DEBUG_CHIP is not set + +# +# Native drivers +# +# CONFIG_SENSORS_AD7314 is not set +# CONFIG_SENSORS_AD7414 is not set +# CONFIG_SENSORS_AD7418 is not set +# CONFIG_SENSORS_ADCXX is not set +# CONFIG_SENSORS_ADM1021 is not set +# CONFIG_SENSORS_ADM1025 is not set +# CONFIG_SENSORS_ADM1026 is not set +# CONFIG_SENSORS_ADM1029 is not set +# CONFIG_SENSORS_ADM1031 is not set +# CONFIG_SENSORS_ADM9240 is not set +# CONFIG_SENSORS_ADT7411 is not set +# CONFIG_SENSORS_ADT7462 is not set +# CONFIG_SENSORS_ADT7470 is not set +# CONFIG_SENSORS_ADT7475 is not set +# CONFIG_SENSORS_ASC7621 is not set +# CONFIG_SENSORS_ATXP1 is not set +# CONFIG_SENSORS_DS620 is not set +# CONFIG_SENSORS_DS1621 is not set +# CONFIG_SENSORS_I5K_AMB is not set +# CONFIG_SENSORS_F71805F is not set +# CONFIG_SENSORS_F71882FG is not set +# CONFIG_SENSORS_F75375S is not set +# CONFIG_SENSORS_G760A is not set +# CONFIG_SENSORS_GL518SM is not set +# CONFIG_SENSORS_GL520SM is not set +# CONFIG_SENSORS_GPIO_FAN is not set +# CONFIG_SENSORS_IT87 is not set +# CONFIG_SENSORS_JC42 is not set +# CONFIG_SENSORS_LINEAGE is not set +# CONFIG_SENSORS_LM63 is not set +# CONFIG_SENSORS_LM70 is not set +# CONFIG_SENSORS_LM73 is not set +# CONFIG_SENSORS_LM75 is not set +# CONFIG_SENSORS_LM77 is not set +# CONFIG_SENSORS_LM78 is not set +# CONFIG_SENSORS_LM80 is not set +# CONFIG_SENSORS_LM83 is not set +# CONFIG_SENSORS_LM85 is not set +# CONFIG_SENSORS_LM87 is not set +# CONFIG_SENSORS_LM90 is not set +# CONFIG_SENSORS_LM92 is not set +# CONFIG_SENSORS_LM93 is not set +# CONFIG_SENSORS_LTC4151 is not set +# CONFIG_SENSORS_LTC4215 is not set +# CONFIG_SENSORS_LTC4245 is not set +# CONFIG_SENSORS_LTC4261 is not set +# CONFIG_SENSORS_LM95241 is not set +# CONFIG_SENSORS_LM95245 is not set +# CONFIG_SENSORS_MAX1111 is not set +# CONFIG_SENSORS_MAX16065 is not set +# CONFIG_SENSORS_MAX1619 is not set +# CONFIG_SENSORS_MAX1668 is not set +# CONFIG_SENSORS_MAX6639 is not set +# CONFIG_SENSORS_MAX6642 is not set +# CONFIG_SENSORS_MAX6650 is not set +# CONFIG_SENSORS_MCP3021 is not set +# CONFIG_SENSORS_NTC_THERMISTOR is not set +CONFIG_SENSORS_PM8XXX_ADC=y +CONFIG_SENSORS_EPM_ADC=y +# CONFIG_SENSORS_PC87360 is not set +# CONFIG_SENSORS_PC87427 is not set +# CONFIG_SENSORS_PCF8591 is not set +# CONFIG_PMBUS is not set +# CONFIG_SENSORS_SHT15 is not set +# CONFIG_SENSORS_SHT21 is not set +# CONFIG_SENSORS_SIS5595 is not set +# CONFIG_SENSORS_SMM665 is not set +# CONFIG_SENSORS_DME1737 is not set +# CONFIG_SENSORS_EMC1403 is not set +# CONFIG_SENSORS_EMC2103 is not set +# CONFIG_SENSORS_EMC6W201 is not set +# CONFIG_SENSORS_SMSC47M1 is not set +# CONFIG_SENSORS_SMSC47M192 is not set +# CONFIG_SENSORS_SMSC47B397 is not set +# CONFIG_SENSORS_SCH56XX_COMMON is not set +# CONFIG_SENSORS_SCH5627 is not set +# CONFIG_SENSORS_SCH5636 is not set +# CONFIG_SENSORS_ADS1015 is not set +# CONFIG_SENSORS_ADS7828 is not set +# CONFIG_SENSORS_ADS7871 is not set +# CONFIG_SENSORS_AMC6821 is not set +# CONFIG_SENSORS_THMC50 is not set +# CONFIG_SENSORS_TMP102 is not set +# CONFIG_SENSORS_TMP401 is not set +# CONFIG_SENSORS_TMP421 is not set +# CONFIG_SENSORS_VIA686A is not set +# CONFIG_SENSORS_VT1211 is not set +# CONFIG_SENSORS_VT8231 is not set +# CONFIG_SENSORS_W83781D is not set +# CONFIG_SENSORS_W83791D is not set +# CONFIG_SENSORS_W83792D is not set +# CONFIG_SENSORS_W83793 is not set +# CONFIG_SENSORS_W83795 is not set +# CONFIG_SENSORS_W83L785TS is not set +# CONFIG_SENSORS_W83L786NG is not set +# CONFIG_SENSORS_W83627HF is not set +# CONFIG_SENSORS_W83627EHF is not set +CONFIG_SENSORS_CAP1106=y +CONFIG_CAP_SENSOR_RMNET_CTL=y +CONFIG_THERMAL=y +CONFIG_THERMAL_HWMON=y +# CONFIG_THERMAL_MSM_POPMEM is not set +# CONFIG_THERMAL_TSENS is not set +CONFIG_THERMAL_TSENS8960=y +# CONFIG_THERMAL_TSENS8974 is not set +CONFIG_THERMAL_PM8XXX=y +CONFIG_THERMAL_MONITOR=y +# CONFIG_WATCHDOG is not set +CONFIG_SSB_POSSIBLE=y + +# +# Sonics Silicon Backplane +# +# CONFIG_SSB is not set +CONFIG_BCMA_POSSIBLE=y + +# +# Broadcom specific AMBA +# +# CONFIG_BCMA is not set + +# +# Multifunction device drivers +# +CONFIG_MFD_CORE=y +# CONFIG_MFD_88PM860X is not set +# CONFIG_MFD_SM501 is not set +# CONFIG_MFD_ASIC3 is not set +# CONFIG_HTC_EGPIO is not set +# CONFIG_HTC_PASIC3 is not set +# CONFIG_HTC_I2CPLD is not set +# CONFIG_TPS6105X is not set +# CONFIG_TPS65010 is not set +# CONFIG_PMIC8058 is not set +# CONFIG_PMIC8901 is not set +# CONFIG_TPS6507X is not set +# CONFIG_MFD_TPS65217 is not set +# CONFIG_MFD_TPS6586X is not set +# CONFIG_MFD_TPS65910 is not set +# CONFIG_MFD_TPS65912_I2C is not set +# CONFIG_MFD_TPS65912_SPI is not set +# CONFIG_TWL4030_CORE is not set +# CONFIG_TWL6040_CORE is not set +# CONFIG_MFD_STMPE is not set +# CONFIG_MFD_TC3589X is not set +# CONFIG_MFD_TMIO is not set +# CONFIG_MFD_T7L66XB is not set +# CONFIG_MFD_TC6387XB is not set +# CONFIG_MFD_TC6393XB is not set +# CONFIG_PMIC_DA903X is not set +# CONFIG_MFD_DA9052_SPI is not set +# CONFIG_MFD_DA9052_I2C is not set +# CONFIG_PMIC_ADP5520 is not set +# CONFIG_MFD_MAX8925 is not set +# CONFIG_MFD_MAX8997 is not set +# CONFIG_MFD_MAX8998 is not set +# CONFIG_MFD_S5M_CORE is not set +# CONFIG_MFD_WM8400 is not set +# CONFIG_MFD_WM831X_I2C is not set +# CONFIG_MFD_WM831X_SPI is not set +# CONFIG_MFD_WM8350_I2C is not set +# CONFIG_MFD_WM8994 is not set +# CONFIG_MFD_PCF50633 is not set +# CONFIG_MFD_MC13XXX is not set +# CONFIG_ABX500_CORE is not set +# CONFIG_EZX_PCAP is not set +# CONFIG_MFD_TIMBERDALE is not set +# CONFIG_LPC_SCH is not set +# CONFIG_MFD_RDC321X is not set +# CONFIG_MFD_JANZ_CMODIO is not set +# CONFIG_MFD_VX855 is not set +# CONFIG_MFD_WL1273_CORE is not set +CONFIG_MFD_PM8XXX=y +CONFIG_MFD_PM8921_CORE=y +CONFIG_MFD_PM8821_CORE=y +# CONFIG_MFD_PM8018_CORE is not set +CONFIG_MFD_PM8038_CORE=y +CONFIG_MFD_PM8XXX_IRQ=y +CONFIG_MFD_PM8821_IRQ=y +# CONFIG_MFD_TPS65090 is not set +# CONFIG_MFD_AAT2870_CORE is not set +CONFIG_MFD_PM8XXX_DEBUG=y +CONFIG_MFD_PM8XXX_PWM=y +CONFIG_MFD_PM8XXX_MISC=y +CONFIG_MFD_PM8XXX_SPK=y +CONFIG_MFD_PM8XXX_BATT_ALARM=y +CONFIG_WCD9304_CODEC=y +CONFIG_WCD9310_CODEC=y +# CONFIG_WCD9320_CODEC is not set +# CONFIG_MFD_RC5T583 is not set +CONFIG_REGULATOR=y +# CONFIG_REGULATOR_DEBUG is not set +# CONFIG_REGULATOR_DUMMY is not set +# CONFIG_REGULATOR_FIXED_VOLTAGE is not set +# CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set +# CONFIG_REGULATOR_USERSPACE_CONSUMER is not set +# CONFIG_REGULATOR_GPIO is not set +# CONFIG_REGULATOR_AD5398 is not set +# CONFIG_REGULATOR_ISL6271A is not set +# CONFIG_REGULATOR_MAX1586 is not set +# CONFIG_REGULATOR_MAX8649 is not set +# CONFIG_REGULATOR_MAX8660 is not set +# CONFIG_REGULATOR_MAX8952 is not set +# CONFIG_REGULATOR_LP3971 is not set +# CONFIG_REGULATOR_LP3972 is not set +# CONFIG_REGULATOR_TPS62360 is not set +# CONFIG_REGULATOR_TPS65023 is not set +# CONFIG_REGULATOR_TPS6507X is not set +# CONFIG_REGULATOR_TPS6524X is not set +CONFIG_REGULATOR_PM8XXX=y +CONFIG_REGULATOR_MSM_GPIO=y +# CONFIG_REGULATOR_STUB is not set +CONFIG_MEDIA_SUPPORT=y + +# +# Multimedia core support +# +CONFIG_MEDIA_CONTROLLER=y +CONFIG_VIDEO_DEV=y +CONFIG_VIDEO_V4L2_COMMON=y +CONFIG_VIDEO_V4L2_SUBDEV_API=y +# CONFIG_DVB_CORE is not set +CONFIG_VIDEO_MEDIA=y + +# +# Multimedia drivers +# +CONFIG_RC_CORE=y +CONFIG_LIRC=y +CONFIG_USER_RC_INPUT=y +CONFIG_RC_MAP=y +CONFIG_IR_NEC_DECODER=y +CONFIG_IR_RC5_DECODER=y +CONFIG_IR_RC6_DECODER=y +CONFIG_IR_JVC_DECODER=y +CONFIG_IR_SONY_DECODER=y +CONFIG_IR_RC5_SZ_DECODER=y +CONFIG_IR_SANYO_DECODER=y +CONFIG_IR_MCE_KBD_DECODER=y +CONFIG_IR_LIRC_CODEC=y +# CONFIG_RC_ATI_REMOTE is not set +# CONFIG_IR_IMON is not set +# CONFIG_IR_MCEUSB is not set +# CONFIG_IR_REDRAT3 is not set +# CONFIG_IR_STREAMZAP is not set +# CONFIG_RC_LOOPBACK is not set +CONFIG_IR_GPIO_CIR=y + +# +# Qualcomm MSM Camera And Video +# +# CONFIG_MSM_CAMERA is not set +# CONFIG_IMX111 is not set +# CONFIG_IMX111_ACT is not set +# CONFIG_SEKONIX_LENS_ACT is not set +# CONFIG_IMX119 is not set +CONFIG_MSM_CAMERA_SENSOR=y +CONFIG_MSM_ACTUATOR=y +# CONFIG_MSM_EEPROM is not set +CONFIG_MSM_GEMINI=y +# CONFIG_MSM_CPP is not set +CONFIG_MSM_CCI=y +CONFIG_MSM_CSI20_HEADER=y +# CONFIG_MSM_CSI30_HEADER is not set +CONFIG_MSM_CSIPHY=y +CONFIG_MSM_CSID=y +CONFIG_MSM_ISPIF=y +# CONFIG_S5K3L1YX is not set +# CONFIG_MSM_V4L2_VIDEO_OVERLAY_DEVICE is not set +CONFIG_OV5693=y +CONFIG_MI1040=y +CONFIG_MSMB_CAMERA=y +# CONFIG_MSMB_CAMERA_DEBUG is not set +# CONFIG_MEDIA_ATTACH is not set +CONFIG_MEDIA_TUNER=y +# CONFIG_MEDIA_TUNER_CUSTOMISE is not set +CONFIG_MEDIA_TUNER_SIMPLE=y +CONFIG_MEDIA_TUNER_TDA8290=y +CONFIG_MEDIA_TUNER_TDA827X=y +CONFIG_MEDIA_TUNER_TDA18271=y +CONFIG_MEDIA_TUNER_TDA9887=y +CONFIG_MEDIA_TUNER_TEA5761=y +CONFIG_MEDIA_TUNER_TEA5767=y +CONFIG_MEDIA_TUNER_MT20XX=y +CONFIG_MEDIA_TUNER_XC2028=y +CONFIG_MEDIA_TUNER_XC5000=y +CONFIG_MEDIA_TUNER_XC4000=y +CONFIG_MEDIA_TUNER_MC44S803=y +CONFIG_VIDEO_V4L2=y +CONFIG_VIDEOBUF2_CORE=y +CONFIG_VIDEOBUF2_MEMOPS=y +CONFIG_VIDEOBUF2_DMA_CONTIG=y +CONFIG_VIDEOBUF2_VMALLOC=y +CONFIG_VIDEOBUF2_DMA_SG=y +CONFIG_VIDEOBUF2_MSM_MEM=y +CONFIG_VIDEO_CAPTURE_DRIVERS=y +# CONFIG_VIDEO_ADV_DEBUG is not set +# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set +CONFIG_VIDEO_HELPER_CHIPS_AUTO=y +CONFIG_VIDEO_IR_I2C=y + +# +# Audio decoders, processors and mixers +# + +# +# RDS decoders +# + +# +# Video decoders +# + +# +# Video and audio decoders +# + +# +# MPEG video encoders +# + +# +# Video encoders +# + +# +# Camera sensor devices +# + +# +# Flash devices +# + +# +# Video improvement chips +# + +# +# Miscelaneous helper chips +# +CONFIG_MSM_VCAP=y +CONFIG_V4L_USB_DRIVERS=y +CONFIG_USB_VIDEO_CLASS=y +CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y +CONFIG_USB_GSPCA=y +# CONFIG_USB_M5602 is not set +# CONFIG_USB_STV06XX is not set +# CONFIG_USB_GL860 is not set +# CONFIG_USB_GSPCA_BENQ is not set +# CONFIG_USB_GSPCA_CONEX is not set +# CONFIG_USB_GSPCA_CPIA1 is not set +# CONFIG_USB_GSPCA_ETOMS is not set +# CONFIG_USB_GSPCA_FINEPIX is not set +# CONFIG_USB_GSPCA_JEILINJ is not set +# CONFIG_USB_GSPCA_JL2005BCD is not set +# CONFIG_USB_GSPCA_KINECT is not set +# CONFIG_USB_GSPCA_KONICA is not set +# CONFIG_USB_GSPCA_MARS is not set +# CONFIG_USB_GSPCA_MR97310A is not set +# CONFIG_USB_GSPCA_NW80X is not set +# CONFIG_USB_GSPCA_OV519 is not set +# CONFIG_USB_GSPCA_OV534 is not set +# CONFIG_USB_GSPCA_OV534_9 is not set +# CONFIG_USB_GSPCA_PAC207 is not set +# CONFIG_USB_GSPCA_PAC7302 is not set +# CONFIG_USB_GSPCA_PAC7311 is not set +# CONFIG_USB_GSPCA_SE401 is not set +# CONFIG_USB_GSPCA_SN9C2028 is not set +# CONFIG_USB_GSPCA_SN9C20X is not set +# CONFIG_USB_GSPCA_SONIXB is not set +# CONFIG_USB_GSPCA_SONIXJ is not set +# CONFIG_USB_GSPCA_SPCA500 is not set +# CONFIG_USB_GSPCA_SPCA501 is not set +# CONFIG_USB_GSPCA_SPCA505 is not set +# CONFIG_USB_GSPCA_SPCA506 is not set +# CONFIG_USB_GSPCA_SPCA508 is not set +# CONFIG_USB_GSPCA_SPCA561 is not set +# CONFIG_USB_GSPCA_SPCA1528 is not set +# CONFIG_USB_GSPCA_SQ905 is not set +# CONFIG_USB_GSPCA_SQ905C is not set +# CONFIG_USB_GSPCA_SQ930X is not set +# CONFIG_USB_GSPCA_STK014 is not set +# CONFIG_USB_GSPCA_STV0680 is not set +# CONFIG_USB_GSPCA_SUNPLUS is not set +# CONFIG_USB_GSPCA_T613 is not set +# CONFIG_USB_GSPCA_TOPRO is not set +# CONFIG_USB_GSPCA_TV8532 is not set +# CONFIG_USB_GSPCA_VC032X is not set +# CONFIG_USB_GSPCA_VICAM is not set +# CONFIG_USB_GSPCA_XIRLINK_CIT is not set +# CONFIG_USB_GSPCA_ZC3XX is not set +# CONFIG_VIDEO_PVRUSB2 is not set +# CONFIG_VIDEO_HDPVR is not set +# CONFIG_VIDEO_EM28XX is not set +# CONFIG_VIDEO_CX231XX is not set +# CONFIG_VIDEO_TM6000 is not set +# CONFIG_VIDEO_USBVISION is not set +# CONFIG_USB_ET61X251 is not set +# CONFIG_USB_SN9C102 is not set +# CONFIG_USB_PWC is not set +# CONFIG_VIDEO_CPIA2 is not set +# CONFIG_USB_ZR364XX is not set +# CONFIG_USB_STKWEBCAM is not set +# CONFIG_USB_S2255 is not set +CONFIG_V4L_PCI_DRIVERS=y +# CONFIG_VIDEO_BT848 is not set +# CONFIG_VIDEO_CX88 is not set +# CONFIG_VIDEO_HEXIUM_GEMINI is not set +# CONFIG_VIDEO_HEXIUM_ORION is not set +# CONFIG_VIDEO_IVTV is not set +# CONFIG_VIDEO_MXB is not set +# CONFIG_VIDEO_SAA7134 is not set +CONFIG_V4L_PLATFORM_DRIVERS=y +# CONFIG_VIDEO_CAFE_CCIC is not set +# CONFIG_SOC_CAMERA is not set +# CONFIG_V4L_MEM2MEM_DRIVERS is not set +CONFIG_MSM_WFD=y +CONFIG_RADIO_ADAPTERS=y +# CONFIG_RADIO_SI470X is not set +# CONFIG_USB_MR800 is not set +# CONFIG_USB_DSBR is not set +# CONFIG_RADIO_MAXIRADIO is not set +# CONFIG_I2C_SI4713 is not set +# CONFIG_RADIO_SI4713 is not set +# CONFIG_USB_KEENE is not set +# CONFIG_RADIO_TEA5764 is not set +# CONFIG_RADIO_SAA7706H is not set +# CONFIG_RADIO_TEF6862 is not set +# CONFIG_RADIO_WL1273 is not set + +# +# Texas Instruments WL128x FM driver (ST based) +# +# CONFIG_RADIO_WL128X is not set +CONFIG_RADIO_IRIS=y +# CONFIG_RADIO_IRIS_TRANSPORT is not set + +# +# Graphics support +# +CONFIG_VGA_ARB=y +CONFIG_VGA_ARB_MAX_GPUS=16 +# CONFIG_DRM is not set +# CONFIG_STUB_POULSBO is not set +CONFIG_ION=y +CONFIG_ION_MSM=y +CONFIG_MSM_KGSL=y +# CONFIG_MSM_KGSL_CFF_DUMP is not set +# CONFIG_MSM_KGSL_PSTMRTMDMP_CP_STAT_NO_DETAIL is not set +# CONFIG_MSM_KGSL_PSTMRTMDMP_NO_IB_DUMP is not set +# CONFIG_MSM_KGSL_PSTMRTMDMP_RB_HEX is not set +CONFIG_MSM_KGSL_2D=y +CONFIG_KGSL_PER_PROCESS_PAGE_TABLE=y +CONFIG_MSM_KGSL_PAGE_TABLE_SIZE=0xFFF0000 +CONFIG_MSM_KGSL_PAGE_TABLE_COUNT=24 +CONFIG_MSM_KGSL_MMU_PAGE_FAULT=y +# CONFIG_MSM_KGSL_DISABLE_SHADOW_WRITES is not set +# CONFIG_MSM_KGSL_SIMPLE_GOV is not set +# CONFIG_VGASTATE is not set +# CONFIG_VIDEO_OUTPUT_CONTROL is not set +CONFIG_FB=y +# CONFIG_FIRMWARE_EDID is not set +# CONFIG_FB_DDC is not set +# CONFIG_FB_BOOT_VESA_SUPPORT is not set +CONFIG_FB_CFB_FILLRECT=y +CONFIG_FB_CFB_COPYAREA=y +CONFIG_FB_CFB_IMAGEBLIT=y +# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set +CONFIG_FB_SYS_FILLRECT=y +CONFIG_FB_SYS_COPYAREA=y +CONFIG_FB_SYS_IMAGEBLIT=y +# CONFIG_FB_FOREIGN_ENDIAN is not set +CONFIG_FB_SYS_FOPS=y +# CONFIG_FB_WMT_GE_ROPS is not set +# CONFIG_FB_SVGALIB is not set +# CONFIG_FB_MACMODES is not set +# CONFIG_FB_BACKLIGHT is not set +# CONFIG_FB_MODE_HELPERS is not set +# CONFIG_FB_TILEBLITTING is not set + +# +# Frame buffer hardware drivers +# +# CONFIG_FB_CIRRUS is not set +# CONFIG_FB_PM2 is not set +# CONFIG_FB_CYBER2000 is not set +# CONFIG_FB_ASILIANT is not set +# CONFIG_FB_IMSTT is not set +# CONFIG_FB_S1D13XXX is not set +# CONFIG_FB_NVIDIA is not set +# CONFIG_FB_RIVA is not set +# CONFIG_FB_I740 is not set +# CONFIG_FB_MATROX is not set +# CONFIG_FB_RADEON is not set +# CONFIG_FB_ATY128 is not set +# CONFIG_FB_ATY is not set +# CONFIG_FB_S3 is not set +# CONFIG_FB_SAVAGE is not set +# CONFIG_FB_SIS is not set +# CONFIG_FB_NEOMAGIC is not set +# CONFIG_FB_KYRO is not set +# CONFIG_FB_3DFX is not set +# CONFIG_FB_VOODOO1 is not set +# CONFIG_FB_VT8623 is not set +# CONFIG_FB_TRIDENT is not set +# CONFIG_FB_ARK is not set +# CONFIG_FB_PM3 is not set +# CONFIG_FB_CARMINE is not set +# CONFIG_FB_TMIO is not set +# CONFIG_FB_SMSCUFX is not set +# CONFIG_FB_UDL is not set +CONFIG_FB_VIRTUAL=y +# CONFIG_FB_METRONOME is not set +# CONFIG_FB_MB862XX is not set +# CONFIG_FB_BROADSHEET is not set +CONFIG_MSM_VIDC=y +CONFIG_MSM_VIDC_1080P=y +CONFIG_MSM_VIDC_VENC=y +CONFIG_MSM_VIDC_VDEC=y +# CONFIG_MSM_VIDC_CONTENT_PROTECTION is not set +CONFIG_FB_MSM=y +# CONFIG_FB_MSM_BACKLIGHT is not set +# CONFIG_FB_MSM_LOGO is not set +CONFIG_FB_MSM_LCDC_HW=y +CONFIG_FB_MSM_TRIPLE_BUFFER=y +CONFIG_FB_MSM_MDP_HW=y +# CONFIG_FB_MSM_MDP22 is not set +# CONFIG_FB_MSM_MDP30 is not set +# CONFIG_FB_MSM_MDP31 is not set +CONFIG_FB_MSM_MDP40=y +# CONFIG_FB_MSM_MDSS is not set +# CONFIG_FB_MSM_MDP_NONE is not set +# CONFIG_FB_MSM_EBI2 is not set +# CONFIG_FB_MSM_MDDI is not set +CONFIG_FB_MSM_MIPI_DSI=y +# CONFIG_FB_MSM_LCDC is not set +# CONFIG_FB_MSM_LVDS is not set +CONFIG_FB_MSM_OVERLAY=y +CONFIG_FB_MSM_DTV=y +# CONFIG_FB_MSM_EXTMDDI is not set +# CONFIG_FB_MSM_TVOUT is not set +# CONFIG_FB_MSM_MDDI_TOSHIBA_COMMON is not set +# CONFIG_FB_MSM_MDDI_TOSHIBA_COMMON_VGA is not set +# CONFIG_FB_MSM_MDDI_ORISE is not set +# CONFIG_FB_MSM_MDDI_QUICKVX is not set +# CONFIG_FB_MSM_MDDI_AUTO_DETECT is not set +# CONFIG_FB_MSM_LCDC_AUTO_DETECT is not set +# CONFIG_FB_MSM_LCDC_PANEL is not set +# CONFIG_FB_MSM_MIPI_DSI_TOSHIBA is not set +# CONFIG_FB_MSM_MIPI_DSI_LGIT is not set +# CONFIG_FB_MSM_MIPI_DSI_RENESAS is not set +# CONFIG_FB_MSM_MIPI_DSI_SIMULATOR is not set +CONFIG_FB_MSM_MIPI_DSI_NOVATEK=y +CONFIG_FB_MSM_MIPI_DSI_LG=y +CONFIG_FB_MSM_MIPI_DSI_JDI=y +# CONFIG_FB_MSM_MIPI_DSI_ORISE is not set +# CONFIG_FB_MSM_LCDC_ST15_WXGA is not set +# CONFIG_FB_MSM_LCDC_ST15_PANEL is not set +# CONFIG_FB_MSM_LCDC_PRISM_WVGA is not set +# CONFIG_FB_MSM_LCDC_SAMSUNG_WSVGA is not set +# CONFIG_FB_MSM_LCDC_CHIMEI_WXGA is not set +# CONFIG_FB_MSM_LCDC_GORDON_VGA is not set +# CONFIG_FB_MSM_LCDC_TOSHIBA_WVGA_PT is not set +# CONFIG_FB_MSM_LCDC_TOSHIBA_FWVGA_PT is not set +# CONFIG_FB_MSM_LCDC_SHARP_WVGA_PT is not set +# CONFIG_FB_MSM_LCDC_AUO_WVGA is not set +# CONFIG_FB_MSM_LCDC_TRULY_HVGA_IPS3P2335 is not set +# CONFIG_FB_MSM_LCDC_TRULY_HVGA_IPS3P2335_PT_PANEL is not set +# CONFIG_FB_MSM_LCDC_SAMSUNG_OLED_PT is not set +# CONFIG_FB_MSM_LCDC_NT35582_WVGA is not set +# CONFIG_FB_MSM_LCDC_WXGA is not set +# CONFIG_FB_MSM_MIPI_LGIT_VIDEO_WXGA_PT is not set +# CONFIG_FB_MSM_LVDS_CHIMEI_WXGA is not set +# CONFIG_FB_MSM_MIPI_TOSHIBA_VIDEO_WVGA_PT is not set +# CONFIG_FB_MSM_MIPI_TOSHIBA_VIDEO_WSVGA_PT is not set +# CONFIG_FB_MSM_MIPI_TOSHIBA_VIDEO_WUXGA is not set +# CONFIG_FB_MSM_MIPI_NOVATEK_VIDEO_QHD_PT is not set +# CONFIG_FB_MSM_MIPI_NOVATEK_CMD_QHD_PT is not set +CONFIG_FB_MSM_MIPI_NOVATEK_1080_HD_PT=y +CONFIG_FB_MSM_MIPI_LG_1080_HD_PT=y +CONFIG_FB_MSM_MIPI_JDI_1080_HD_PT=y +# CONFIG_FB_MSM_MIPI_ORISE_VIDEO_720P_PT is not set +# CONFIG_FB_MSM_MIPI_ORISE_CMD_720P_PT is not set +# CONFIG_FB_MSM_MIPI_RENESAS_VIDEO_FWVGA_PT is not set +# CONFIG_FB_MSM_MIPI_RENESAS_CMD_FWVGA_PT is not set +# CONFIG_FB_MSM_MIPI_NT35510_VIDEO_WVGA_PT is not set +# CONFIG_FB_MSM_MIPI_NT35510_CMD_WVGA_PT is not set +# CONFIG_FB_MSM_MIPI_NT35516_VIDEO_QHD_PT is not set +# CONFIG_FB_MSM_MIPI_NT35516_CMD_QHD_PT is not set +# CONFIG_FB_MSM_MIPI_CHIMEI_WXGA is not set +# CONFIG_FB_MSM_MIPI_CHIMEI_WUXGA is not set +# CONFIG_FB_MSM_MIPI_SIMULATOR_VIDEO is not set +CONFIG_FB_MSM_NO_MDP_PIPE_CTRL=y +CONFIG_FB_MSM_OVERLAY0_WRITEBACK=y +CONFIG_FB_MSM_OVERLAY1_WRITEBACK=y +# CONFIG_FB_MSM_WRITEBACK_MSM_PANEL is not set +CONFIG_FB_MSM_MIPI_NOVATEK_VIDEO_MODE=y +CONFIG_FB_MSM_MIPI_LG_VIDEO_MODE=y +CONFIG_FB_MSM_MIPI_JDI_CMD_MODE=y +CONFIG_FB_MSM_EXT_INTERFACE_COMMON=y +CONFIG_FB_MSM_HDMI_COMMON=y +CONFIG_FB_MSM_HDMI_3D=y +# CONFIG_FB_MSM_HDMI_ADV7520_PANEL is not set +CONFIG_FB_MSM_HDMI_MSM_PANEL=y +# CONFIG_FB_MSM_HDMI_MSM_PANEL_DVI_SUPPORT is not set +# CONFIG_FB_MSM_HDMI_MSM_PANEL_CEC_SUPPORT is not set +# CONFIG_FB_MSM_HDMI_MHL_9244 is not set +# CONFIG_FB_MSM_HDMI_MHL_8334 is not set +# CONFIG_FB_MSM_TVOUT_NTSC_M is not set +# CONFIG_FB_MSM_TVOUT_NTSC_J is not set +# CONFIG_FB_MSM_TVOUT_PAL_BDGHIN is not set +# CONFIG_FB_MSM_TVOUT_PAL_M is not set +# CONFIG_FB_MSM_TVOUT_PAL_N is not set +CONFIG_FB_MSM_TVOUT_NONE=y +# CONFIG_FB_MSM_DEFAULT_DEPTH_RGB565 is not set +# CONFIG_FB_MSM_DEFAULT_DEPTH_ARGB8888 is not set +CONFIG_FB_MSM_DEFAULT_DEPTH_RGBA8888=y +# CONFIG_FB_MSM_EBI2_EPSON_S1D_QVGA_PANEL is not set +# CONFIG_FB_MSM_EBI2_PANEL_DETECT is not set +# CONFIG_EXYNOS_VIDEO is not set +CONFIG_BACKLIGHT_LCD_SUPPORT=y +CONFIG_LCD_CLASS_DEVICE=y +# CONFIG_LCD_L4F00242T03 is not set +# CONFIG_LCD_LMS283GF05 is not set +# CONFIG_LCD_LTV350QV is not set +# CONFIG_LCD_TDO24M is not set +# CONFIG_LCD_VGG2432A4 is not set +# CONFIG_LCD_PLATFORM is not set +# CONFIG_LCD_S6E63M0 is not set +# CONFIG_LCD_LD9040 is not set +# CONFIG_LCD_AMS369FG06 is not set +CONFIG_BACKLIGHT_CLASS_DEVICE=y +CONFIG_BACKLIGHT_GENERIC=y +# CONFIG_BACKLIGHT_ADP8860 is not set +# CONFIG_BACKLIGHT_ADP8870 is not set +# CONFIG_BACKLIGHT_LP855X is not set +# CONFIG_BACKLIGHT_LM3530 is not set +# CONFIG_BACKLIGHT_LM3533 is not set + +# +# Console display driver support +# +CONFIG_DUMMY_CONSOLE=y +# CONFIG_FRAMEBUFFER_CONSOLE is not set +# CONFIG_LOGO is not set +CONFIG_SOUND=y +# CONFIG_SOUND_OSS_CORE is not set +CONFIG_SND=y +CONFIG_SND_TIMER=y +CONFIG_SND_PCM=y +CONFIG_SND_HWDEP=y +CONFIG_SND_RAWMIDI=y +CONFIG_SND_COMPRESS_OFFLOAD=y +CONFIG_SND_JACK=y +# CONFIG_SND_SEQUENCER is not set +# CONFIG_SND_MIXER_OSS is not set +# CONFIG_SND_PCM_OSS is not set +# CONFIG_SND_HRTIMER is not set +CONFIG_SND_DYNAMIC_MINORS=y +CONFIG_SND_SUPPORT_OLD_API=y +CONFIG_SND_VERBOSE_PROCFS=y +# CONFIG_SND_VERBOSE_PRINTK is not set +# CONFIG_SND_DEBUG is not set +# CONFIG_SND_RAWMIDI_SEQ is not set +# CONFIG_SND_OPL3_LIB_SEQ is not set +# CONFIG_SND_OPL4_LIB_SEQ is not set +# CONFIG_SND_SBAWE_SEQ is not set +# CONFIG_SND_EMU10K1_SEQ is not set +CONFIG_SND_DRIVERS=y +# CONFIG_SND_DUMMY is not set +# CONFIG_SND_ALOOP is not set +# CONFIG_SND_MTPAV is not set +# CONFIG_SND_SERIAL_U16550 is not set +# CONFIG_SND_MPU401 is not set +CONFIG_SND_PCI=y +# CONFIG_SND_AD1889 is not set +# CONFIG_SND_ALS300 is not set +# CONFIG_SND_ALI5451 is not set +# CONFIG_SND_ATIIXP is not set +# CONFIG_SND_ATIIXP_MODEM is not set +# CONFIG_SND_AU8810 is not set +# CONFIG_SND_AU8820 is not set +# CONFIG_SND_AU8830 is not set +# CONFIG_SND_AW2 is not set +# CONFIG_SND_AZT3328 is not set +# CONFIG_SND_BT87X is not set +# CONFIG_SND_CA0106 is not set +# CONFIG_SND_CMIPCI is not set +# CONFIG_SND_OXYGEN is not set +# CONFIG_SND_CS4281 is not set +# CONFIG_SND_CS46XX is not set +# CONFIG_SND_CS5535AUDIO is not set +# CONFIG_SND_CTXFI is not set +# CONFIG_SND_DARLA20 is not set +# CONFIG_SND_GINA20 is not set +# CONFIG_SND_LAYLA20 is not set +# CONFIG_SND_DARLA24 is not set +# CONFIG_SND_GINA24 is not set +# CONFIG_SND_LAYLA24 is not set +# CONFIG_SND_MONA is not set +# CONFIG_SND_MIA is not set +# CONFIG_SND_ECHO3G is not set +# CONFIG_SND_INDIGO is not set +# CONFIG_SND_INDIGOIO is not set +# CONFIG_SND_INDIGODJ is not set +# CONFIG_SND_INDIGOIOX is not set +# CONFIG_SND_INDIGODJX is not set +# CONFIG_SND_EMU10K1 is not set +# CONFIG_SND_EMU10K1X is not set +# CONFIG_SND_ENS1370 is not set +# CONFIG_SND_ENS1371 is not set +# CONFIG_SND_ES1938 is not set +# CONFIG_SND_ES1968 is not set +# CONFIG_SND_FM801 is not set +# CONFIG_SND_HDA_INTEL is not set +# CONFIG_SND_HDSP is not set +# CONFIG_SND_HDSPM is not set +# CONFIG_SND_ICE1712 is not set +# CONFIG_SND_ICE1724 is not set +# CONFIG_SND_INTEL8X0 is not set +# CONFIG_SND_INTEL8X0M is not set +# CONFIG_SND_KORG1212 is not set +# CONFIG_SND_LOLA is not set +# CONFIG_SND_LX6464ES is not set +# CONFIG_SND_MAESTRO3 is not set +# CONFIG_SND_MIXART is not set +# CONFIG_SND_NM256 is not set +# CONFIG_SND_PCXHR is not set +# CONFIG_SND_RIPTIDE is not set +# CONFIG_SND_RME32 is not set +# CONFIG_SND_RME96 is not set +# CONFIG_SND_RME9652 is not set +# CONFIG_SND_SONICVIBES is not set +# CONFIG_SND_TRIDENT is not set +# CONFIG_SND_VIA82XX is not set +# CONFIG_SND_VIA82XX_MODEM is not set +# CONFIG_SND_VIRTUOSO is not set +# CONFIG_SND_VX222 is not set +# CONFIG_SND_YMFPCI is not set +CONFIG_SND_ARM=y +CONFIG_SND_SPI=y +CONFIG_SND_USB=y +CONFIG_SND_USB_AUDIO=y +# CONFIG_SND_USB_UA101 is not set +# CONFIG_SND_USB_CAIAQ is not set +# CONFIG_SND_USB_6FIRE is not set +CONFIG_SND_SOC=y + +# +# MSM SoC Audio support +# +CONFIG_SND_SOC_MSM_HOSTLESS_PCM=y +CONFIG_SND_SOC_MSM_QDSP6_HDMI_AUDIO=y +CONFIG_SND_SOC_MSM_QDSP6_INTF=y +# CONFIG_SND_SOC_MSM_QDSP6V2_INTF is not set +CONFIG_SND_SOC_VOICE=y +CONFIG_SND_SOC_QDSP6=y +# CONFIG_SND_SOC_QDSP6V2 is not set +CONFIG_SND_SOC_MSM8960=y +# CONFIG_SND_SOC_DUAL_AMIC is not set +CONFIG_ASUSTEK_HEADSET=y +CONFIG_SND_SOC_I2C_AND_SPI=y +# CONFIG_SND_SOC_ALL_CODECS is not set +CONFIG_SND_SOC_WCD9304=y +CONFIG_SND_SOC_WCD9310=y +CONFIG_SND_SOC_CS8427=y +CONFIG_SND_SOC_MSM_STUB=y +# CONFIG_SND_SOC_TPA2028D is not set +# CONFIG_SOUND_PRIME is not set +CONFIG_HID_SUPPORT=y +CONFIG_HID=y +# CONFIG_HID_BATTERY_STRENGTH is not set +# CONFIG_HIDRAW is not set +CONFIG_UHID=y + +# +# USB Input Devices +# +CONFIG_USB_HID=y +# CONFIG_HID_PID is not set +# CONFIG_USB_HIDDEV is not set + +# +# Special HID drivers +# +CONFIG_HID_A4TECH=y +CONFIG_HID_ACRUX=y +CONFIG_HID_ACRUX_FF=y +CONFIG_HID_APPLE=y +CONFIG_HID_BELKIN=y +CONFIG_HID_CHERRY=y +CONFIG_HID_CHICONY=y +CONFIG_HID_PRODIKEYS=y +CONFIG_HID_CYPRESS=y +CONFIG_HID_DRAGONRISE=y +# CONFIG_DRAGONRISE_FF is not set +CONFIG_HID_EMS_FF=y +CONFIG_HID_EZKEY=y +CONFIG_HID_HOLTEK=y +# CONFIG_HOLTEK_FF is not set +CONFIG_HID_KEYTOUCH=y +CONFIG_HID_KYE=y +CONFIG_HID_UCLOGIC=y +CONFIG_HID_WALTOP=y +CONFIG_HID_GYRATION=y +CONFIG_HID_TWINHAN=y +CONFIG_HID_KENSINGTON=y +CONFIG_HID_LCPOWER=y +CONFIG_HID_LOGITECH=y +CONFIG_HID_LOGITECH_DJ=y +# CONFIG_LOGITECH_FF is not set +# CONFIG_LOGIRUMBLEPAD2_FF is not set +# CONFIG_LOGIG940_FF is not set +# CONFIG_LOGIWHEELS_FF is not set +CONFIG_HID_MICROSOFT=y +CONFIG_HID_MONTEREY=y +CONFIG_HID_MULTITOUCH=y +CONFIG_HID_NTRIG=y +CONFIG_HID_ORTEK=y +CONFIG_HID_PANTHERLORD=y +# CONFIG_PANTHERLORD_FF is not set +CONFIG_HID_PETALYNX=y +CONFIG_HID_PICOLCD=y +# CONFIG_HID_PICOLCD_FB is not set +# CONFIG_HID_PICOLCD_BACKLIGHT is not set +# CONFIG_HID_PICOLCD_LCD is not set +# CONFIG_HID_PICOLCD_LEDS is not set +CONFIG_HID_PRIMAX=y +CONFIG_HID_ROCCAT=y +CONFIG_HID_SAITEK=y +CONFIG_HID_SAMSUNG=y +CONFIG_HID_SONY=y +CONFIG_HID_SPEEDLINK=y +CONFIG_HID_SUNPLUS=y +CONFIG_HID_GREENASIA=y +# CONFIG_GREENASIA_FF is not set +CONFIG_HID_SMARTJOYPLUS=y +# CONFIG_SMARTJOYPLUS_FF is not set +CONFIG_HID_TIVO=y +CONFIG_HID_TOPSEED=y +CONFIG_HID_THRUSTMASTER=y +# CONFIG_THRUSTMASTER_FF is not set +CONFIG_HID_ZEROPLUS=y +# CONFIG_ZEROPLUS_FF is not set +CONFIG_HID_ZYDACRON=y +CONFIG_USB_ARCH_HAS_OHCI=y +CONFIG_USB_ARCH_HAS_EHCI=y +CONFIG_USB_ARCH_HAS_XHCI=y +CONFIG_USB_SUPPORT=y +CONFIG_USB_COMMON=y +CONFIG_USB_ARCH_HAS_HCD=y +CONFIG_USB=y +# CONFIG_USB_DEBUG is not set +CONFIG_USB_ANNOUNCE_NEW_DEVICES=y + +# +# Miscellaneous USB options +# +CONFIG_USB_DEVICEFS=y +CONFIG_USB_DEVICE_CLASS=y +# CONFIG_USB_DYNAMIC_MINORS is not set +CONFIG_USB_SUSPEND=y +# CONFIG_USB_OTG is not set +# CONFIG_USB_OTG_WHITELIST is not set +# CONFIG_USB_OTG_BLACKLIST_HUB is not set +# CONFIG_USB_DWC3 is not set +# CONFIG_USB_MON is not set +# CONFIG_USB_WUSB_CBAF is not set + +# +# USB Host Controller Drivers +# +# CONFIG_USB_C67X00_HCD is not set +# CONFIG_USB_XHCI_HCD is not set +CONFIG_USB_EHCI_HCD=y +CONFIG_USB_EHCI_EHSET=y +CONFIG_USB_EHCI_ROOT_HUB_TT=y +CONFIG_USB_EHCI_TT_NEWSCHED=y +CONFIG_USB_EHCI_MSM=y +CONFIG_USB_EHCI_MSM_HSIC=y +CONFIG_USB_EHCI_MSM_HOST4=y +# CONFIG_USB_OXU210HP_HCD is not set +# CONFIG_USB_ISP116X_HCD is not set +# CONFIG_USB_ISP1760_HCD is not set +# CONFIG_USB_ISP1362_HCD is not set +# CONFIG_USB_OHCI_HCD is not set +# CONFIG_USB_EHCI_HCD_PLATFORM is not set +# CONFIG_USB_UHCI_HCD is not set +# CONFIG_USB_SL811_HCD is not set +# CONFIG_USB_R8A66597_HCD is not set +# CONFIG_USB_PEHCI_HCD is not set +# CONFIG_USB_MUSB_HDRC is not set +# CONFIG_USB_RENESAS_USBHS is not set + +# +# USB Device Class drivers +# +CONFIG_USB_ACM=y +# CONFIG_USB_PRINTER is not set +# CONFIG_USB_WDM is not set +# CONFIG_USB_TMC is not set + +# +# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may +# + +# +# also be needed; see USB_STORAGE Help for more info +# +CONFIG_USB_STORAGE=y +# CONFIG_USB_STORAGE_DEBUG is not set +# CONFIG_USB_STORAGE_REALTEK is not set +CONFIG_USB_STORAGE_DATAFAB=y +CONFIG_USB_STORAGE_FREECOM=y +CONFIG_USB_STORAGE_ISD200=y +CONFIG_USB_STORAGE_USBAT=y +CONFIG_USB_STORAGE_SDDR09=y +CONFIG_USB_STORAGE_SDDR55=y +CONFIG_USB_STORAGE_JUMPSHOT=y +CONFIG_USB_STORAGE_ALAUDA=y +CONFIG_USB_STORAGE_ONETOUCH=y +CONFIG_USB_STORAGE_KARMA=y +CONFIG_USB_STORAGE_CYPRESS_ATACB=y +# CONFIG_USB_STORAGE_ENE_UB6250 is not set +# CONFIG_USB_UAS is not set +# CONFIG_USB_LIBUSUAL is not set + +# +# USB Imaging devices +# +# CONFIG_USB_MDC800 is not set +# CONFIG_USB_MICROTEK is not set + +# +# USB port drivers +# +CONFIG_USB_SERIAL=y +# CONFIG_USB_SERIAL_CONSOLE is not set +# CONFIG_USB_EZUSB is not set +# CONFIG_USB_SERIAL_GENERIC is not set +# CONFIG_USB_SERIAL_AIRCABLE is not set +# CONFIG_USB_SERIAL_ARK3116 is not set +# CONFIG_USB_SERIAL_BELKIN is not set +# CONFIG_USB_SERIAL_CH341 is not set +# CONFIG_USB_SERIAL_WHITEHEAT is not set +# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set +# CONFIG_USB_SERIAL_CP210X is not set +# CONFIG_USB_SERIAL_CYPRESS_M8 is not set +# CONFIG_USB_SERIAL_EMPEG is not set +# CONFIG_USB_SERIAL_FTDI_SIO is not set +# CONFIG_USB_SERIAL_FUNSOFT is not set +# CONFIG_USB_SERIAL_VISOR is not set +# CONFIG_USB_SERIAL_IPAQ is not set +# CONFIG_USB_SERIAL_IR is not set +# CONFIG_USB_SERIAL_EDGEPORT is not set +# CONFIG_USB_SERIAL_EDGEPORT_TI is not set +# CONFIG_USB_SERIAL_F81232 is not set +# CONFIG_USB_SERIAL_GARMIN is not set +# CONFIG_USB_SERIAL_IPW is not set +# CONFIG_USB_SERIAL_IUU is not set +# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set +# CONFIG_USB_SERIAL_KEYSPAN is not set +# CONFIG_USB_SERIAL_KLSI is not set +# CONFIG_USB_SERIAL_KOBIL_SCT is not set +# CONFIG_USB_SERIAL_MCT_U232 is not set +# CONFIG_USB_SERIAL_METRO is not set +# CONFIG_USB_SERIAL_MOS7720 is not set +# CONFIG_USB_SERIAL_MOS7840 is not set +# CONFIG_USB_SERIAL_MOTOROLA is not set +# CONFIG_USB_SERIAL_NAVMAN is not set +# CONFIG_USB_SERIAL_PL2303 is not set +# CONFIG_USB_SERIAL_OTI6858 is not set +# CONFIG_USB_SERIAL_QCAUX is not set +# CONFIG_USB_SERIAL_QUALCOMM is not set +# CONFIG_USB_SERIAL_SPCP8X5 is not set +# CONFIG_USB_SERIAL_HP4X is not set +# CONFIG_USB_SERIAL_SAFE is not set +# CONFIG_USB_SERIAL_SIEMENS_MPI is not set +# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set +# CONFIG_USB_SERIAL_SYMBOL is not set +# CONFIG_USB_SERIAL_TI is not set +# CONFIG_USB_SERIAL_CYBERJACK is not set +# CONFIG_USB_SERIAL_XIRCOM is not set +# CONFIG_USB_SERIAL_OPTION is not set +# CONFIG_USB_SERIAL_OMNINET is not set +# CONFIG_USB_SERIAL_OPTICON is not set +# CONFIG_USB_SERIAL_VIVOPAY_SERIAL is not set +# CONFIG_USB_SERIAL_ZIO is not set +# CONFIG_USB_SERIAL_SSU100 is not set +CONFIG_USB_SERIAL_CSVT=y +# CONFIG_USB_SERIAL_DEBUG is not set + +# +# USB Miscellaneous drivers +# +# CONFIG_USB_EMI62 is not set +# CONFIG_USB_EMI26 is not set +# CONFIG_USB_ADUTUX is not set +# CONFIG_USB_SEVSEG is not set +# CONFIG_USB_RIO500 is not set +# CONFIG_USB_LEGOTOWER is not set +# CONFIG_USB_LCD is not set +# CONFIG_USB_LED is not set +# CONFIG_USB_CYPRESS_CY7C63 is not set +# CONFIG_USB_CYTHERM is not set +# CONFIG_USB_IDMOUSE is not set +# CONFIG_USB_FTDI_ELAN is not set +# CONFIG_USB_APPLEDISPLAY is not set +# CONFIG_USB_SISUSBVGA is not set +# CONFIG_USB_LD is not set +# CONFIG_USB_TRANCEVIBRATOR is not set +# CONFIG_USB_IOWARRIOR is not set +# CONFIG_USB_TEST is not set +CONFIG_USB_EHSET_TEST_FIXTURE=y +# CONFIG_USB_ISIGHTFW is not set +# CONFIG_USB_YUREX is not set +CONFIG_USB_QCOM_DIAG_BRIDGE=y +# CONFIG_USB_QCOM_DIAG_BRIDGE_TEST is not set +CONFIG_USB_QCOM_MDM_BRIDGE=y +CONFIG_USB_QCOM_KS_BRIDGE=y +CONFIG_USB_GADGET=y +# CONFIG_USB_GADGET_DEBUG is not set +CONFIG_USB_GADGET_DEBUG_FILES=y +# CONFIG_USB_GADGET_DEBUG_FS is not set +CONFIG_USB_GADGET_VBUS_DRAW=500 +CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS=2 + +# +# USB Peripheral Controller +# +# CONFIG_USB_FUSB300 is not set +# CONFIG_USB_R8A66597 is not set +# CONFIG_USB_MV_UDC is not set +# CONFIG_USB_M66592 is not set +# CONFIG_USB_AMD5536UDC is not set +# CONFIG_USB_CI13XXX_PCI is not set +# CONFIG_USB_NET2272 is not set +# CONFIG_USB_NET2280 is not set +# CONFIG_USB_GOKU is not set +# CONFIG_USB_LANGWELL is not set +# CONFIG_USB_EG20T is not set +CONFIG_USB_CI13XXX_MSM=y +# CONFIG_USB_CI13XXX_MSM_HSIC is not set +# CONFIG_USB_DWC3_MSM is not set +# CONFIG_USB_MSM_72K is not set +# CONFIG_USB_DUMMY_HCD is not set +CONFIG_USB_GADGET_DUALSPEED=y +# CONFIG_USB_GADGET_SUPERSPEED is not set +# CONFIG_USB_ZERO is not set +# CONFIG_USB_AUDIO is not set +# CONFIG_USB_ETH is not set +# CONFIG_USB_G_NCM is not set +# CONFIG_USB_GADGETFS is not set +# CONFIG_USB_FUNCTIONFS is not set +# CONFIG_USB_FILE_STORAGE is not set +# CONFIG_USB_MASS_STORAGE is not set +# CONFIG_USB_G_SERIAL is not set +# CONFIG_USB_MIDI_GADGET is not set +# CONFIG_USB_G_PRINTER is not set +CONFIG_USB_G_ANDROID=y +# CONFIG_USB_CDC_COMPOSITE is not set +# CONFIG_USB_G_ACM_MS is not set +# CONFIG_USB_G_MULTI is not set +# CONFIG_USB_G_HID is not set +# CONFIG_USB_G_DBGP is not set +# CONFIG_USB_G_WEBCAM is not set +CONFIG_USB_CSW_HACK=y +# CONFIG_USB_MSC_PROFILING is not set +CONFIG_MODEM_SUPPORT=y +CONFIG_RMNET_SMD_CTL_CHANNEL="" +CONFIG_RMNET_SMD_DATA_CHANNEL="" +# CONFIG_USB_ANDROID_CDC_ECM is not set + +# +# OTG and related infrastructure +# +CONFIG_USB_OTG_UTILS=y +# CONFIG_USB_OTG_WAKELOCK is not set +# CONFIG_USB_GPIO_VBUS is not set +# CONFIG_USB_ULPI is not set +# CONFIG_USB_MSM_OTG_72K is not set +# CONFIG_NOP_USB_XCEIV is not set +CONFIG_USB_MSM_OTG=y +CONFIG_USB_MSM_ACA=y +CONFIG_USB_MSM_STANDARD_ACA=y +# CONFIG_UWB is not set +CONFIG_MMC=y +# CONFIG_MMC_DEBUG is not set +CONFIG_MMC_PERF_PROFILING=y +CONFIG_MMC_UNSAFE_RESUME=y +CONFIG_MMC_CLKGATE=y +# CONFIG_MMC_EMBEDDED_SDIO is not set +CONFIG_MMC_PARANOID_SD_INIT=y + +# +# MMC/SD/SDIO Card Drivers +# +CONFIG_MMC_BLOCK=y +# CONFIG_MMC_SECDISCARD is not set +CONFIG_MMC_BLOCK_MINORS=32 +# CONFIG_MMC_BLOCK_BOUNCE is not set +# CONFIG_MMC_BLOCK_DEFERRED_RESUME is not set +# CONFIG_SDIO_UART is not set +# CONFIG_MMC_TEST is not set + +# +# MMC/SD/SDIO Host Controller Drivers +# +# CONFIG_MMC_SDHCI is not set +# CONFIG_MMC_SDHCI_PXAV3 is not set +# CONFIG_MMC_SDHCI_PXAV2 is not set +CONFIG_MMC_MSM=y +# CONFIG_MMC_TIFM_SD is not set +CONFIG_MMC_MSM_SDC1_SUPPORT=y +CONFIG_MMC_MSM_SDC1_8_BIT_SUPPORT=y +# CONFIG_MMC_MSM_SDC2_SUPPORT is not set +# CONFIG_MMC_MSM_SDC3_SUPPORT is not set +# CONFIG_MMC_MSM_SDC3_POLLING is not set +# CONFIG_MMC_MSM_SDC4_SUPPORT is not set +# CONFIG_MMC_MSM_SDC5_SUPPORT is not set +CONFIG_MMC_MSM_SPS_SUPPORT=y +# CONFIG_MMC_CB710 is not set +# CONFIG_MMC_VIA_SDMMC is not set +# CONFIG_MMC_DW is not set +# CONFIG_MMC_VUB300 is not set +# CONFIG_MMC_USHC is not set +# CONFIG_MEMSTICK is not set +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y + +# +# LED drivers +# +# CONFIG_LEDS_LM3530 is not set +# CONFIG_LEDS_PCA9532 is not set +# CONFIG_LEDS_GPIO is not set +# CONFIG_LEDS_MSM_PDM is not set +# CONFIG_LEDS_PMIC_MPP is not set +# CONFIG_LEDS_MSM_TRICOLOR is not set +# CONFIG_LEDS_LP3944 is not set +# CONFIG_LEDS_CPLD is not set +# CONFIG_LEDS_LP5521 is not set +# CONFIG_LEDS_LP5523 is not set +# CONFIG_LEDS_PCA955X is not set +CONFIG_LEDS_PM8XXX=y +# CONFIG_LEDS_PCA9633 is not set +# CONFIG_LEDS_DAC124S085 is not set +# CONFIG_LEDS_REGULATOR is not set +# CONFIG_LEDS_BD2802 is not set +# CONFIG_LEDS_MSM_PMIC is not set +# CONFIG_LEDS_LT3593 is not set +# CONFIG_LEDS_RENESAS_TPU is not set +# CONFIG_LEDS_TCA6507 is not set +# CONFIG_LEDS_OT200 is not set +CONFIG_LEDS_TRIGGERS=y + +# +# LED Triggers +# +# CONFIG_LEDS_TRIGGER_TIMER is not set +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set +# CONFIG_LEDS_TRIGGER_GPIO is not set +# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set +# CONFIG_LEDS_TRIGGER_SLEEP is not set + +# +# iptables trigger is under Netfilter config (LED target) +# +CONFIG_SWITCH=y +# CONFIG_SWITCH_GPIO is not set +# CONFIG_SWITCH_FSA8008 is not set +# CONFIG_ACCESSIBILITY is not set +# CONFIG_INFINIBAND is not set +CONFIG_RTC_LIB=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_HCTOSYS=y +CONFIG_RTC_HCTOSYS_DEVICE="rtc0" +# CONFIG_RTC_DEBUG is not set + +# +# RTC interfaces +# +CONFIG_RTC_INTF_SYSFS=y +CONFIG_RTC_INTF_PROC=y +CONFIG_RTC_INTF_DEV=y +CONFIG_RTC_INTF_ALARM=y +CONFIG_RTC_INTF_ALARM_DEV=y +# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set +# CONFIG_RTC_DRV_TEST is not set + +# +# I2C RTC drivers +# +# CONFIG_RTC_DRV_DS1307 is not set +# CONFIG_RTC_DRV_DS1374 is not set +# CONFIG_RTC_DRV_DS1672 is not set +# CONFIG_RTC_DRV_DS3232 is not set +# CONFIG_RTC_DRV_MAX6900 is not set +# CONFIG_RTC_DRV_RS5C372 is not set +# CONFIG_RTC_DRV_ISL1208 is not set +# CONFIG_RTC_DRV_ISL12022 is not set +# CONFIG_RTC_DRV_X1205 is not set +# CONFIG_RTC_DRV_PCF8563 is not set +# CONFIG_RTC_DRV_PCF8583 is not set +# CONFIG_RTC_DRV_M41T80 is not set +# CONFIG_RTC_DRV_BQ32K is not set +# CONFIG_RTC_DRV_S35390A is not set +# CONFIG_RTC_DRV_FM3130 is not set +# CONFIG_RTC_DRV_RX8581 is not set +# CONFIG_RTC_DRV_RX8025 is not set +# CONFIG_RTC_DRV_EM3027 is not set +# CONFIG_RTC_DRV_RV3029C2 is not set + +# +# SPI RTC drivers +# +# CONFIG_RTC_DRV_M41T93 is not set +# CONFIG_RTC_DRV_M41T94 is not set +# CONFIG_RTC_DRV_DS1305 is not set +# CONFIG_RTC_DRV_DS1390 is not set +# CONFIG_RTC_DRV_MAX6902 is not set +# CONFIG_RTC_DRV_R9701 is not set +# CONFIG_RTC_DRV_RS5C348 is not set +# CONFIG_RTC_DRV_DS3234 is not set +# CONFIG_RTC_DRV_PCF2123 is not set + +# +# Platform RTC drivers +# +# CONFIG_RTC_DRV_CMOS is not set +# CONFIG_RTC_DRV_DS1286 is not set +# CONFIG_RTC_DRV_DS1511 is not set +# CONFIG_RTC_DRV_DS1553 is not set +# CONFIG_RTC_DRV_DS1742 is not set +# CONFIG_RTC_DRV_STK17TA8 is not set +# CONFIG_RTC_DRV_M48T86 is not set +# CONFIG_RTC_DRV_M48T35 is not set +# CONFIG_RTC_DRV_M48T59 is not set +# CONFIG_RTC_DRV_MSM6242 is not set +# CONFIG_RTC_DRV_BQ4802 is not set +# CONFIG_RTC_DRV_RP5C01 is not set +# CONFIG_RTC_DRV_V3020 is not set + +# +# on-CPU RTC drivers +# +# CONFIG_RTC_DRV_MSM is not set +# CONFIG_RTC_DRV_MSM7X00A is not set +CONFIG_RTC_DRV_PM8XXX=y +# CONFIG_DMADEVICES is not set +# CONFIG_AUXDISPLAY is not set +# CONFIG_UIO is not set + +# +# Virtio drivers +# +# CONFIG_VIRTIO_PCI is not set +# CONFIG_VIRTIO_BALLOON is not set +# CONFIG_VIRTIO_MMIO is not set + +# +# Microsoft Hyper-V guest support +# +CONFIG_STAGING=y +# CONFIG_ET131X is not set +# CONFIG_USBIP_CORE is not set +# CONFIG_PRISM2_USB is not set +# CONFIG_ECHO is not set +# CONFIG_ASUS_OLED is not set +# CONFIG_R8187SE is not set +# CONFIG_RTL8192U is not set +# CONFIG_RTLLIB is not set +# CONFIG_R8712U is not set +# CONFIG_RTS_PSTOR is not set +# CONFIG_RTS5139 is not set +# CONFIG_TRANZPORT is not set +# CONFIG_LINE6_USB is not set +# CONFIG_USB_SERIAL_QUATECH2 is not set +# CONFIG_USB_SERIAL_QUATECH_USB2 is not set +# CONFIG_VT6655 is not set +# CONFIG_VT6656 is not set +# CONFIG_VME_BUS is not set +# CONFIG_DX_SEP is not set +# CONFIG_IIO is not set +CONFIG_ZRAM=y +# CONFIG_ZRAM_DEBUG is not set +CONFIG_QCACHE=y +CONFIG_ZSMALLOC=y +# CONFIG_FB_SM7XX is not set +# CONFIG_CRYSTALHD is not set +# CONFIG_FB_XGI is not set +# CONFIG_USB_ENESTORAGE is not set +# CONFIG_BCM_WIMAX is not set +# CONFIG_FT1000 is not set + +# +# Speakup console speech +# +# CONFIG_SPEAKUP is not set +# CONFIG_TOUCHSCREEN_CLEARPAD_TM1217 is not set +# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set +# CONFIG_STAGING_MEDIA is not set + +# +# Android +# +CONFIG_ANDROID=y +CONFIG_ANDROID_BINDER_IPC=y +CONFIG_ASHMEM=y +CONFIG_ANDROID_LOGGER=y +CONFIG_ANDROID_PERSISTENT_RAM=y +CONFIG_ANDROID_RAM_CONSOLE=y +# CONFIG_PERSISTENT_TRACER is not set +CONFIG_ANDROID_TIMED_OUTPUT=y +CONFIG_ANDROID_TIMED_GPIO=y +CONFIG_ANDROID_LOW_MEMORY_KILLER=y +CONFIG_ANDROID_LOW_MEMORY_KILLER_AUTODETECT_OOM_ADJ_VALUES=y +# CONFIG_ANDROID_SWITCH is not set +# CONFIG_ANDROID_INTF_ALARM_DEV is not set +# CONFIG_PHONE is not set +# CONFIG_USB_WPAN_HCD is not set + +# +# Qualcomm Atheros Prima WLAN module +# +CONFIG_PRIMA_WLAN=y +# CONFIG_PRIMA_WLAN_BTAMP is not set +CONFIG_PRIMA_WLAN_LFR=y +CONFIG_PRIMA_WLAN_OKC=y +# CONFIG_PRIMA_WLAN_11AC_HIGH_TP is not set +# CONFIG_QCOM_VOWIFI_11R is not set + +# +# Qualcomm MSM specific device drivers +# +CONFIG_MSM_SSBI=y +CONFIG_SPS=y +# CONFIG_USB_BAM is not set +CONFIG_SPS_SUPPORT_BAMDMA=y +# CONFIG_SPS_SUPPORT_NDP_BAM is not set +CONFIG_CLKDEV_LOOKUP=y +CONFIG_HAVE_CLK_PREPARE=y + +# +# Hardware Spinlock drivers +# +CONFIG_IOMMU_SUPPORT=y +CONFIG_MSM_IOMMU=y +CONFIG_MSM_IOMMU_GPU_SYNC=y +CONFIG_IOMMU_PGTABLES_L2=y + +# +# Remoteproc drivers (EXPERIMENTAL) +# + +# +# Rpmsg drivers (EXPERIMENTAL) +# +# CONFIG_VIRT_DRIVERS is not set +# CONFIG_PM_DEVFREQ is not set +# CONFIG_MOBICORE_SUPPORT is not set +# CONFIG_CORESIGHT is not set + +# +# File systems +# +CONFIG_EXT2_FS=y +CONFIG_EXT2_FS_XATTR=y +CONFIG_EXT2_FS_POSIX_ACL=y +CONFIG_EXT2_FS_SECURITY=y +# CONFIG_EXT2_FS_XIP is not set +CONFIG_EXT3_FS=y +# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set +CONFIG_EXT3_FS_XATTR=y +CONFIG_EXT3_FS_POSIX_ACL=y +CONFIG_EXT3_FS_SECURITY=y +CONFIG_EXT4_FS=y +CONFIG_EXT4_FS_XATTR=y +CONFIG_EXT4_FS_POSIX_ACL=y +CONFIG_EXT4_FS_SECURITY=y +# CONFIG_EXT4_DEBUG is not set +CONFIG_JBD=y +# CONFIG_JBD_DEBUG is not set +CONFIG_JBD2=y +# CONFIG_JBD2_DEBUG is not set +CONFIG_FS_MBCACHE=y +# CONFIG_REISERFS_FS is not set +# CONFIG_JFS_FS is not set +# CONFIG_XFS_FS is not set +# CONFIG_GFS2_FS is not set +# CONFIG_BTRFS_FS is not set +# CONFIG_NILFS2_FS is not set +CONFIG_FS_POSIX_ACL=y +CONFIG_EXPORTFS=y +CONFIG_FILE_LOCKING=y +CONFIG_FSNOTIFY=y +CONFIG_DNOTIFY=y +CONFIG_INOTIFY_USER=y +CONFIG_FANOTIFY=y +CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y +# CONFIG_QUOTA is not set +# CONFIG_QUOTACTL is not set +# CONFIG_AUTOFS4_FS is not set +CONFIG_FUSE_FS=y +# CONFIG_OVERLAYFS_FS is not set +# CONFIG_CUSE is not set +CONFIG_GENERIC_ACL=y + +# +# Caches +# +# CONFIG_FSCACHE is not set + +# +# CD-ROM/DVD Filesystems +# +CONFIG_ISO9660_FS=y +CONFIG_JOLIET=y +CONFIG_ZISOFS=y +CONFIG_UDF_FS=y +CONFIG_UDF_NLS=y + +# +# DOS/FAT/NT Filesystems +# +CONFIG_FAT_FS=y +# CONFIG_MSDOS_FS is not set +CONFIG_VFAT_FS=y +CONFIG_FAT_DEFAULT_CODEPAGE=437 +CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" +CONFIG_NTFS_FS=y +# CONFIG_NTFS_DEBUG is not set +CONFIG_NTFS_RW=y + +# +# Pseudo filesystems +# +CONFIG_PROC_FS=y +CONFIG_PROC_SYSCTL=y +CONFIG_PROC_PAGE_MONITOR=y +CONFIG_SYSFS=y +CONFIG_TMPFS=y +CONFIG_TMPFS_POSIX_ACL=y +CONFIG_TMPFS_XATTR=y +# CONFIG_HUGETLB_PAGE is not set +# CONFIG_CONFIGFS_FS is not set +CONFIG_MISC_FILESYSTEMS=y +# CONFIG_ADFS_FS is not set +# CONFIG_AFFS_FS is not set +CONFIG_ECRYPT_FS=y +# CONFIG_HFS_FS is not set +# CONFIG_HFSPLUS_FS is not set +# CONFIG_BEFS_FS is not set +# CONFIG_BFS_FS is not set +# CONFIG_EFS_FS is not set +# CONFIG_LOGFS is not set +# CONFIG_CRAMFS is not set +CONFIG_SQUASHFS=y +CONFIG_SQUASHFS_XATTR=y +CONFIG_SQUASHFS_ZLIB=y +CONFIG_SQUASHFS_LZO=y +CONFIG_SQUASHFS_XZ=y +# CONFIG_SQUASHFS_4K_DEVBLK_SIZE is not set +# CONFIG_SQUASHFS_EMBEDDED is not set +CONFIG_SQUASHFS_FRAGMENT_CACHE_SIZE=3 +# CONFIG_VXFS_FS is not set +# CONFIG_MINIX_FS is not set +# CONFIG_OMFS_FS is not set +# CONFIG_HPFS_FS is not set +# CONFIG_QNX4FS_FS is not set +# CONFIG_QNX6FS_FS is not set +# CONFIG_ROMFS_FS is not set +# CONFIG_PSTORE is not set +# CONFIG_SYSV_FS is not set +# CONFIG_UFS_FS is not set +CONFIG_NETWORK_FILESYSTEMS=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=y +# CONFIG_NFS_V4_1 is not set +# CONFIG_ROOT_NFS is not set +# CONFIG_NFS_USE_LEGACY_DNS is not set +CONFIG_NFS_USE_KERNEL_DNS=y +# CONFIG_NFSD is not set +CONFIG_LOCKD=y +CONFIG_LOCKD_V4=y +CONFIG_NFS_ACL_SUPPORT=y +CONFIG_NFS_COMMON=y +CONFIG_SUNRPC=y +CONFIG_SUNRPC_GSS=y +CONFIG_RPCSEC_GSS_KRB5=m +# CONFIG_SUNRPC_DEBUG is not set +# CONFIG_CEPH_FS is not set +CONFIG_CIFS=y +# CONFIG_CIFS_STATS is not set +# CONFIG_CIFS_WEAK_PW_HASH is not set +# CONFIG_CIFS_UPCALL is not set +# CONFIG_CIFS_XATTR is not set +# CONFIG_CIFS_DEBUG2 is not set +# CONFIG_CIFS_DFS_UPCALL is not set +# CONFIG_NCP_FS is not set +# CONFIG_CODA_FS is not set +# CONFIG_AFS_FS is not set +CONFIG_NLS=y +CONFIG_NLS_DEFAULT="iso8859-1" +CONFIG_NLS_CODEPAGE_437=y +# CONFIG_NLS_CODEPAGE_737 is not set +# CONFIG_NLS_CODEPAGE_775 is not set +# CONFIG_NLS_CODEPAGE_850 is not set +# CONFIG_NLS_CODEPAGE_852 is not set +# CONFIG_NLS_CODEPAGE_855 is not set +# CONFIG_NLS_CODEPAGE_857 is not set +# CONFIG_NLS_CODEPAGE_860 is not set +# CONFIG_NLS_CODEPAGE_861 is not set +# CONFIG_NLS_CODEPAGE_862 is not set +# CONFIG_NLS_CODEPAGE_863 is not set +# CONFIG_NLS_CODEPAGE_864 is not set +# CONFIG_NLS_CODEPAGE_865 is not set +# CONFIG_NLS_CODEPAGE_866 is not set +# CONFIG_NLS_CODEPAGE_869 is not set +# CONFIG_NLS_CODEPAGE_936 is not set +# CONFIG_NLS_CODEPAGE_950 is not set +# CONFIG_NLS_CODEPAGE_932 is not set +# CONFIG_NLS_CODEPAGE_949 is not set +# CONFIG_NLS_CODEPAGE_874 is not set +# CONFIG_NLS_ISO8859_8 is not set +# CONFIG_NLS_CODEPAGE_1250 is not set +# CONFIG_NLS_CODEPAGE_1251 is not set +CONFIG_NLS_ASCII=y +CONFIG_NLS_ISO8859_1=y +# CONFIG_NLS_ISO8859_2 is not set +# CONFIG_NLS_ISO8859_3 is not set +# CONFIG_NLS_ISO8859_4 is not set +# CONFIG_NLS_ISO8859_5 is not set +# CONFIG_NLS_ISO8859_6 is not set +# CONFIG_NLS_ISO8859_7 is not set +# CONFIG_NLS_ISO8859_9 is not set +# CONFIG_NLS_ISO8859_13 is not set +# CONFIG_NLS_ISO8859_14 is not set +# CONFIG_NLS_ISO8859_15 is not set +# CONFIG_NLS_KOI8_R is not set +# CONFIG_NLS_KOI8_U is not set +CONFIG_NLS_UTF8=y + +# +# Kernel hacking +# +CONFIG_PRINTK_TIME=y +CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 +CONFIG_ENABLE_WARN_DEPRECATED=y +CONFIG_ENABLE_MUST_CHECK=y +CONFIG_FRAME_WARN=1024 +CONFIG_MAGIC_SYSRQ=y +# CONFIG_STRIP_ASM_SYMS is not set +# CONFIG_UNUSED_SYMBOLS is not set +CONFIG_DEBUG_FS=y +# CONFIG_HEADERS_CHECK is not set +# CONFIG_DEBUG_SECTION_MISMATCH is not set +CONFIG_DEBUG_KERNEL=y +# CONFIG_DEBUG_SHIRQ is not set +# CONFIG_LOCKUP_DETECTOR is not set +# CONFIG_HARDLOCKUP_DETECTOR is not set +# CONFIG_DETECT_HUNG_TASK is not set +# CONFIG_SCHED_DEBUG is not set +# CONFIG_SCHEDSTATS is not set +CONFIG_TIMER_STATS=y +# CONFIG_DEBUG_OBJECTS is not set +# CONFIG_SLUB_DEBUG_ON is not set +# CONFIG_SLUB_STATS is not set +# CONFIG_DEBUG_KMEMLEAK is not set +# CONFIG_DEBUG_PREEMPT is not set +# CONFIG_DEBUG_RT_MUTEXES is not set +# CONFIG_RT_MUTEX_TESTER is not set +# CONFIG_DEBUG_SPINLOCK is not set +# CONFIG_DEBUG_MUTEXES is not set +# CONFIG_DEBUG_LOCK_ALLOC is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_SPARSE_RCU_POINTER is not set +# CONFIG_LOCK_STAT is not set +# CONFIG_DEBUG_ATOMIC_SLEEP is not set +# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set +CONFIG_STACKTRACE=y +# CONFIG_DEBUG_STACK_USAGE is not set +# CONFIG_DEBUG_KOBJECT is not set +# CONFIG_DEBUG_HIGHMEM is not set +CONFIG_DEBUG_BUGVERBOSE=y +CONFIG_DEBUG_INFO=y +# CONFIG_DEBUG_INFO_REDUCED is not set +# CONFIG_DEBUG_VM is not set +# CONFIG_DEBUG_WRITECOUNT is not set +CONFIG_DEBUG_MEMORY_INIT=y +# CONFIG_DEBUG_LIST is not set +# CONFIG_TEST_LIST_SORT is not set +# CONFIG_DEBUG_SG is not set +# CONFIG_DEBUG_NOTIFIERS is not set +# CONFIG_DEBUG_CREDENTIALS is not set +# CONFIG_BOOT_PRINTK_DELAY is not set +# CONFIG_RCU_TORTURE_TEST is not set +CONFIG_RCU_CPU_STALL_TIMEOUT=60 +CONFIG_RCU_CPU_STALL_VERBOSE=y +# CONFIG_RCU_CPU_STALL_INFO is not set +# CONFIG_RCU_TRACE is not set +# CONFIG_BACKTRACE_SELF_TEST is not set +# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set +# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set +# CONFIG_DEBUG_PER_CPU_MAPS is not set +# CONFIG_LKDTM is not set +# CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set +# CONFIG_FAULT_INJECTION is not set +# CONFIG_DEBUG_PAGEALLOC is not set +CONFIG_NOP_TRACER=y +CONFIG_HAVE_FUNCTION_TRACER=y +CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y +CONFIG_HAVE_DYNAMIC_FTRACE=y +CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y +CONFIG_HAVE_C_RECORDMCOUNT=y +CONFIG_RING_BUFFER=y +CONFIG_EVENT_TRACING=y +CONFIG_EVENT_POWER_TRACING_DEPRECATED=y +CONFIG_CONTEXT_SWITCH_TRACER=y +CONFIG_TRACING=y +CONFIG_TRACING_SUPPORT=y +CONFIG_FTRACE=y +# CONFIG_FUNCTION_TRACER is not set +# CONFIG_IRQSOFF_TRACER is not set +# CONFIG_PREEMPT_TRACER is not set +# CONFIG_SCHED_TRACER is not set +CONFIG_ENABLE_DEFAULT_TRACERS=y +CONFIG_BRANCH_PROFILE_NONE=y +# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set +# CONFIG_PROFILE_ALL_BRANCHES is not set +# CONFIG_STACK_TRACER is not set +# CONFIG_BLK_DEV_IO_TRACE is not set +# CONFIG_CPU_FREQ_SWITCH_PROFILER is not set +# CONFIG_RING_BUFFER_BENCHMARK is not set +CONFIG_DYNAMIC_DEBUG=y +# CONFIG_DMA_API_DEBUG is not set +# CONFIG_ATOMIC64_SELFTEST is not set +# CONFIG_SAMPLES is not set +CONFIG_HAVE_ARCH_KGDB=y +# CONFIG_KGDB is not set +# CONFIG_TEST_KSTRTOX is not set +CONFIG_STRICT_DEVMEM=y +CONFIG_ARM_UNWIND=y +# CONFIG_DEBUG_USER is not set +CONFIG_DEBUG_RODATA=y +# CONFIG_DEBUG_RODATA_TEST is not set +# CONFIG_DEBUG_LL is not set +CONFIG_PID_IN_CONTEXTIDR=y + +# +# Security options +# +CONFIG_KEYS=y +CONFIG_ENCRYPTED_KEYS=y +# CONFIG_KEYS_DEBUG_PROC_KEYS is not set +# CONFIG_SECURITY_DMESG_RESTRICT is not set +CONFIG_SECURITY=y +CONFIG_SECURITYFS=y +CONFIG_SECURITY_NETWORK=y +# CONFIG_SECURITY_NETWORK_XFRM is not set +CONFIG_SECURITY_PATH=y +CONFIG_LSM_MMAP_MIN_ADDR=4096 +CONFIG_SECURITY_SELINUX=y +CONFIG_SECURITY_SELINUX_BOOTPARAM=y +CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 +CONFIG_SECURITY_SELINUX_DISABLE=y +CONFIG_SECURITY_SELINUX_DEVELOP=y +CONFIG_SECURITY_SELINUX_AVC_STATS=y +CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 +# CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set +CONFIG_SECURITY_SMACK=y +CONFIG_SECURITY_TOMOYO=y +CONFIG_SECURITY_TOMOYO_MAX_ACCEPT_ENTRY=2048 +CONFIG_SECURITY_TOMOYO_MAX_AUDIT_LOG=1024 +# CONFIG_SECURITY_TOMOYO_OMIT_USERSPACE_LOADER is not set +CONFIG_SECURITY_TOMOYO_POLICY_LOADER="/sbin/tomoyo-init" +CONFIG_SECURITY_TOMOYO_ACTIVATION_TRIGGER="/sbin/init" +CONFIG_SECURITY_APPARMOR=y +CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 +# CONFIG_SECURITY_APPARMOR_STATS is not set +CONFIG_SECURITY_APPARMOR_UNCONFINED_INIT=y +CONFIG_SECURITY_APPARMOR_HASH=y +CONFIG_SECURITY_YAMA=y +CONFIG_SECURITY_YAMA_STACKED=y +CONFIG_INTEGRITY=y +CONFIG_INTEGRITY_SIGNATURE=y +# CONFIG_IMA is not set +CONFIG_EVM=y +# CONFIG_DEFAULT_SECURITY_SELINUX is not set +# CONFIG_DEFAULT_SECURITY_SMACK is not set +# CONFIG_DEFAULT_SECURITY_TOMOYO is not set +CONFIG_DEFAULT_SECURITY_APPARMOR=y +# CONFIG_DEFAULT_SECURITY_YAMA is not set +# CONFIG_DEFAULT_SECURITY_DAC is not set +CONFIG_DEFAULT_SECURITY="apparmor" +CONFIG_CRYPTO=y + +# +# Crypto core or helper +# +CONFIG_CRYPTO_ALGAPI=y +CONFIG_CRYPTO_ALGAPI2=y +CONFIG_CRYPTO_AEAD=y +CONFIG_CRYPTO_AEAD2=y +CONFIG_CRYPTO_BLKCIPHER=y +CONFIG_CRYPTO_BLKCIPHER2=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y +CONFIG_CRYPTO_RNG=y +CONFIG_CRYPTO_RNG2=y +CONFIG_CRYPTO_PCOMP=m +CONFIG_CRYPTO_PCOMP2=y +CONFIG_CRYPTO_MANAGER=y +CONFIG_CRYPTO_MANAGER2=y +CONFIG_CRYPTO_USER=m +CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y +CONFIG_CRYPTO_GF128MUL=m +CONFIG_CRYPTO_NULL=m +CONFIG_CRYPTO_PCRYPT=m +CONFIG_CRYPTO_WORKQUEUE=y +CONFIG_CRYPTO_CRYPTD=m +CONFIG_CRYPTO_AUTHENC=y +CONFIG_CRYPTO_TEST=m + +# +# Authenticated Encryption with Associated Data +# +CONFIG_CRYPTO_CCM=m +CONFIG_CRYPTO_GCM=m +CONFIG_CRYPTO_SEQIV=m + +# +# Block modes +# +CONFIG_CRYPTO_CBC=y +CONFIG_CRYPTO_CTR=m +CONFIG_CRYPTO_CTS=m +CONFIG_CRYPTO_ECB=y +CONFIG_CRYPTO_LRW=m +CONFIG_CRYPTO_PCBC=m +CONFIG_CRYPTO_XTS=m + +# +# Hash modes +# +CONFIG_CRYPTO_CMAC=y +CONFIG_CRYPTO_HMAC=y +CONFIG_CRYPTO_XCBC=m +CONFIG_CRYPTO_VMAC=m + +# +# Digest +# +CONFIG_CRYPTO_CRC32C=y +CONFIG_CRYPTO_GHASH=m +CONFIG_CRYPTO_MD4=y +CONFIG_CRYPTO_MD5=y +CONFIG_CRYPTO_MICHAEL_MIC=m +CONFIG_CRYPTO_RMD128=m +CONFIG_CRYPTO_RMD160=m +CONFIG_CRYPTO_RMD256=m +CONFIG_CRYPTO_RMD320=m +CONFIG_CRYPTO_SHA1=y +CONFIG_CRYPTO_SHA256=y +CONFIG_CRYPTO_SHA512=y +CONFIG_CRYPTO_TGR192=m +CONFIG_CRYPTO_WP512=m + +# +# Ciphers +# +CONFIG_CRYPTO_AES=y +CONFIG_CRYPTO_ANUBIS=m +CONFIG_CRYPTO_ARC4=y +CONFIG_CRYPTO_BLOWFISH=m +CONFIG_CRYPTO_BLOWFISH_COMMON=m +CONFIG_CRYPTO_CAMELLIA=m +CONFIG_CRYPTO_CAST5=m +CONFIG_CRYPTO_CAST6=m +CONFIG_CRYPTO_DES=y +CONFIG_CRYPTO_FCRYPT=m +CONFIG_CRYPTO_KHAZAD=m +CONFIG_CRYPTO_SALSA20=m +CONFIG_CRYPTO_SEED=m +CONFIG_CRYPTO_SERPENT=m +CONFIG_CRYPTO_TEA=m +CONFIG_CRYPTO_TWOFISH=m +CONFIG_CRYPTO_TWOFISH_COMMON=m + +# +# Compression +# +CONFIG_CRYPTO_DEFLATE=y +CONFIG_CRYPTO_ZLIB=m +CONFIG_CRYPTO_LZO=m + +# +# Random Number Generation +# +CONFIG_CRYPTO_ANSI_CPRNG=m +CONFIG_CRYPTO_USER_API=y +CONFIG_CRYPTO_USER_API_HASH=y +CONFIG_CRYPTO_USER_API_SKCIPHER=y +CONFIG_CRYPTO_HW=y +# CONFIG_CRYPTO_DEV_HIFN_795X is not set +# CONFIG_CRYPTO_DEV_QCRYPTO is not set +# CONFIG_CRYPTO_DEV_QCE is not set +# CONFIG_CRYPTO_DEV_QCEDEV is not set +# CONFIG_CRYPTO_DEV_OTA_CRYPTO is not set +CONFIG_BINARY_PRINTF=y + +# +# Library routines +# +CONFIG_BITREVERSE=y +CONFIG_GENERIC_PCI_IOMAP=y +CONFIG_GENERIC_IO=y +CONFIG_CRC_CCITT=y +CONFIG_CRC16=y +# CONFIG_CRC_T10DIF is not set +CONFIG_CRC_ITU_T=y +CONFIG_CRC32=y +# CONFIG_CRC32_SELFTEST is not set +CONFIG_CRC32_SLICEBY8=y +# CONFIG_CRC32_SLICEBY4 is not set +# CONFIG_CRC32_SARWATE is not set +# CONFIG_CRC32_BIT is not set +# CONFIG_CRC7 is not set +CONFIG_LIBCRC32C=y +# CONFIG_CRC8 is not set +CONFIG_AUDIT_GENERIC=y +CONFIG_ZLIB_INFLATE=y +CONFIG_ZLIB_DEFLATE=y +CONFIG_LZO_COMPRESS=y +CONFIG_LZO_DECOMPRESS=y +CONFIG_XZ_DEC=y +# CONFIG_XZ_DEC_X86 is not set +# CONFIG_XZ_DEC_POWERPC is not set +# CONFIG_XZ_DEC_IA64 is not set +CONFIG_XZ_DEC_ARM=y +CONFIG_XZ_DEC_ARMTHUMB=y +# CONFIG_XZ_DEC_SPARC is not set +CONFIG_XZ_DEC_BCJ=y +# CONFIG_XZ_DEC_TEST is not set +CONFIG_DECOMPRESS_GZIP=y +CONFIG_DECOMPRESS_BZIP2=y +CONFIG_DECOMPRESS_LZMA=y +CONFIG_DECOMPRESS_XZ=y +CONFIG_DECOMPRESS_LZO=y +CONFIG_GENERIC_ALLOCATOR=y +CONFIG_REED_SOLOMON=y +CONFIG_REED_SOLOMON_ENC8=y +CONFIG_REED_SOLOMON_DEC8=y +CONFIG_TEXTSEARCH=y +CONFIG_TEXTSEARCH_KMP=y +CONFIG_TEXTSEARCH_BM=y +CONFIG_TEXTSEARCH_FSM=y +CONFIG_HAS_IOMEM=y +CONFIG_HAS_IOPORT=y +CONFIG_HAS_DMA=y +CONFIG_CPU_RMAP=y +CONFIG_DQL=y +CONFIG_NLATTR=y +# CONFIG_AVERAGE is not set +CONFIG_CLZ_TAB=y +# CONFIG_CORDIC is not set +CONFIG_MPILIB=y +CONFIG_SIGNATURE=y +CONFIG_BACKPORT_INTEGRATE=y +CONFIG_BACKPORT_DIR="backports/" +CONFIG_BACKPORT_VERSION="v4.2-rc1-1-3-g0d0798b" +CONFIG_BACKPORT_KERNEL_VERSION="v4.2-rc7-0-g2c6625c" +CONFIG_BACKPORT_KERNEL_NAME="Linux" +CONFIG_BACKPORT_LINUX=y +CONFIG_BACKPORT_KERNEL_3_5=y +CONFIG_BACKPORT_KERNEL_3_6=y +CONFIG_BACKPORT_KERNEL_3_7=y +CONFIG_BACKPORT_KERNEL_3_8=y +CONFIG_BACKPORT_KERNEL_3_9=y +CONFIG_BACKPORT_KERNEL_3_10=y +CONFIG_BACKPORT_KERNEL_3_11=y +CONFIG_BACKPORT_KERNEL_3_12=y +CONFIG_BACKPORT_KERNEL_3_13=y +CONFIG_BACKPORT_KERNEL_3_14=y +CONFIG_BACKPORT_KERNEL_3_15=y +CONFIG_BACKPORT_KERNEL_3_16=y +CONFIG_BACKPORT_KERNEL_3_17=y +CONFIG_BACKPORT_KERNEL_3_18=y +CONFIG_BACKPORT_KERNEL_3_19=y +CONFIG_BACKPORT_KERNEL_4_0=y +CONFIG_BACKPORT_KERNEL_4_1=y +CONFIG_BACKPORT_KERNEL_4_2=y +CONFIG_BACKPORT_BPAUTO_USERSEL_BUILD_ALL=y +# CONFIG_BACKPORT_BPAUTO_BUILD_CRYPTO_CCM is not set +CONFIG_BACKPORT_BT=y +CONFIG_BACKPORT_BT_BREDR=y +CONFIG_BACKPORT_BT_RFCOMM=y +CONFIG_BACKPORT_BT_BNEP=y +CONFIG_BACKPORT_BT_BNEP_MC_FILTER=y +CONFIG_BACKPORT_BT_BNEP_PROTO_FILTER=y +CONFIG_BACKPORT_BT_HIDP=y +CONFIG_BACKPORT_BT_LE=y +# CONFIG_BACKPORT_BT_SELFTEST is not set +CONFIG_BACKPORT_BT_DEBUGFS=y + +# +# Bluetooth device drivers +# +# CONFIG_BACKPORT_BT_HCIBTUSB is not set +# CONFIG_BACKPORT_BT_HCIBTSDIO is not set +CONFIG_BACKPORT_BT_HCISMD=y +# CONFIG_BACKPORT_BT_HCIBCM203X is not set +# CONFIG_BACKPORT_BT_HCIBPA10X is not set +# CONFIG_BACKPORT_BT_HCIBFUSB is not set +CONFIG_BACKPORT_BT_HCIVHCI=m +# CONFIG_BACKPORT_BT_MRVL is not set +# CONFIG_BACKPORT_6LOWPAN is not set +# CONFIG_BACKPORT_IEEE802154 is not set + +# +# Anbox +# +CONFIG_ANBOX=y +CONFIG_ANBOX_BINDER_IPC=y +# CONFIG_ANBOX_BINDER_IPC_32BIT is not set diff --git a/debian/commit-templates/bumpabi b/debian/commit-templates/bumpabi deleted file mode 100644 index 6c373c9726b..00000000000 --- a/debian/commit-templates/bumpabi +++ /dev/null @@ -1,3 +0,0 @@ -UBUNTU: Bump ABI - -Ignore: yes diff --git a/debian/commit-templates/config-updates b/debian/commit-templates/config-updates deleted file mode 100644 index 4b62c299965..00000000000 --- a/debian/commit-templates/config-updates +++ /dev/null @@ -1,15 +0,0 @@ -# -# This template is used for commit messages that don't need to -# show up in debian/changelog. Administrative stuff like config -# updates, ABI bumps, etc. Setting 'Ignore: yes' prevents -# 'debian/rules insertchanges' from inserting this commit meesage -# as a changelog entry. -# -# Please give a one-line description of the config change followed -# by a detailed explanation if necessary - -UBUNTU: [Config] XXXX - -# BugLink: http://bugs.launchpad.net/bugs/ -# Ignore: yes -# Other text below here. diff --git a/debian/commit-templates/external-driver b/debian/commit-templates/external-driver deleted file mode 100644 index decdc897bdd..00000000000 --- a/debian/commit-templates/external-driver +++ /dev/null @@ -1,20 +0,0 @@ -# Ubuntu external driver commit. -# -# NOTE: This gets reformatted for README.Ubuntu-External-Drivers and -# debian/changelog. -# -# This is only needed when a driver is added, updated or removed. It is -# not needed when patches or fixes are applied to the driver. If the -# driver is being removed, add the line: -# -# Removing: yes -# -# to the commit, and you can remove all other tags (except UBUNTU:). -# -UBUNTU: - -ExternalDriver: -Description: -Url: -Mask: -Version: diff --git a/debian/commit-templates/missing-modules b/debian/commit-templates/missing-modules deleted file mode 100644 index f4872e7568c..00000000000 --- a/debian/commit-templates/missing-modules +++ /dev/null @@ -1,3 +0,0 @@ -UBUNTU: build/modules: Add modules that have intentionally gone missing - -Ignore: yes diff --git a/debian/commit-templates/newrelease b/debian/commit-templates/newrelease deleted file mode 100644 index 5f8931c40cd..00000000000 --- a/debian/commit-templates/newrelease +++ /dev/null @@ -1,3 +0,0 @@ -UBUNTU: Start new release - -Ignore: yes diff --git a/debian/commit-templates/sauce-patch b/debian/commit-templates/sauce-patch deleted file mode 100644 index 08720a8c20f..00000000000 --- a/debian/commit-templates/sauce-patch +++ /dev/null @@ -1,40 +0,0 @@ -# Ubuntu commit template. -# -# NOTE: This gets reformatted for debian/changelog -# -# -# SAUCE refers to the fact that this patch might not go upstream, but we need to -# carry it to successive releases. In most cases you DONOT want to use this -# template. -# -# An example of a SAUCE patch is the ACPI DSDT-in-initramfs patch which has been -# refused upstream, but still provides useful functionality to users with broken -# BIOSes. -# -#------------------------------------------------------------------------- -# -# The initial UBUNTU is a flag that this is an Ubuntu commit. It will be -# referenced to the Author in the debian/changelog entry. -# -# The text following is the short message that will be placed in the -# changelog. Extra text on the following lines will be ignored, but left -# in the git commit. Lines with # will be ignored in the commit. -# -# OriginalAuthor allows for alternate attribution. -# -# OriginalLocation allows for a URL or description of where the patch came -# from. -# -# BugLink is a URL to a Malone bug. -# -# Ignore: yes will keep this commit from showing up in the changelog. -# -UBUNTU: SAUCE: - - - -# OriginalAuthor: -# OriginalLocation: -# BugLink: http://bugs.launchpad.net/bugs/ -# Ignore: yes -# Other text below here. diff --git a/debian/commit-templates/upstream-patch b/debian/commit-templates/upstream-patch deleted file mode 100644 index 671ab6a0921..00000000000 --- a/debian/commit-templates/upstream-patch +++ /dev/null @@ -1,27 +0,0 @@ -# Ubuntu commit template. -# -# NOTE: This gets reformatted for debian/changelog -# -# The initial UBUNTU is a flag that this is an Ubuntu commit. It will be -# referenced to the Author in the debian/changelog entry. -# -# The text following is the short message that will be placed in the -# changelog. Extra text on the following lines will be ignored, but left -# in the git commit. Lines with # will be ignored in the commit. -# -# OriginalAuthor allows for alternate attribution. -# -# OriginalLocation allows for a URL or description of where the patch came -# from. -# -# BugLink is a URL to a Malone bug. -# -# Ignore: yes will keep this commit from showing up in the changelog. -# -UBUNTU: [Upstream] - -# OriginalAuthor: -# OriginalLocation: -# BugLink: http://bugs.launchpad.net/bugs/ -# Ignore: yes -# Other text below here. diff --git a/debian/compat b/debian/compat deleted file mode 100644 index 7ed6ff82de6..00000000000 --- a/debian/compat +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/debian/control-scripts/headers-postinst b/debian/control-scripts/headers-postinst deleted file mode 100644 index 2fb2be858a4..00000000000 --- a/debian/control-scripts/headers-postinst +++ /dev/null @@ -1,126 +0,0 @@ -#!/usr/bin/perl -# -*- Mode: Cperl -*- -# debian.postinst --- -# Author : Manoj Srivastava ( srivasta@pilgrim.umass.edu ) -# Created On : Sat Apr 27 05:42:43 1996 -# Created On Node : melkor.pilgrim.umass.edu -# Last Modified By : Manoj Srivastava -# Last Modified On : Sat Aug 5 13:20:22 2006 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 45 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# -# -# arch-tag: 1c716174-2f0a-476d-a626-a1322e62503a -# - - -$|=1; - -# Predefined values: -my $version = "=V"; -my $kimage = "=K"; -my $package_name = "linux-image-$version"; - - -# Ignore all invocations uxcept when called on to configure. -exit 0 unless ($ARGV[0] && $ARGV[0] =~ /configure/); - -#known variables -my $image_dest = "/"; -my $realimageloc = "/boot/"; -my $silent_modules = ''; -my $modules_base = '/lib/modules'; -my $CONF_LOC = '/etc/kernel-img.conf'; -# remove multiple leading slashes; make sure there is at least one. -$realimageloc =~ s|^/*|/|o; -$realimageloc =~ s|/+|/|o; - -chdir '/usr/src' or die "Could not chdir to /usr/src:$!"; - -if (-r "$CONF_LOC" && -f "$CONF_LOC" ) { - if (open(CONF, "$CONF_LOC")) { - while () { - chomp; - s/\#.*$//g; - next if /^\s*$/; - - $header_postinst_hook = "$1" if /^\s*header_postinst_hook\s*=\s*(\S+)/ig; - } - close CONF; - } -} - -sub exec_script { - my $type = shift; - my $script = shift; - print STDERR "Running $type hook script $script.\n"; - system ("$script $version $realimageloc$kimage-$version") && - print STDERR "User $type hook script [$script] "; - if ($?) { - if ($? == -1) { - print STDERR "failed to execute: $!\n"; - } - elsif ($? & 127) { - printf STDERR "died with signal %d, %s coredump\n", - ($? & 127), ($? & 128) ? 'with' : 'without'; - } - else { - printf STDERR "exited with value %d\n", $? >> 8; - } - exit $? >> 8; - } -} -sub run_hook { - my $type = shift; - my $script = shift; - if ($script =~ m,^/,) { - # Full path provided for the hook script - if (-x "$script") { - &exec_script($type,$script); - } - else { - die "The provided $type hook script [$script] could not be run.\n"; - } - } - else { - # Look for it in a safe path - for my $path ('/bin', '/sbin', '/usr/bin', '/usr/sbin') { - if (-x "$path/$script") { - &exec_script($type, "$path/$script"); - return 0; - } - } - # No luck - print STDERR "Could not find $type hook script [$script].\n"; - die "Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'\n"; - } -} - -## Run user hook script here, if any -if (-x "$header_postinst_hook") { - &run_hook("postinst", $header_postinst_hook); -} - -if (-d "/etc/kernel/header_postinst.d") { - print STDERR "Examining /etc/kernel/header_postinst.d.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version " . - "/etc/kernel/header_postinst.d") && - die "Failed to process /etc/kernel/header_postinst.d"; -} - -if (-d "/etc/kernel/header_postinst.d/$version") { - print STDERR "Examining /etc/kernel/header_postinst.d/$version.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version " . - "/etc/kernel/header_postinst.d/$version") && - die "Failed to process /etc/kernel/header_postinst.d/$version"; -} - -exit 0; - -__END__ diff --git a/debian/control-scripts/postinst b/debian/control-scripts/postinst deleted file mode 100644 index b6ed9f845cc..00000000000 --- a/debian/control-scripts/postinst +++ /dev/null @@ -1,1095 +0,0 @@ -#! /usr/bin/perl -# OriginalAuthor : Manoj Srivastava ( srivasta@pilgrim.umass.edu ) -# -# Customized for Ubuntu by: Ben Collins - -#use strict; #for debugging -use Cwd 'abs_path'; - -$|=1; - -# Predefined values: -my $version = "=V"; -my $link_in_boot = ""; # Should be empty, mostly -my $no_symlink = ""; # Should be empty, mostly -my $reverse_symlink = ""; # Should be empty, mostly -my $do_symlink = "Yes"; # target machine defined -my $do_boot_enable = "Yes"; # target machine defined -my $do_bootfloppy = "Yes"; # target machine defined -my $do_bootloader = "Yes"; # target machine defined -my $move_image = ''; # target machine defined -my $kimage = "=K"; # Should be empty, mostly -my $loader = "=L"; # lilo, silo, quik, palo, vmelilo, nettrom, arcboot or delo -my $image_dir = "/boot"; # where the image is located -my $clobber_modules = ''; # target machine defined -my $relative_links = ""; # target machine defined -my $initrd = "YES"; # initrd kernel -my $do_initrd = ''; # Normally we do not -my $use_hard_links = ''; # hardlinks do not work across fs boundaries -my $postinst_hook = ''; #Normally we do not -my $postrm_hook = ''; #Normally we do not -my $preinst_hook = ''; #Normally we do not -my $prerm_hook = ''; #Normally we do not -my $minimal_swap = ''; # Do not swap symlinks -my $ignore_depmod_err = ''; # normally we do not -my $kernel_arch = "=B"; -my $ramdisk = "/usr/sbin/update-initramfs"; # List of tools to create initial ram fs. -my $notifier = "/usr/share/update-notifier/notify-reboot-required"; -my $package_name = "linux-image-$version"; -my $explicit_do_loader = 'Yes'; - -my $Loader = "NoLOADER"; # -$Loader = "LILO" if $loader =~ /^lilo/io; -$Loader = "SILO" if $loader =~ /^silo/io; -$Loader = "QUIK" if $loader =~ /^quik/io; -$Loader = "yaboot" if $loader =~ /^yaboot/io; -$Loader = "PALO" if $loader =~ /^palo/io; -$Loader = "NETTROM" if $loader =~ /^nettrom/io; -$Loader = "VMELILO" if $loader =~ /^vmelilo/io; -$Loader = "ZIPL" if $loader =~ /^zipl/io; -$Loader = "ELILO" if $loader =~ /^elilo/io; -$Loader = "ARCBOOT" if $loader =~ /^arcboot/io; -$Loader = "DELO" if $loader =~ /^delo/io; - -# This should not point to /tmp, because of security risks. -my $temp_file_name = "/var/log/$loader" . "_log.$$"; - -#known variables -my $image_dest = "/"; -my $realimageloc = "/$image_dir/"; -my $have_conffile = ""; -my $silent_modules = ''; -my $silent_loader = ''; -my $warn_reboot = 'Yes'; # Warn that we are installing a version of - # the kernel we are running - -my $modules_base = '/lib/modules'; -my $CONF_LOC = '/etc/kernel-img.conf'; - -# Ignore all invocations except when called on to configure. -exit 0 unless $ARGV[0] =~ /configure/; - -my $DEBUG = 0; - -# Do some preliminary sanity checks here to ensure we actually have an -# valid image dir -chdir('/') or die "could not chdir to /:$!\n"; -die "Internal Error: ($image_dir) is not a directory!\n" - unless -d $image_dir; - -# remove multiple leading slashes; make sure there is at least one. -$realimageloc =~ s|^/*|/|o; -$realimageloc =~ s|/+|/|o; -die "Internal Error: ($realimageloc) is not a directory!\n" - unless -d $realimageloc; - -if (-r "$CONF_LOC" && -f "$CONF_LOC" ) { - if (open(CONF, "$CONF_LOC")) { - while () { - chomp; - s/\#.*$//g; - next if /^\s*$/; - - $do_symlink = "" if /^\s*do_symlinks\s*=\s*(no|false|0)\s*$/ig; - $no_symlink = "" if /^\s*no_symlinks\s*=\s*(no|false|0)\s*$/ig; - $reverse_symlink = "" if /^\s*reverse_symlink\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*image_in_boot\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*link_in_boot\s*=\s*(no|false|0)\s*$/ig; - $move_image = "" if /^\s*move_image\s*=\s*(no|false|0)\s*$/ig; - $clobber_modules = '' if /^\s*clobber_modules\s*=\s*(no|false|0)\s*$/ig; - $do_boot_enable = '' if /^\s*do_boot_enable\s*=\s*(no|false|0)\s*$/ig; - $do_bootfloppy = '' if /^\s*do_bootfloppy\s*=\s*(no|false|0)\s*$/ig; - $relative_links = '' if /^\s*relative_links \s*=\s*(no|false|0)\s*$/ig; - $do_bootloader = '' if /^\s*do_bootloader\s*=\s*(no|false|0)\s*$/ig; - $explicit_do_loader = '' if /^\s*do_bootloader\s*=\s*(no|false|0)\s*$/ig; - $do_initrd = '' if /^\s*do_initrd\s*=\s*(no|false|0)\s*$/ig; - $use_hard_links = '' if /^\s*use_hard_links\s*=\s*(no|false|0)\s*$/ig; - $silent_modules = '' if /^\s*silent_modules\s*=\s*(no|false|0)\s*$/ig; - $silent_loader = '' if /^\s*silent_loader\s*=\s*(no|false|0)\s*$/ig; - $warn_reboot = '' if /^\s*warn_reboot\s*=\s*(no|false|0)\s*$/ig; - $minimal_swap = '' if /^\s*minimal_swap\s*=\s*(no|false|0)\s*$/ig; - $ignore_depmod_err = '' if /^\s*ignore_depmod_err\s*=\s*(no|false|0)\s*$/ig; - - $do_symlink = "Yes" if /^\s*do_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $no_symlink = "Yes" if /^\s*no_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $reverse_symlink = "Yes" if /^\s*reverse_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*image_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*link_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $move_image = "Yes" if /^\s*move_image\s*=\s*(yes|true|1)\s*$/ig; - $clobber_modules = "Yes" if /^\s*clobber_modules\s*=\s*(yes|true|1)\s*$/ig; - $do_boot_enable = "Yes" if /^\s*do_boot_enable\s*=\s*(yes|true|1)\s*$/ig; - $do_bootfloppy = "Yes" if /^\s*do_bootfloppy\s*=\s*(yes|true|1)\s*$/ig; - $do_bootloader = "Yes" if /^\s*do_bootloader\s*=\s*(yes|true|1)\s*$/ig; - $explicit_do_loader = "YES" if /^\s*do_bootloader\s*=\s*(yes|true|1)\s*$/ig; - $relative_links = "Yes" if /^\s*relative_links\s*=\s*(yes|true|1)\s*$/ig; - $do_initrd = "Yes" if /^\s*do_initrd\s*=\s*(yes|true|1)\s*$/ig; - $use_hard_links = "Yes" if /^\s*use_hard_links\s*=\s*(yes|true|1)\s*$/ig; - $silent_modules = 'Yes' if /^\s*silent_modules\s*=\s*(yes|true|1)\s*$/ig; - $silent_loader = 'Yes' if /^\s*silent_loader\s*=\s*(yes|true|1)\s*$/ig; - $warn_reboot = 'Yes' if /^\s*warn_reboot\s*=\s*(yes|true|1)\s*$/ig; - $minimal_swap = 'Yes' if /^\s*minimal_swap\s*=\s*(yes|true|1)\s*$/ig; - $ignore_depmod_err = 'Yes' if /^\s*ignore_depmod_err\s*=\s*(yes|true|1)\s*$/ig; - - $image_dest = "$1" if /^\s*image_dest\s*=\s*(\S+)/ig; - $postinst_hook = "$1" if /^\s*postinst_hook\s*=\s*(\S+)/ig; - $postrm_hook = "$1" if /^\s*postrm_hook\s*=\s*(\S+)/ig; - $preinst_hook = "$1" if /^\s*preinst_hook\s*=\s*(\S+)/ig; - $prerm_hook = "$1" if /^\s*prerm_hook\s*=\s*(\S+)/ig; - $ramdisk = "$1" if /^\s*ramdisk\s*=\s*(.+)$/ig; - } - close CONF; - $have_conffile = "Yes"; - } -} - - - -# For some versions of kernel-package, we had this warning in the -# postinst, but the rules did not really interpolate the value in. -# Here is a sanity check. -my $pattern = "=" . "I"; -$initrd=~ s/^$pattern$//; - -if ($link_in_boot) { - $image_dest = "/$image_dir/"; # same as realimageloc -} - -# Tack on at least one trainling / -$image_dest = "$image_dest/"; -$image_dest =~ s|^/*|/|o; -$image_dest =~ s|/+$|/|o; - -if (! -d "$image_dest") { - die "Expected Image Destination dir ($image_dest) to be a valid directory!\n"; -} - -# sanity -if (!($do_bootfloppy || $do_bootloader)) { - $do_boot_enable = ''; -} -if ($do_symlink && $no_symlink) { - warn "Both do_symlinks and no_symlinks options enabled; disabling no_symlinks\n"; - $no_symlink = 0; -} - -# most of our work is done in $image_dest (nominally /) -chdir("$image_dest") or die "could not chdir to $image_dest:$!\n"; - -# Paranoid check to make sure that the correct value is put in there -if (! $kimage) { $kimage = "vmlinuz"; } # Hmm. empty -elsif ($kimage =~ m/^b?uImage$/o) { $kimage = "vmlinuz"; } # these produce vmlinuz -elsif ($kimage =~ m/^b?zImage$/o) { $kimage = "vmlinuz"; } # these produce vmlinuz -elsif ($kimage =~ m/^[iI]mage$/o) { my $nop = $kimage; } -elsif ($kimage =~ m/^vmlinux$/o) { my $nop = $kimage; } -else { $kimage = "vmlinuz"; } # Default - -$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch; - - -die "Internal Error: Could not find image (" . $realimageloc - . "$kimage-$version)\n" unless -e $realimageloc - . "$kimage-$version"; - -# search for the boot loader in the path -my $loader_exec; -($loader_exec = $loader) =~ s|.*/||; -my ($loaderloc) = grep -x, map "$_/$loader_exec", - map { length($_) ? $_ : "." } split /:/, $ENV{PATH}; - - -###################################################################### -###################################################################### -########### Test whether a relative symlinkwould be OK ####### -###################################################################### -###################################################################### -sub test_relative { - my %params = @_; - my $cwd; - - die "Internal Error: Missing Required paramater 'Old Dir' " - unless $params{'Old Dir'}; - die "Internal Error: Missing Required paramater New Dir' " - unless $params{'New Dir'}; - - - die "Internal Error: No such dir $params{'Old Dir'} " - unless -d $params{'Old Dir'}; - die "Internal Error: No such dir $params{'New Dir'} " - unless -d $params{'New Dir'}; - - warn "Test relative: testing $params{'Old Dir'} -> $params{'New Dir'}" - if $DEBUG; - chomp($cwd = `pwd`); - chdir ($params{'New Dir'}) or die "Could not chdir to $params{'New Dir'}:$!"; - my $ok = 0; - $params{'Old Dir'} =~ s|^/*||o; - if (-d $params{'Old Dir'} ) { - if (defined $params{'Test File'}) { - if (-e $params{'Old Dir'} . $params{'Test File'}) { - $ok = 1; - } - } else { - $ok = 1; # well, backward compatibility - } - } - chdir ($cwd) or die "Could not chdir to $params{'New Dir'}:$!"; - return $ok; -} - -###################################################################### -###################################################################### -############ -###################################################################### -###################################################################### -# sub CanonicalizePath { -# my $path = join '/', @_; -# my @work = split '/', $path; -# my @out; -# my $is_absolute; - -# if (@work && $work[0] eq "") { -# $is_absolute = 1; shift @work; -# } - -# while (@work) { -# my $seg = shift @work; -# if ($seg eq "." || $seg eq "") { -# } -# elsif ($seg eq "..") { -# if (@out && $out[-1] ne "..") { -# pop @out; -# } -# else { -# # Leading "..", or "../..", etc. -# push @out, $seg; -# } -# } -# else { -# push @out, $seg; -# } -# } - -# unshift @out, "" if $is_absolute; -# return join('/', @out); -# } -###################################################################### -###################################################################### -############ -###################################################################### -###################################################################### - -sub spath { - my %params = @_; - - die "Missing Required paramater 'Old'" unless $params{'Old'}; - die "Missing Required paramater 'New'" unless $params{'New'}; - - my @olddir = split '/', `readlink -q -m $params{'Old'}`; - my @newdir = split '/', `readlink -q -m $params{'New'}`; - my @outdir = @olddir; - - my $out = ''; - my $i; - for ($i = 0; $i <= $#olddir && $i <= $#newdir; $i++) { - $out++ if ($olddir[$i] ne $newdir[$i]); - shift @outdir unless $out; - unshift @outdir, ".." if $out; - } - if ($#newdir > $#olddir) { - for ($i=0; $i < $#newdir; $i++) { - unshift @outdir, ".."; - } - } - return join ('/', @outdir); -} -###################################################################### -###################################################################### -############ -###################################################################### -###################################################################### - - -# This routine actually moves the kernel image -# From: $realimageloc/$kimage-$version (/boot/vmlinuz-2.6.12) -# To: $image_dest/$kimage-$version (/vmlinuz-2.6.12) -# Note that the image is moved to a versioned destination, but ordinary -# symlinks we create otherwise are not normally versioned -sub really_move_image { - my $src_dir = $_[0]; - my $target = $_[1]; - my $dest_dir = $_[2]; - - warn "Really move image: src_dir=$src_dir, target=$target,\n destdir=$dest_dir" - if $DEBUG; - if (-e "$target") { - # we should be in dir $dest_dir == $image_dest /, normally - rename("$target", "$target.$$") || - die "failed to move " . $dest_dir . "$target:$!"; - warn "mv $target $target.$$" if $DEBUG; - } - warn "mv -f $src_dir$target $target" if $DEBUG; - my $ret = system("mv -f " . $src_dir . "$target " . - " $target"); - if ($ret) { - die("Failed to move " . $src_dir . "$target to " - . $dest_dir . "$target"); - } - # Ok, now we may clobber the previous .old files - if (-e "$target.$$") { - rename("$target.$$", "$target.old") || - die "failed to move " . $dest_dir . "$target:$!"; - warn "mv $target.$$ $target " if $DEBUG; - } -} - -# Normally called after really_move_image; and only called if we asked for -# reversed link this routine reverses the symbolic link that is notmally -# created. Since the real kernel image has been moved over to -# $image_dest/$kimage-$version. So, this routine links -# From: $image_dest/$kimage-$version (/vmlinuz-2.6.12) -# To: $realimageloc/$kimage-$version (/boot/vmlinuz-2.6.12) -sub really_reverse_link { - my $src_dir = $_[0]; - my $link_name = $_[1]; - my $dest_dir = $_[2]; - warn "Really reverse link: src_dir=$src_dir, link name=$link_name\n" . - "\tdestdir=$dest_dir" if $DEBUG; - - my $Old = $dest_dir; - if (test_relative ('Old Dir' => $Old, 'New Dir' => $src_dir, - 'Test File' => "$link_name")) { - $Old =~ s|^/*||o; - } - # Special case is they are in the same dir - my $rel_path = spath('Old' => "$Old", 'New' => "$src_dir" ); - $Old ="" if $rel_path =~ m/^\s*$/o; - - if ($use_hard_links =~ m/YES/i) { - link($Old . "$link_name", $src_dir . "$link_name") || - die("Failed to link " . $dest_dir . "$link_name to " . $src_dir . - "$link_name:$!"); - warn "ln " . $Old . "$link_name " . $src_dir . "$link_name" if $DEBUG; - } - else { - symlink($Old . "$link_name", $src_dir . "$link_name") || - die("Failed to symbolic-link " . $dest_dir . "$link_name to " . $src_dir - . "$link_name:$!"); - warn "ln -s " . $Old . "$link_name " . $src_dir . "$link_name" if $DEBUG; - } -} - -# This routine is invoked if there is a symbolic link in place -# in $image_dest/$kimage -- so a symlink exists in the destination. -# What we are trying to determine is if we need to move the symbolic link over -# to the the .old location -sub move_p { - my $kimage = $_[0]; # Name of the symbolic link - my $image_dest = $_[1]; # The directory the links goes into - my $image_name = $_[2]; - my $src_dir = $_[3]; - my $force_move = 0; - warn "Move?: kimage=$kimage, image_dest=$image_dest, \n" . - "\timage_name=$image_name, src_dir=$src_dir" if $DEBUG; - - if ($no_symlink || $reverse_symlink) { - # we do not want links, yet we have a symbolic link here! - warn "found a symbolic link in " . $image_dest . "$kimage \n" . - "even though no_symlink is defined\n" if $no_symlink; - warn "found a symbolic link in " . $image_dest . "$kimage \n" . - "even though reverse_symlink is defined\n" if $reverse_symlink; - # make sure we change this state of affairs - $force_move = 1; - return $force_move; - } - - warn "DEBUG: OK. We found symlink, and we should have a symlink here.\n" - if $DEBUG; - my $vmlinuz_target = readlink "$kimage"; - my $real_target = ''; - my $target = `readlink -q -m "${realimageloc}${kimage-$version}"`; - $real_target = abs_path($vmlinuz_target) if defined($vmlinuz_target); - - if (!defined($vmlinuz_target) || ! -f "$real_target") { - # what, a dangling symlink? - warn "The link " . $image_dest . "$kimage is a dangling link" . - "to $real_target\n"; - $force_move = 1; - return $force_move; - } - - - warn "DEBUG: The link $kimage points to ($vmlinuz_target)\n" if $DEBUG; - warn "DEBUG: ($vmlinuz_target) is really ($real_target)\n" if $DEBUG; - my $cwd; - chomp ($cwd=`pwd`); - if ($vmlinuz_target !~ m|^/|o) { - $vmlinuz_target = $cwd . "/" . $vmlinuz_target; - $vmlinuz_target =~ s|/+|/|o; - } - $vmlinuz_target = `readlink -q -m $vmlinuz_target`; - - if ("$vmlinuz_target" ne "$target") { - warn "DEBUG: We need to handle this.\n" if $DEBUG; - if ($minimal_swap) { - warn "DEBUG: Minimal swap.\n" if $DEBUG; - if (-l "$kimage.old") { - warn "DEBUG: There is an old link at $kimage.old\n" if $DEBUG; - my $old_target = readlink "$kimage.old"; - my $real_old_target = ''; - $real_old_target=abs_path($old_target) if defined ($old_target); - - if ($real_old_target && -f "$real_old_target") { - if ($old_target !~ m|^/|o) { - $old_target = $cwd . "/" . $old_target; - $old_target =~ s|/+|/|o; - } - $old_target = `readlink -q -m $old_target`; - if ("$old_target" ne "$target") { - $force_move = 1; - warn "DEBUG: Old link ($old_target) does not point to us ($target)\n" - if $DEBUG; - } - else { # The .old points to the current - warn "$kimage.old --> $target -- doing nothing"; - $force_move = 0; - } - } - else { - warn "DEBUG: Well, the old link does not exist -- so we move\n" - if $DEBUG; - $force_move = 1; - } - } - else { - warn "DEBUG: No .old link -- OK to move\n" - if $DEBUG; - $force_move = 1; - } - } - else { - warn "DEBUG: ok, minimal swap is no-- so we move.\n" - if $DEBUG; - $force_move = 1; - } - } - else { # already have proper link - warn "$kimage($vmlinuz_target) points to $target ($real_target) -- doing nothing"; - $force_move = 0; - } - return $force_move; -} - - -# This routine moves the symbolic link around (/vmlinuz -> /vmlinuz.old) -# It pays attention to whether we should the fact whether we should be using -# hard links or not. -sub really_move_link { - my $kimage = $_[0]; # Name of the symbolic link - my $image_dest = $_[1]; # The directory the links goes into - my $image_name = $_[2]; - my $src_dir = $_[3]; - warn "really_move_link: kimage=$kimage, image_dest=$image_dest\n" . - "\t image_name=$image_name, src_dir=$src_dir" if $DEBUG; - - # don't clobber $kimage.old quite yet - rename("$kimage", "$kimage.$$") || - die "failed to move " . $image_dest . "$kimage:$!"; - warn "mv $kimage $kimage.$$" if $DEBUG; - my $Old = $src_dir; - my $cwd; - - chomp($cwd=`pwd`); - if (test_relative ('Old Dir' => $Old, 'New Dir' => $cwd, - 'Test File' => "$image_name")) { - $Old =~ s|^/*||o; - } - # Special case is they are in the same dir - my $rel_path = spath('Old' => "$Old", 'New' => "$cwd" ); - $Old ="" if $rel_path =~ m/^\s*$/o; - - if ($use_hard_links =~ m/YES/i) { - warn "ln ${Old}${image_name} $kimage" if $DEBUG; - if (! link("${Old}${image_name}", "$kimage")) { - rename("$kimage.$$", "$kimage"); - die("Failed to link ${Old}${image_name} to " . - "${image_dest}${kimage}:$!"); - } - } - else { - warn "ln -s ${Old}${image_name} $kimage" if $DEBUG; - if (! symlink("${Old}${image_name}", "$kimage")) { - rename("$kimage.$$", "$kimage"); - die("Failed to symbolic-link ${Old}${image_name} to " . - "${image_dest}${kimage}:$!"); - } - } - - # Ok, now we may clobber the previous .old file - if (-l "$kimage.old" || ! -e "$kimage.old" ) { - rename("$kimage.$$", "$kimage.old"); - warn "mv $kimage.$$ $kimage.old" if $DEBUG; - } - else { - warn "$kimage.old is not a symlink, not clobbering\n"; - warn "rm $kimage.$$"; - unlink "$kimage.$$" if $DEBUG; - } -} - -# This routine handles a request to do symlinks, but there is no -# symlink file already there. Either we are supposed to use copy, or we are -# installing on a pristine system, or the user does not want symbolic links at -# all. We use a configuration file to tell the last two cases apart, creating -# a config file if needed. -sub handle_missing_link { - my $kimage = $_[0]; # Name of the symbolic link - my $image_dest = $_[1]; # The directory the links goes into - my $image_name = $_[2]; - my $src_dir = $_[3]; - warn "handle_missing_link: kimage=$kimage, image_dest=$image_dest\n" . - "\t image_name=$image_name, src_dir=$src_dir" if $DEBUG; - - if ($no_symlink) { - warn "cp -a --backup=t $realimageloc$image_name $kimage" if $DEBUG; - my $ret = system("cp -a --backup=t " . $realimageloc . - "$image_name " . " $kimage"); - if ($ret) { - die("Failed to copy " . $realimageloc . "$image_name to " - . $image_dest . "$kimage"); - } - } - elsif ($reverse_symlink) { - warn "mv -f $realimageloc$image_name $kimage" if $DEBUG; - my $ret = system("mv -f " . $realimageloc . "$image_name " - . "$kimage"); - if ($ret) { - die("Failed to move " . $realimageloc . "$image_name to " - . $image_dest . "$kimage"); - } - } - else { - if (! $have_conffile) { - my $ret; - my $answer=''; - $do_symlink = "Yes"; - - if (open(CONF, ">$CONF_LOC")) { - print CONF "# Kernel Image management overrides\n"; - print CONF "# See kernel-img.conf(5) for details\n"; - if ($loader =~ /palo/i) { - print CONF "link_in_boot = Yes\n"; - print CONF "do_symlinks = Yes\n"; - print CONF "relative_links = Yes\n"; - print CONF "do_bootloader = No\n"; - } else { - print CONF "do_symlinks = $do_symlink\n"; - } - close CONF; - } - $have_conffile = "Yes"; - } - } - - if (! $no_symlink && $do_symlink =~ /Yes/i) { - my $Old = $realimageloc; - my $New = $image_dest; - my $Name = "$image_name"; - my $Link_Dest = "$kimage"; - - if ($reverse_symlink) { - $Old = $image_dest; - $New = $realimageloc; - $Name = "$kimage"; - $Link_Dest = $realimageloc . "$image_name"; - } - if (test_relative ('Old Dir' => $Old, - 'New Dir' => $New, - 'Test File' => $Name)) { - $Old =~ s|^/*||o; - } - # Special case is they are in the same dir - my $rel_path = spath('Old' => "$Old", 'New' => "$New" ); - $Old ="" if $rel_path =~ m/^\s*$/o; - - symlink($Old . "$Name", "$Link_Dest") || - die("Failed to symbolic-link ${Old}$Name to $Link_Dest:$!"); - warn "ln -s ${Old}$Name $Link_Dest" if $DEBUG; - - } -} - -# This routine handles the rest of the cases, where the user has requested -# non-traditional handling, like using cp, or reverse symlinks, or hard links. -sub handle_non_symlinks { - my $kimage = $_[0]; # Name of the symbolic link - my $image_dest = $_[1]; # The directory the links goes into - my $image_name = $_[2]; - my $src_dir = $_[3]; - warn "handle_non_link: kimage=$kimage, image_dest=$image_dest\n" . - "\t image_name=$image_name, src_dir=$src_dir" if $DEBUG; - - # Save the current image. We do this in all four cases - rename("$kimage", "$kimage.$$") || - die "failed to move " . $image_dest . "$kimage:$!"; - warn "mv $kimage $kimage.$$" if $DEBUG; - - ##,#### - # case One - #`#### - if ($no_symlink) { - # Maybe /$image_dest is on a dos system? - warn "cp -a --backup=t $realimageloc$image_name $kimage" if $DEBUG; - my $ret = system("cp -a --backup=t " . $realimageloc - . "$image_name " . "$kimage"); - if ($ret) { - if (-e "$kimage.$$") { - rename("$kimage.$$", "$kimage"); - warn "mv $kimage.$$ $kimage" if $DEBUG; - } - die("Failed to copy " . $realimageloc . "$image_name to " - . $image_dest . "$kimage"); - } - } - ##,#### - # case Two - #`#### - elsif ($reverse_symlink) { # Maybe /$image_dest is on a dos system? - warn "mv -f $realimageloc$image_name $kimage" if $DEBUG; - my $ret = system("mv -f " . $realimageloc . "$image_name " - . $image_dest . "$kimage"); - if ($ret) { - if (-e "$kimage.$$") { - rename("$kimage.$$", "$kimage"); - warn "mv $kimage.$$ $kimage" if $DEBUG; - } - die("Failed to move " . $realimageloc . "$image_name to " - . $image_dest . "$kimage"); - } - my $Old = $image_dest; - if (test_relative ('Old Dir' => $Old, 'New Dir' => $realimageloc, - 'Test File' => "$kimage")) { - $Old =~ s|^/*||o; - } - # Special case is they are in the same dir - my $rel_path = spath('Old' => "$Old", 'New' => "$realimageloc" ); - $Old ="" if $rel_path =~ m/^\s*$/o; - - if ($use_hard_links =~ m/YES/i) { - warn "ln " . $Old . "$kimage " . $realimageloc . "$image_name" if $DEBUG; - if (! link($Old . "$kimage", $realimageloc . "$image_name")) { - warn "Could not link " . $image_dest . - "$kimage to $image_name :$!"; - } - } - else { - warn "ln -s " . $Old . "$kimage " . $realimageloc . "$image_name" if $DEBUG; - if (! symlink($Old . "$kimage", $realimageloc . "$image_name")) { - warn "Could not symlink " . $image_dest . - "$kimage to $image_name :$!"; - } - } - } - ##,#### - # case Three - #`#### - elsif ($use_hard_links =~ m/YES/i ) { - # Ok then. this ought to be a hard link, and hence fair game - # don't clobber $kimage.old quite yet - my $Old = $realimageloc; - my $cwd; - chomp($cwd=`pwd`); - if (test_relative ('Old Dir' => $Old, 'New Dir' => $cwd, - 'Test File' => "$image_name")) { - $Old =~ s|^/*||o; - } - # Special case is they are in the same dir - my $rel_path = spath('Old' => "$Old", 'New' => "$cwd" ); - $Old ="" if $rel_path =~ m/^\s*$/o; - - warn "ln " . $Old . "$image_name " . "$kimage" if $DEBUG; - if (! link($Old . "$image_name", "$kimage")) { - warn "mv $kimage.$$ $kimage" if $DEBUG; - rename("$kimage.$$", "$kimage"); - die("Failed to link " . $realimageloc . "$image_name to " - . $image_dest . "$kimage"); - } - } - ##,#### - # case Four - #`#### - else { - # We just use cp - warn "cp -a --backup=t $realimageloc$image_name $kimage" if $DEBUG; - my $ret = system("cp -a --backup=t " . $realimageloc - . "$image_name " . "$kimage"); - if ($ret) { - if (-e "$kimage.$$") { - warn "mv $kimage.$$ $kimage" if $DEBUG; - rename("$kimage.$$", "$kimage"); - } - die("Failed to copy " . $realimageloc . "$image_name to " - . $image_dest . "$kimage"); - } - } - # Ok, now we may clobber the previous .old file - warn "mv $kimage.$$ $kimage.old if -e $kimage.$$" if $DEBUG; - rename("$kimage.$$", "$kimage.old") if -e "$kimage.$$"; -} - -# This routine is responsible for setting up the symbolic links -# So, the actual kernel image lives in -# $realimageloc/$image_name (/boot/vmlinuz-2.6.12). -# This routine creates symbolic links in $image_dest/$kimage (/vmlinuz) -sub image_magic { - my $kimage = $_[0]; # Name of the symbolic link - my $image_dest = $_[1]; # The directory the links goes into - my $image_name = "$kimage-$version"; - my $src_dir = $realimageloc; - warn "image_magic: kimage=$kimage, image_dest=$image_dest\n" . - "\t image_name=$image_name, src_dir=$src_dir" if $DEBUG; - - # Well, in any case, if the destination (the symlink we are trying - # to create) is a directory, we should do nothing, except throw a - # diagnostic. - if (-d "$kimage" ) { - die ("Hmm. $kimage is a directory, which I did not expect. I am\n" . - "trying to create a symbolic link with that name linked to \n" . - "$image_dest . Since a directory exists here, my assumptions \n" . - "are way off, and I am aborting.\n" ); - exit (3); - } - - if ($move_image) { # Maybe $image_dest is in on dos, or something? - # source dir, link name, dest dir - really_move_image( $realimageloc, $image_name, $image_dest); - really_reverse_link($realimageloc, $image_name, $image_dest) - if $reverse_symlink; - return; - } - - if (-l "$kimage") { # There is a symbolic link - warn "DEBUG: There is a symlink for $kimage\n" if $DEBUG; - my $force_move = move_p($kimage, $image_dest, $image_name, $src_dir); - - if ($force_move) { - really_move_link($kimage, $image_dest, $image_name, $src_dir); - } - } - elsif (! -e "$kimage") { - # Hmm. Pristine system? How can that be? Installing from scratch? - # Or maybe the user does not want a symbolic link here. - # Possibly they do not want a link here. (we should be in / - # here[$image_dest, really] - handle_missing_link($kimage, $image_dest, $image_name, $src_dir); - } - elsif (-e "$kimage" ) { - # OK, $kimage exists -- but is not a link - handle_non_symlinks($kimage, $image_dest, $image_name, $src_dir); - } -} - -###################################################################### -###################################################################### -###################################################################### -###################################################################### - -# We may not have any modules installed -if ( -d "$modules_base/$version" ) { - print STDERR "Running depmod.\n"; - my $ret = system("depmod -a $version"); - if ($ret) { - print STDERR "Failed to run depmod\n"; - exit(1); - } -} - - - -sub find_initrd_tool { - my $hostversion = shift; - my $version = shift; - print STDERR "Finding valid ramdisk creators.\n"; - my @ramdisks = - grep { - my $args = - "$_ " . - "--supported-host-version=$hostversion " . - "--supported-target-version=$version " . - "1>/dev/null 2>&1" - ; - system($args) == 0; - } - split (/[:,\s]+/, $ramdisk); -} - -# The initrd symlink should probably be in the same dir that the -# symlinks are in -if ($initrd) { - my $success = 0; - - # Update-initramfs is called slightly different than mkinitrd and - # mkinitramfs. XXX It should really be made compatible with this stuff - # some how. - my $upgrading = 1; - if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m//og) { - $upgrading = 0; - } - my $ret = system("$ramdisk " . ($upgrading ? "-u" : "-c") . " -k " . $version . " >&2"); - $success = 1 unless $ret; - die "Failed to create initrd image.\n" unless $success; - if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m//og) { - image_magic("initrd.img", $image_dest); - } - else { - if (! -e "initrd.img") { - handle_missing_link("initrd.img", $image_dest, "initrd.img-$version", - $realimageloc); - } - else { - print STDERR - "Not updating initrd symbolic links since we are being updated/reinstalled \n"; - print STDERR - "($ARGV[1] was configured last, according to dpkg)\n"; - } - } - - if ($initrd && -l "initrd" ) { - unlink "initrd"; - } - - if ($initrd && -l "$image_dir/initrd" && ! $link_in_boot) { - unlink "$image_dir/initrd"; - } -} -else { # Not making an initrd emage - if (-l "initrd.img") { - # Ooh, last image was an initrd image? in any case, we should move it. - my $target = readlink "initrd.img"; - my $real_target = ''; - $real_target = abs_path($target) if defined ($target); - - if (!defined($target) || ! -f "$real_target") { - # Eh. dangling link. can safely be removed. - unlink("initrd.img"); - } else { - if (-l "initrd.img.old" || ! -e "initrd.img.old" ) { - rename("initrd.img", "initrd.img.old"); - } else { - warn "initrd.img.old is not a symlink, not clobbering\n"; - unlink("initrd.img"); - } - } - } -} - -# Warn of a reboot -if (-x $notifier) { - system($notifier); -} - -# Let programs know not to hibernate if the kernel that would be used for -# resume-from-hibernate is likely to differ from the currently running kernel. -system("mountpoint -q /var/run"); -if ($? eq 0) { - system("touch /var/run/do-not-hibernate"); -} - -# Only change the symlinks if we are not being upgraded -if (! defined $ARGV[1] || ! $ARGV[1] || $ARGV[1] =~ m//og) { - image_magic($kimage, $image_dest); -} -else { - if (! -e "$kimage") { - handle_missing_link($kimage, $image_dest, "$kimage-$version", - $realimageloc); - } - else { - print STDERR - "Not updating image symbolic links since we are being updated/reinstalled \n"; - print STDERR - "($ARGV[1] was configured last, according to dpkg)\n"; - } -} - -# We used to have System.* files in / -if (-e "/System.map" || -e "/System.old") { - unlink '/System.map' if -e '/System.map'; - unlink '/System.old' if -e '/System.old'; -} - -# creating some info about kernel and initrd -if ($DEBUG) { - my $ksize=sprintf("%.0f",(stat($realimageloc . - "$kimage-$version"))[7]/1024)."kB"; - my $initrdsize=''; - if ($initrd) { - $initrdsize=sprintf("%.0f",(stat($realimageloc . - "initrd.img-$version"))[7]/1024)."kB"; - } - - print STDERR <<"EOMSG"; -A new kernel image has been installed at $realimageloc$kimage-$version - (Size: $ksize) - -Symbolic links, unless otherwise specified, can be found in $image_dest - -EOMSG - ; - - if ($initrd) { - print STDERR <<"EOMSGA"; - - Initial rootdisk image: ${realimageloc}initrd.img-$version (Size: $initrdsize) -EOMSGA - ; - } -} - -# set the env var stem -$ENV{'STEM'} = "linux"; -sub exec_script { - my $type = shift; - my $script = shift; - print STDERR "Running $type hook script $script.\n"; - system ("$script $version $realimageloc$kimage-$version") && - print STDERR "User $type hook script [$script] "; - if ($?) { - if ($? == -1) { - print STDERR "failed to execute: $!\n"; - } - elsif ($? & 127) { - printf STDERR "died with signal %d, %s coredump\n", - ($? & 127), ($? & 128) ? 'with' : 'without'; - } - else { - printf STDERR "exited with value %d\n", $? >> 8; - } - exit $? >> 8; - } -} -sub run_hook { - my $type = shift; - my $script = shift; - if ($script =~ m,^/,) { - # Full path provided for the hook script - if (-x "$script") { - &exec_script($type,$script); - } - else { - die "The provided $type hook script [$script] could not be run.\n"; - } - } - else { - # Look for it in a safe path - for my $path ('/bin', '/sbin', '/usr/bin', '/usr/sbin') { - if (-x "$path/$script") { - &exec_script($type, "$path/$script"); - return 0; - } - } - # No luck - print STDERR "Could not find $type hook script [$script].\n"; - die "Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'\n"; - } -} - -my $options; -for (@ARGV) { - s,','\\'',g; - $options .= " '$_'"; -} -$ENV{'DEB_MAINT_PARAMS'}="$options"; - -## Run user hook script here, if any -if ($postinst_hook) { - &run_hook("postinst", $postinst_hook); -} - -if (-d "/etc/kernel/postinst.d") { - print STDERR "Examining /etc/kernel/postinst.d.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version " . - "/etc/kernel/postinst.d") && - die "Failed to process /etc/kernel/postinst.d"; -} - -if (-d "/etc/kernel/postinst.d/$version") { - print STDERR "Examining /etc/kernel/postinst.d/$version.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version " . - "/etc/kernel/postinst.d/$version") && - die "Failed to process /etc/kernel/postinst.d/$version"; -} - -LOADER: { - last unless $do_boot_enable; # Exit if explicitly asked to - - last if $loader =~ /silo/i; # SILO does not have to be executed. - last if $loader =~ /yaboot/i; # yaboot does not have to be executed. - last if $loader =~ /milo/i; # MILO does not have to be executed. - last if $loader =~ /nettrom/i; # NETTROM does not have to be executed. - last if $loader =~ /arcboot/i; # ARCBOOT does not have to be executed. - last if $loader =~ /delo/i; # DELO does not have to be executed. - last if $loader =~ /quik/i; # maintainer asked quik invocation to be ignored - - last unless $loaderloc; - last unless -x $loaderloc; - last unless $do_bootloader; - - if (-T "/etc/$loader.conf") { - # Trust and use the existing lilo.conf. - print STDERR "You already have a $Loader configuration in /etc/$loader.conf\n"; - my $ret = &run_lilo(); - exit $ret if $ret; - } -} - - -sub run_lilo (){ - my $ret; - # Try and figure out if the user really wants lilo to be run -- - # since the default is to run the boot laoder, which is ! grub -- but - # the user may be using grub now, and not changed the default. - - # So, if the user has explicitly asked for the loader to be run, or - # if there is no postinst hook, or if there is no grub installed -- - # we are OK. Or else, we ask. - if ($explicit_do_loader || (! ($postinst_hook && -x '/usr/sbin/grub'))) { - print STDERR "Running boot loader as requested\n"; - } else { - print STDERR "Ok, not running $loader\n"; - } - if ($loader =~ /^lilo/io or $loader =~ /vmelilo/io) { - print STDERR "Testing $loader.conf ... \n"; - unlink $temp_file_name; # security - $ret = system("$loaderloc -t >$temp_file_name 2>&1"); - if ($ret) { - print STDERR "Boot loader test failed\n"; - return $ret; - } - unlink "$temp_file_name"; - print STDERR "Testing successful.\n"; - print STDERR "Installing the "; - print STDERR "partition " if $loader =~ /^lilo/io; - print STDERR "boot sector... \n"; - } - - print STDERR "Running $loaderloc ... \n"; - if ($loader =~ /^elilo/io) { - $ret = system("$loaderloc 2>&1 | tee $temp_file_name"); - } else { - $ret = system("$loaderloc >$temp_file_name 2>&1"); - } - if ($ret) { - print STDERR "Boot loader failed to run\n"; - return $ret; - } - unlink $temp_file_name; - print STDERR "Installation successful.\n"; - return 0; -} - -exit 0; - -__END__ - diff --git a/debian/control-scripts/postrm b/debian/control-scripts/postrm deleted file mode 100644 index 227e351fc59..00000000000 --- a/debian/control-scripts/postrm +++ /dev/null @@ -1,361 +0,0 @@ -#! /usr/bin/perl -# -*- Mode: Cperl -*- -# image.postrm --- -# Author : Manoj Srivastava ( srivasta@glaurung.green-gryphon.com ) -# Created On : Sat May 15 11:05:13 1999 -# Created On Node : glaurung.green-gryphon.com -# Last Modified By : Manoj Srivastava -# Last Modified On : Wed Sep 13 11:26:19 2006 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 57 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# $Id: image.postrm,v 1.31 2003/10/07 16:24:20 srivasta Exp $ -# - - -# -#use strict; #for debugging -use Cwd 'abs_path'; - -$|=1; - -# Predefined values: -my $version = "=V"; -my $link_in_boot = ""; # Should be empty, mostly -my $no_symlink = ""; # Should be empty, mostly -my $reverse_symlink = ""; # Should be empty, mostly -my $do_symlink = "Yes"; # target machine defined -my $do_boot_enable = "Yes"; # target machine defined -my $do_bootfloppy = "Yes"; # target machine defined -my $do_bootloader = "Yes"; # target machine defined -my $move_image = ''; # target machine defined -my $kimage = "=K"; # Should be empty, mostly -my $loader = "=L"; # lilo, silo, quik, palo, vmelilo, or nettrom -my $image_dir = "/boot"; # where the image is located -my $clobber_modules = ''; # target machine defined -my $initrd = "YES"; # initrd kernel -my $do_initrd = ''; # Normally, we don't -my $warn_initrd = 'YES'; # Normally we do -my $use_hard_links = ''; # hardlinks do not work across fs boundaries -my $postinst_hook = ''; #Normally we do not -my $postrm_hook = ''; #Normally we do not -my $preinst_hook = ''; #Normally we do not -my $prerm_hook = ''; #Normally we do not -my $minimal_swap = ''; # Do not swap symlinks -my $ignore_depmod_err = ''; # normally we do not -my $relink_build_link = 'YES'; # There is no harm in checking the link -my $force_build_link = ''; # we shall not create a dangling link -my $kernel_arch = "=B"; -my $ramdisk = "/usr/sbin/update-initramfs"; -my $package_name = "linux-image-$version"; - -my $Loader = "NoLOADER"; # -$Loader = "LILO" if $loader =~ /^lilo/io; -$Loader = "SILO" if $loader =~ /^silo/io; -$Loader = "QUIK" if $loader =~ /^quik/io; -$Loader = "yaboot" if $loader =~ /^yaboot/io; -$Loader = "PALO" if $loader =~ /^palo/io; -$Loader = "NETTROM" if $loader =~ /^nettrom/io; -$Loader = "VMELILO" if $loader =~ /^vmelilo/io; -$Loader = "ZIPL" if $loader =~ /^zipl/io; -$Loader = "ELILO" if $loader =~ /^elilo/io; - - -# This should not point to /tmp, because of security risks. -my $temp_file_name = "/var/log/$loader" . "_log.$$"; - -#known variables -my @boilerplate = (); -my @silotemplate = (); -my @quiktemplate = (); -my @palotemplate = (); -my @vmelilotemplate = (); -my $bootdevice = ''; -my $rootdevice = ''; -my $rootdisk = ''; -my $rootpartition = ''; -my $image_dest = "/"; -my $realimageloc = "/$image_dir/"; -my $have_conffile = ""; -my $CONF_LOC = '/etc/kernel-img.conf'; -my $relative_links = ''; -my $silent_modules = ''; -my $silent_loader = ''; -my $warn_reboot = 'Yes'; # Warn that we are installing a version of - # the kernel we are running - -chdir('/') or die "could not chdir to /:$!\n"; -# remove multiple leading slashes; make sure there is at least one. -$realimageloc =~ s|^/*|/|o; -$realimageloc =~ s|/+|/|o; - - -if (-r "$CONF_LOC" && -f "$CONF_LOC" ) { - if (open(CONF, "$CONF_LOC")) { - while () { - chomp; - s/\#.*$//g; - next if /^\s*$/; - - $do_symlink = "" if /^\s*do_symlinks\s*=\s*(no|false|0)\s*$/ig; - $no_symlink = "" if /^\s*no_symlinks\s*=\s*(no|false|0)\s*$/ig; - $reverse_symlink = "" if /^\s*reverse_symlinks\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*image_in_boot\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*link_in_boot\s*=\s*(no|false|0)\s*$/ig; - $move_image = "" if /^\s*move_image\s*=\s*(no|false|0)\s*$/ig; - $clobber_modules = '' if /^\s*clobber_modules\s*=\s*(no|false|0)\s*$/ig; - $do_boot_enable = '' if /^\s*do_boot_enable\s*=\s*(no|false|0)\s*$/ig; - $do_bootfloppy = '' if /^\s*do_bootfloppy\s*=\s*(no|false|0)\s*$/ig; - $relative_links = '' if /^\s*relative_links \s*=\s*(no|false|0)\s*$/ig; - $do_bootloader = '' if /^\s*do_bootloader\s*=\s*(no|false|0)\s*$/ig; - $do_initrd = '' if /^\s*do_initrd\s*=\s*(no|false|0)\s*$/ig; - $warn_initrd = '' if /^\s*warn_initrd\s*=\s*(no|false|0)\s*$/ig; - $use_hard_links = '' if /^\s*use_hard_links\s*=\s*(no|false|0)\s*$/ig; - $silent_modules = '' if /^\s*silent_modules\s*=\s*(no|false|0)\s*$/ig; - $silent_loader = '' if /^\s*silent_loader\s*=\s*(no|false|0)\s*$/ig; - $warn_reboot = '' if /^\s*warn_reboot\s*=\s*(no|false|0)\s*$/ig; - $minimal_swap = '' if /^\s*minimal_swap\s*=\s*(no|false|0)\s*$/ig; - $ignore_depmod_err = '' if /^\s*ignore_depmod_err\s*=\s*(no|false|0)\s*$/ig; - $relink_build_link = '' if /^\s*relink_build_link\s*=\s*(no|false|0)\s*$/ig; - $force_build_link = '' if /^\s*force_build_link\s*=\s*(no|false|0)\s*$/ig; - - $do_symlink = "Yes" if /^\s*do_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $no_symlink = "Yes" if /^\s*no_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $reverse_symlink = "Yes" if /^\s*reverse_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*image_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*link_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $move_image = "Yes" if /^\s*move_image\s*=\s*(yes|true|1)\s*$/ig; - $clobber_modules = "Yes" if /^\s*clobber_modules\s*=\s*(yes|true|1)\s*$/ig; - $do_boot_enable = "Yes" if /^\s*do_boot_enable\s*=\s*(yes|true|1)\s*$/ig; - $do_bootfloppy = "Yes" if /^\s*do_bootfloppy\s*=\s*(yes|true|1)\s*$/ig; - $do_bootloader = "Yes" if /^\s*do_bootloader\s*=\s*(yes|true|1)\s*$/ig; - $relative_links = "Yes" if /^\s*relative_links\s*=\s*(yes|true|1)\s*$/ig; - $do_initrd = "Yes" if /^\s*do_initrd\s*=\s*(yes|true|1)\s*$/ig; - $warn_initrd = "Yes" if /^\s*warn_initrd\s*=\s*(yes|true|1)\s*$/ig; - $use_hard_links = "Yes" if /^\s*use_hard_links\s*=\s*(yes|true|1)\s*$/ig; - $silent_modules = 'Yes' if /^\s*silent_modules\s*=\s*(yes|true|1)\s*$/ig; - $silent_loader = 'Yes' if /^\s*silent_loader\s*=\s*(yes|true|1)\s*$/ig; - $warn_reboot = 'Yes' if /^\s*warn_reboot\s*=\s*(yes|true|1)\s*$/ig; - $minimal_swap = 'Yes' if /^\s*minimal_swap\s*=\s*(yes|true|1)\s*$/ig; - $ignore_depmod_err = 'Yes' if /^\s*ignore_depmod_err\s*=\s*(yes|true|1)\s*$/ig; - $relink_build_link = 'Yes' if /^\s*relink_build_link\s*=\s*(yes|true|1)\s*$/ig; - $force_build_link = 'Yes' if /^\s*force_build_link\s*=\s*(yes|true|1)\s*$/ig; - - $image_dest = "$1" if /^\s*image_dest\s*=\s*(\S+)/ig; - $postinst_hook = "$1" if /^\s*postinst_hook\s*=\s*(\S+)/ig; - $postrm_hook = "$1" if /^\s*postrm_hook\s*=\s*(\S+)/ig; - $preinst_hook = "$1" if /^\s*preinst_hook\s*=\s*(\S+)/ig; - $prerm_hook = "$1" if /^\s*prerm_hook\s*=\s*(\S+)/ig; - $ramdisk = "$1" if /^\s*ramdisk\s*=\s*(.+)$/ig; - } - close CONF; - $have_conffile = "Yes"; - } -} - -if ($link_in_boot) { - $image_dest = "/$image_dir/"; - $image_dest =~ s|^/*|/|o; -} - -$image_dest = "$image_dest/"; -$image_dest =~ s|/+$|/|o; - -# The destdir may be gone by now. -if (-d "$image_dest") { - chdir("$image_dest") or die "could not chdir to $image_dest:$!\n"; -} - -# Paranoid check to make sure that the correct value is put in there -if (! $kimage) {$kimage = "vmlinuz"} # Hmm. empty -elsif ($kimage =~ m/^b?uImage$/o) {$kimage = "vmlinuz"} # these produce vmlinuz -elsif ($kimage =~ m/^b?zImage$/o) {$kimage = "vmlinuz"} # these produce vmlinuz -elsif ($kimage =~ m/^[iI]mage$/o) { my $nop = $kimage;} -elsif ($kimage =~ m/^vmlinux$/o) { my $nop = $kimage;} -else {$kimage = "vmlinuz"} # default - -$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch; - - -###################################################################### -###################################################################### -############ -###################################################################### -###################################################################### -sub remove_sym_link { - my $bad_image = $_[0]; - - warn "Removing symbolic link $bad_image \n"; - if ($loader =~ /lilo/i) - { - warn "Unless you used the optional flag in lilo, \n"; - } - warn " you may need to re-run your boot loader" . ($loader ? "[$loader]":"") - . "\n"; - # Remove the dangling link - unlink "$bad_image"; -} - -###################################################################### -###################################################################### -############ -###################################################################### -###################################################################### -sub CanonicalizePath { - my $path = join '/', @_; - my @work = split '/', $path; - my @out; - my $is_absolute; - - if (@work && $work[0] eq "") { $is_absolute = 1; shift @work; } - - while (@work) { - my $seg = shift @work; - if ($seg eq "." || $seg eq "") { - } elsif ($seg eq "..") { - if (@out && $out[-1] ne "..") { - pop @out; - } else { - # Leading "..", or "../..", etc. - push @out, $seg; - } - } else { - push @out, $seg; - } - } - - unshift @out, "" if $is_absolute; - return join('/', @out); -} - -###################################################################### -###################################################################### -############ -###################################################################### -###################################################################### -# This removes dangling symlinks. What do we do about hard links? Surely a -# something with the nane $image_dest . "$kimage" ought not to be left behind? -sub image_magic { - my $kimage = $_[0]; - my $image_dest = $_[1]; - - if (-l "$kimage") { - # There is a symbolic link - my $force_move = 0; - my $vmlinuz_target = readlink "$kimage"; - my $real_target = ''; - $real_target = abs_path($vmlinuz_target) if defined ($vmlinuz_target); - if (!defined($vmlinuz_target) || ! -f "$real_target") { - # what, a dangling symlink? - warn "The link " . $image_dest . "$kimage is a damaged link\n"; - # Remove the dangling link - &remove_sym_link("$kimage"); - } - else { - my $canonical_target = CanonicalizePath("$vmlinuz_target"); - if (! -e $canonical_target) { - warn "The link " . $image_dest . "$kimage is a dangling link\n"; - &remove_sym_link("$kimage"); - } - } - } -} - -# set the env var stem -$ENV{'STEM'} = "linux"; - -sub exec_script { - my $type = shift; - my $script = shift; - print STDERR "Running $type hook script $script.\n"; - system ("$script $version $realimageloc$kimage-$version") && - print STDERR "User $type hook script [$script] "; - if ($?) { - if ($? == -1) { - print STDERR "failed to execute: $!\n"; - } - elsif ($? & 127) { - printf STDERR "died with signal %d, %s coredump\n", - ($? & 127), ($? & 128) ? 'with' : 'without'; - } - else { - printf STDERR "exited with value %d\n", $? >> 8; - } - } -} -sub run_hook { - my $type = shift; - my $script = shift; - if ($script =~ m,^/,) { - # Full path provided for the hook script - if (-x "$script") { - &exec_script($type,$script); - } - else { - warn "The provided $type hook script [$script] could not be run.\n"; - } - } - else { - # Look for it in a safe path - for my $path ('/bin', '/sbin', '/usr/bin', '/usr/sbin') { - if (-x "$path/$script") { - &exec_script($type, "$path/$script"); - return 0; - } - } - # No luck - print STDERR "Could not find $type hook script [$script].\n"; - warn "Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'\n"; - } -} - -my $options; -for (@ARGV) { - s,','\\'',g; - $options .= " '$_'"; -} -$ENV{'DEB_MAINT_PARAMS'}="$options"; - -## Run user hook script here, if any -if ($postrm_hook) { - &run_hook("postrm", $postrm_hook); -} -if (-d "/etc/kernel/postrm.d") { - warn "Examining /etc/kernel/postrm.d .\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version " . - "/etc/kernel/postrm.d") && - die "Failed to process /etc/kernel/postrm.d"; -} -if (-d "/etc/kernel/postrm.d/$version") { - warn "Examining /etc/kernel/postrm.d/$version .\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version " . - "/etc/kernel/postrm.d/$version") && - die "Failed to process /etc/kernel/postrm.d/$version"; -} - -# check and remove damaged and dangling symlinks -if ($ARGV[0] !~ /upgrade/) { - system("$ramdisk -d -k " . $version . " > /dev/null 2>&1"); - if (-f $realimageloc . "initrd.img-$version.bak") { - unlink $realimageloc . "initrd.img-$version.bak"; - } - image_magic($kimage, $image_dest); - image_magic($kimage . ".old", $image_dest); - image_magic("initrd.img", $image_dest) if $initrd; - image_magic("initrd.img.old", $image_dest) if $initrd; -} - -exit 0; - -__END__ - - - - - - diff --git a/debian/control-scripts/preinst b/debian/control-scripts/preinst deleted file mode 100644 index 972377609fc..00000000000 --- a/debian/control-scripts/preinst +++ /dev/null @@ -1,315 +0,0 @@ -#! /usr/bin/perl -# -*- Mode: Cperl -*- -# image.preinst --- -# Author : Manoj Srivastava ( srivasta@tiamat.datasync.com ) -# Created On : Sun Jun 14 03:38:02 1998 -# Created On Node : tiamat.datasync.com -# Last Modified By : Manoj Srivastava -# Last Modified On : Sun Sep 24 14:04:42 2006 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 99 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# - -# -#use strict; #for debugging - -use Debconf::Client::ConfModule qw(:all); -version('2.0'); -my $capb=capb("backup"); - -$|=1; - -# Predefined values: -my $version = "=V"; -my $link_in_boot = ""; # Should be empty, mostly -my $no_symlink = ""; # Should be empty, mostly -my $reverse_symlink = ""; # Should be empty, mostly -my $do_symlink = "Yes"; # target machine defined -my $do_boot_enable = "Yes"; # target machine defined -my $do_bootfloppy = "Yes"; # target machine defined -my $do_bootloader = "Yes"; # target machine defined -my $move_image = ''; # target machine defined -my $kimage = "=K"; # Should be empty, mostly -my $loader = "=L"; # lilo, silo, quik, palo, vmelilo, nettrom - # or elilo -my $image_dir = "/boot"; # where the image is located -my $initrd = "YES"; # initrd kernel -my $use_hard_links = ''; # hardlinks do not wirk across fs boundaries -my $postinst_hook = ''; #Normally we do not -my $postrm_hook = ''; #Normally we do not -my $preinst_hook = ''; #Normally we do not -my $prerm_hook = ''; #Normally we do not -my $minimal_swap = ''; # Do not swap symlinks -my $ignore_depmod_err = ''; # normally we do not -my $relink_src_link = 'YES'; # There is no harm in checking the link -my $relink_build_link = 'YES'; # There is no harm in checking the link -my $force_build_link = ''; # There is no harm in checking the link -my $kernel_arch = "=B"; -my $ramdisk = "/usr/sbin/update-initramfs"; # List of tools to create initial ram fs. -my $package_name = "linux-image-$version"; - -my $Loader = "NoLOADER"; # -$Loader = "LILO" if $loader =~ /^lilo/io; -$Loader = "SILO" if $loader =~ /^silo/io; -$Loader = "QUIK" if $loader =~ /^quik/io; -$Loader = "yaboot" if $loader =~ /^yaboot/io; -$Loader = "PALO" if $loader =~ /^palo/io; -$Loader = "NETTROM" if $loader =~ /^nettrom/io; -$Loader = "VMELILO" if $loader =~ /^vmelilo/io; -$Loader = "ZIPL" if $loader =~ /^zipl/io; -$Loader = "ELILO" if $loader =~ /^elilo/io; - - -#known variables -my @boilerplate = (); -my @silotemplate = (); -my @quiktemplate = (); -my @palotemplate = (); -my @vmelilotemplate = (); -my $bootdevice = ''; -my $rootdevice = ''; -my $rootdisk = ''; -my $rootpartition = ''; -my $image_dest = "/"; -my $realimageloc = "/$image_dir/"; -my $have_conffile = ""; -my $CONF_LOC = '/etc/kernel-img.conf'; -my $relative_links = ''; -my $silent_loader = ''; -my $warn_reboot = ''; # Warn that we are installing a version of - # the kernel we are running - -my $modules_base = '/lib/modules'; - -die "Pre inst Internal error. Aborting." unless $version; - -exit 0 if $ARGV[0] =~ /abort-upgrade/; -exit 1 unless $ARGV[0] =~ /(install|upgrade)/; - -$arch = `uname -i`; -if ($arch =~ m/86/) { - system ("grep -q ' pae ' /proc/cpuinfo"); - if ($?) { - print STDERR "This kernel does not support a non-PAE CPU.\n"; - exit 1; - } -} - -# remove multiple leading slashes; make sure there is at least one. -$realimageloc =~ s|^/*|/|o; -$realimageloc =~ s|/+|/|o; - -if (-r "$CONF_LOC" && -f "$CONF_LOC" ) { - if (open(CONF, "$CONF_LOC")) { - while () { - chomp; - s/\#.*$//g; - next if /^\s*$/; - - $do_symlink = "" if /^\s*do_symlinks\s*=\s*(no|false|0)\s*$/ig; - $no_symlink = "" if /^\s*no_symlinks\s*=\s*(no|false|0)\s*$/ig; - $reverse_symlink = "" if /^\s*reverse_symlinks\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*image_in_boot\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*link_in_boot\s*=\s*(no|false|0)\s*$/ig; - $move_image = "" if /^\s*move_image\s*=\s*(no|false|0)\s*$/ig; - $do_boot_enable = '' if /^\s*do_boot_enable\s*=\s*(no|false|0)\s*$/ig; - $do_bootfloppy = '' if /^\s*do_bootfloppy\s*=\s*(no|false|0)\s*$/ig; - $do_bootloader = '' if /^\s*do_bootloader\s*=\s*(no|false|0)\s*$/ig; - $relative_links = '' if /^\s*relative_links \s*=\s*(no|false|0)\s*$/ig; - $use_hard_links = '' if /^\s*use_hard_links\s*=\s*(no|false|0)\s*$/ig; - $silent_loader = '' if /^\s*silent_loader\s*=\s*(no|false|0)\s*$/ig; - $warn_reboot = '' if /^\s*warn_reboot\s*=\s*(no|false|0)\s*$/ig; - $minimal_swap = '' if /^\s*minimal_swap\s*=\s*(no|false|0)\s*$/ig; - $ignore_depmod_err = '' if /^\s*ignore_depmod_err\s*=\s*(no|false|0)\s*$/ig; - $relink_src_link = '' if /^\s*relink_src_link\s*=\s*(no|false|0)\s*$/ig; - $relink_build_link = '' if /^\s*relink_build_link\s*=\s*(no|false|0)\s*$/ig; - $force_build_link = '' if /^\s*force_build_link\s*=\s*(no|false|0)\s*$/ig; - - $do_symlink = "Yes" if /^\s*do_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $no_symlink = "Yes" if /^\s*no_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $reverse_symlink = "Yes" if /^\s*reverse_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*image_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*link_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $move_image = "Yes" if /^\s*move_image\s*=\s*(yes|true|1)\s*$/ig; - $do_boot_enable = "Yes" if /^\s*do_boot_enable\s*=\s*(yes|true|1)\s*$/ig; - $do_bootfloppy = "Yes" if /^\s*do_bootfloppy\s*=\s*(yes|true|1)\s*$/ig; - $do_bootloader = "Yes" if /^\s*do_bootloader\s*=\s*(yes|true|1)\s*$/ig; - $relative_links = "Yes" if /^\s*relative_links\s*=\s*(yes|true|1)\s*$/ig; - $use_hard_links = "Yes" if /^\s*use_hard_links\s*=\s*(yes|true|1)\s*$/ig; - $silent_loader = 'Yes' if /^\s*silent_loader\s*=\s*(yes|true|1)\s*$/ig; - $warn_reboot = 'Yes' if /^\s*warn_reboot\s*=\s*(yes|true|1)\s*$/ig; - $minimal_swap = 'Yes' if /^\s*minimal_swap\s*=\s*(yes|true|1)\s*$/ig; - $ignore_depmod_err = 'Yes' if /^\s*ignore_depmod_err\s*=\s*(yes|true|1)\s*$/ig; - $relink_src_link = 'Yes' if /^\s*relink_src_link\s*=\s*(yes|true|1)\s*$/ig; - $relink_build_link = 'Yes' if /^\s*relink_build_link\s*=\s*(yes|true|1)\s*$/ig; - $force_build_link = 'Yes' if /^\s*force_build_link\s*=\s*(yes|true|1)\s*$/ig; - - $image_dest = "$1" if /^\s*image_dest\s*=\s*(\S+)/ig; - $postinst_hook = "$1" if /^\s*postinst_hook\s*=\s*(\S+)/ig; - $postrm_hook = "$1" if /^\s*postrm_hook\s*=\s*(\S+)/ig; - $preinst_hook = "$1" if /^\s*preinst_hook\s*=\s*(\S+)/ig; - $prerm_hook = "$1" if /^\s*prerm_hook\s*=\s*(\S+)/ig; - $ramdisk = "$1" if /^\s*ramdisk\s*=\s*(.+)$/ig; - } - close CONF; - $have_conffile = "Yes"; - $have_conffile = "Yes"; # stop perl complaining - } -} - -$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch; - -# About to upgrade this package from version $2 TO THIS VERSION. -# "prerm upgrade" has already been called for the old version of -# this package. - -sub find_initrd_tool { - my $hostversion = shift; - my $version = shift; - my @ramdisks = - grep { - my $args = - "$_ " . - "--supported-host-version=$hostversion " . - "--supported-target-version=$version " . - "1>/dev/null 2>&1" - ; - system($args) == 0; - } - split (/[:,\s]+/, $ramdisk); -} - -sub check { - my $version = shift; - my $lib_modules="$modules_base/$version"; - my $message = ''; - - if (-d "$lib_modules") { - opendir(DIR, $lib_modules) || die "can’t opendir $lib_modules: $!"; - my @children = readdir(DIR); - if ($#children > 1) { - my @dirs = grep { -d "$lib_modules/$_" } @children; - if ($#dirs > 1) { # we have subdirs - my $dir_message=''; - for my $dir (@dirs) { - if ($dir =~/kernel$/) { - $dir_message="An older install was detected.\n"; - } - else { - $dir_message="Module sub-directories were detected.\n" - unless $dir_message; - } - } - $message += $dir_message if $dir_message; - } - - my @links = grep { -l "$lib_modules/$_" } @children; - if ($#links > -1) { - my $links_message = ''; - for my $link (@links) { - next if ($link =~ /^build$/); - next if ($link =~ /^source$/); - $links_message = "Symbolic links were detected in $modules_base/$version.\n"; - } - $message += $links_message if $links_message; - } - my @files = grep { -f "$lib_modules/$_" } @children; - $message += "Additional files also exist in $modules_base/$version.\n" - if ($#files > -1); - } - } - else { $message .= "$lib_modules does not exist. ";} - return $message; -} - -if (-d "$modules_base/$version") { - my $errors=check($version); - warn "Info:\n$errors\n" if $errors; -} - -# set the env var stem -$ENV{'STEM'} = "linux"; - -sub exec_script { - my $type = shift; - my $script = shift; - print STDERR "Running $type hook script $script.\n"; - system ("$script $version $realimageloc$kimage-$version") && - print STDERR "User $type hook script [$script] "; - if ($?) { - if ($? == -1) { - print STDERR "failed to execute: $!\n"; - } - elsif ($? & 127) { - printf STDERR "died with signal %d, %s coredump\n", - ($? & 127), ($? & 128) ? 'with' : 'without'; - } - else { - printf STDERR "exited with value %d\n", $? >> 8; - } - exit $? >> 8; - } -} -sub run_hook { - my $type = shift; - my $script = shift; - if ($script =~ m,^/,) { - # Full path provided for the hook script - if (-x "$script") { - &exec_script($type,$script); - } - else { - die "The provided $type hook script [$script] could not be run.\n"; - } - } - else { - # Look for it in a safe path - for my $path ('/bin', '/sbin', '/usr/bin', '/usr/sbin') { - if (-x "$path/$script") { - &exec_script($type, "$path/$script"); - return 0; - } - } - # No luck - print STDERR "Could not find $type hook script [$script].\n"; - die "Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'\n"; - } -} - - -my $options; -for (@ARGV) { - s,','\\'',g; - $options .= " '$_'"; -} -$ENV{'DEB_MAINT_PARAMS'}="$options"; - -## Run user hook script here, if any -if (-x "$preinst_hook") { - &run_hook("preinst", $preinst_hook); -} -if (-d "/etc/kernel/preinst.d") { - print STDERR "Examining /etc/kernel/preinst.d/\n"; - system ("run-parts --verbose --exit-on-error --arg=$version" . - " --arg=$realimageloc$kimage-$version" . - " /etc/kernel/preinst.d") && - die "Failed to process /etc/kernel/preinst.d"; -} -if (-d "/etc/kernel/preinst.d/$version") { - print STDERR "Examining /etc/kernel/preinst.d/$version.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version" . - " --arg=$realimageloc$kimage-$version" . - " /etc/kernel/preinst.d/$version") && - die "Failed to process /etc/kernel/preinst.d/$version"; -} -print STDERR "Done.\n"; - -exit 0; - -__END__ - - diff --git a/debian/control-scripts/prerm b/debian/control-scripts/prerm deleted file mode 100644 index 07e41461d3a..00000000000 --- a/debian/control-scripts/prerm +++ /dev/null @@ -1,312 +0,0 @@ -#! /usr/bin/perl -# -*- Mode: Perl -*- -# image.prerm --- -# Author : root ( root@melkor.pilgrim.umass.edu ) -# Created On : Fri May 17 03:28:59 1996 -# Created On Node : melkor.pilgrim.umass.edu -# Last Modified By : Manoj Srivastava -# Last Modified On : Sat Aug 5 13:14:17 2006 -# Last Machine Used: glaurung.internal.golden-gryphon.com -# Update Count : 85 -# Status : Unknown, Use with caution! -# HISTORY : -# Description : -# -# -# $Id: image.prerm,v 1.22 2003/10/07 16:24:20 srivasta Exp $ -# -# -#use strict; - -$|=1; -# Predefined values: -my $version = "=V"; -my $link_in_boot = ""; # Should be empty, mostly -my $no_symlink = ""; # Should be empty, mostly -my $reverse_symlink = ""; # Should be empty, mostly -my $do_symlinks = "Yes"; # target machine defined -my $do_boot_enable = "Yes"; # target machine defined -my $do_bootfloppy = "Yes"; # target machine defined -my $do_bootloader = "Yes"; # target machine defined -my $move_image = ''; # target machine defined -my $kimage = "=K"; # Should be empty, mostly -my $loader = "=L"; # lilo, silo, quik, palo, vmelilo, or nettrom -my $image_dir = "/boot"; # where the image is located -my $clobber_modules = ''; # target machine defined -my $initrd = "YES"; # initrd kernel -my $use_hard_links = ''; # hardlinks do not wirk across fs boundaries -my $postinst_hook = ''; #Normally we do not -my $postrm_hook = ''; #Normally we do not -my $preinst_hook = ''; #Normally we do not -my $prerm_hook = ''; #Normally we do not -my $minimal_swap = ''; # Do not swap symlinks -my $ignore_depmod_err = ''; # normally we do not -my $relink_build_link = 'YES'; # There is no harm in checking the link -my $force_build_link = ''; # There is no harm in checking the link -my $kernel_arch = "=B"; -my $ramdisk = "/usr/sbin/update-initramfs"; -my $package_name = "linux-image-$version"; - -my $Loader = "NoLOADER"; # -$Loader = "LILO" if $loader =~ /^lilo/io; -$Loader = "SILO" if $loader =~ /^silo/io; -$Loader = "QUIK" if $loader =~ /^quik/io; -$Loader = "yaboot" if $loader =~ /^yaboot/io; -$Loader = "PALO" if $loader =~ /^palo/io; -$Loader = "NETTROM" if $loader =~ /^nettrom/io; -$Loader = "VMELILO" if $loader =~ /^vmelilo/io; -$Loader = "ZIPL" if $loader =~ /^zipl/io; -$Loader = "ELILO" if $loader =~ /^elilo/io; - - -# This should not point to /tmp, because of security risks. -my $temp_file_name = "/var/log/$loader" . "_log.$$"; - -#known variables -my $image_dest = "/"; -my $realimageloc = "/$image_dir/"; -my $have_conffile = ""; -my $CONF_LOC = '/etc/kernel-img.conf'; -my $relative_links = ''; -my $silent_loader = ''; -my $warn_reboot = 'Yes'; # Warn that we are installing a version of - # the kernel we are running - -# remove multiple leading slashes; make sure there is at least one. -$realimageloc =~ s|^/*|/|o; -$realimageloc =~ s|/+|/|o; - -my $DEBUG = 0; - -# Variables used -my $image=''; -my $ret=0; -my $seen=''; -my $answer=''; -my $running = ''; -my $WouldInvalidate = 0; - -if ($ARGV[0] && ($ARGV[0] =~ /remove/ || $ARGV[0] =~ /upgrade/)) { - if (-l "/usr/doc/linux-image-$version") { - unlink "/usr/doc/linux-image-$version"; - } -} - -# Ignore all invocations uxcept when called on to remove -exit 0 unless ($ARGV[0] && $ARGV[0] =~ /remove/) ; - -# Paranoid check to make sure that the correct value is put in there -if (! $kimage) { $kimage = "vmlinuz";} # Hmm. empty -elsif ($kimage =~ m/^b?uImage$/o) { $kimage = "vmlinuz";} # these produce vmlinuz -elsif ($kimage =~ m/^b?zImage$/o) { $kimage = "vmlinuz";} # these produce vmlinuz -elsif ($kimage =~ m/^[iI]mage$/o) { my $nop = $kimage; } -elsif ($kimage =~ m/^vmlinux$/o) { my $nop = $kimage; } -else { $kimage = "vmlinuz";} # Default - -if (-r "$CONF_LOC" && -f "$CONF_LOC" ) { - if (open(CONF, "$CONF_LOC")) { - while () { - chomp; - s/\#.*$//g; - next if /^\s*$/; - - $do_symlink = "" if /^\s*do_symlinks\s*=\s*(no|false|0)\s*$/ig; - $no_symlink = "" if /^\s*no_symlinks\s*=\s*(no|false|0)\s*$/ig; - $reverse_symlink = "" if /^\s*reverse_symlinks\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*image_in_boot\s*=\s*(no|false|0)\s*$/ig; - $link_in_boot = "" if /^\s*link_in_boot\s*=\s*(no|false|0)\s*$/ig; - $move_image = "" if /^\s*move_image\s*=\s*(no|false|0)\s*$/ig; - $clobber_modules = '' if /^\s*clobber_modules\s*=\s*(no|false|0)\s*$/ig; - $do_boot_enable = '' if /^\s*do_boot_enable\s*=\s*(no|false|0)\s*$/ig; - $do_bootfloppy = '' if /^\s*do_bootfloppy\s*=\s*(no|false|0)\s*$/ig; - $relative_links = '' if /^\s*relative_links \s*=\s*(no|false|0)\s*$/ig; - $do_bootloader = '' if /^\s*do_bootloader\s*=\s*(no|false|0)\s*$/ig; - $do_initrd = '' if /^\s*do_initrd\s*=\s*(no|false|0)\s*$/ig; - $use_hard_links = '' if /^\s*use_hard_links\s*=\s*(no|false|0)\s*$/ig; - $silent_loader = '' if /^\s*silent_loader\s*=\s*(no|false|0)\s*$/ig; - $warn_reboot = '' if /^\s*warn_reboot\s*=\s*(no|false|0)\s*$/ig; - $minimal_swap = '' if /^\s*minimal_swap\s*=\s*(no|false|0)\s*$/ig; - $ignore_depmod_err = '' if /^\s*ignore_depmod_err\s*=\s*(no|false|0)\s*$/ig; - $relink_build_link = '' if /^\s*relink_build_link\s*=\s*(no|false|0)\s*$/ig; - $force_build_link = '' if /^\s*force_build_link\s*=\s*(no|false|0)\s*$/ig; - - - $do_symlink = "Yes" if /^\s*do_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $no_symlink = "Yes" if /^\s*no_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $reverse_symlink = "Yes" if /^\s*reverse_symlinks\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*image_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $link_in_boot = "Yes" if /^\s*link_in_boot\s*=\s*(yes|true|1)\s*$/ig; - $move_image = "Yes" if /^\s*move_image\s*=\s*(yes|true|1)\s*$/ig; - $clobber_modules = "Yes" if /^\s*clobber_modules\s*=\s*(yes|true|1)\s*$/ig; - $do_boot_enable = "Yes" if /^\s*do_boot_enable\s*=\s*(yes|true|1)\s*$/ig; - $do_bootfloppy = "Yes" if /^\s*do_bootfloppy\s*=\s*(yes|true|1)\s*$/ig; - $do_bootloader = "Yes" if /^\s*do_bootloader\s*=\s*(yes|true|1)\s*$/ig; - $relative_links = "Yes" if /^\s*relative_links\s*=\s*(yes|true|1)\s*$/ig; - $do_initrd = "Yes" if /^\s*do_initrd\s*=\s*(yes|true|1)\s*$/ig; - $use_hard_links = "Yes" if /^\s*use_hard_links\s*=\s*(yes|true|1)\s*$/ig; - $silent_loader = 'Yes' if /^\s*silent_loader\s*=\s*(yes|true|1)\s*$/ig; - $warn_reboot = 'Yes' if /^\s*warn_reboot\s*=\s*(yes|true|1)\s*$/ig; - $minimal_swap = 'Yes' if /^\s*minimal_swap\s*=\s*(yes|true|1)\s*$/ig; - $ignore_depmod_err = 'Yes' if /^\s*ignore_depmod_err\s*=\s*(yes|true|1)\s*$/ig; - $relink_build_link = 'Yes' if /^\s*relink_build_link\s*=\s*(yes|true|1)\s*$/ig; - $force_build_link = 'Yes' if /^\s*force_build_link\s*=\s*(yes|true|1)\s*$/ig; - - $image_dest = "$1" if /^\s*image_dest\s*=\s*(\S+)/ig; - $postinst_hook = "$1" if /^\s*postinst_hook\s*=\s*(\S+)/ig; - $postrm_hook = "$1" if /^\s*postrm_hook\s*=\s*(\S+)/ig; - $preinst_hook = "$1" if /^\s*preinst_hook\s*=\s*(\S+)/ig; - $prerm_hook = "$1" if /^\s*prerm_hook\s*=\s*(\S+)/ig; - $ramdisk = "$1" if /^\s*ramdisk\s*=\s*(.+)$/ig; - } - close CONF; - $have_conffile = "Yes"; - } -} - - -$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch; - -#check to see if we are trying to remove a running kernel -# if so we abort right now. -chop($running=`uname -r`); -if ($running eq $version) { - print STDERR "WARN: Proceeding with removing running kernel image.\n"; -} - -#Now, they have an alternate kernel which they are currently running - -# This is just us being nice to lilo users. - -chdir("/") or die "could not chdir to /:$!\n"; - -if (-f "/etc/$loader.conf") { #I know, could be a link, but .. - open (LILO, "/etc/$loader.conf") || &success(); # this is not critical - while () { - chop; - s/\#.*//; # nix the comments - next unless /^\s*image\s*=\s(\S+)/o; - $image = $1; - if ($image && -e $image) { - while (defined($image) && -l $image) { - $image = readlink ($image); - } - if (defined($image) && -e $image) { - $WouldInvalidate |= $image =~ /$kimage-$version/; - } - else { - &success(); # invalid $loader.conf file - } - } - else { - &success(); # invalid $loader.conf file - } - } - close (LILO); - if ($WouldInvalidate) { - print STFERR "WARN: Proceeding with removing running kernel image.\n"; - &success(); - } -} - - -# set the env var stem -$ENV{'STEM'} = "linux"; - -sub exec_script { - my $type = shift; - my $script = shift; - print STDERR "Running $type hook script $script.\n"; - system ("$script $version $realimageloc$kimage-$version") && - print STDERR "User $type hook script [$script] "; - if ($?) { - if ($? == -1) { - print STDERR "failed to execute: $!\n"; - } - elsif ($? & 127) { - printf STDERR "died with signal %d, %s coredump\n", - ($? & 127), ($? & 128) ? 'with' : 'without'; - } - else { - printf STDERR "exited with value %d\n", $? >> 8; - } - exit $? >> 8; - } -} -sub run_hook { - my $type = shift; - my $script = shift; - if ($script =~ m,^/,) { - # Full path provided for the hook script - if (-x "$script") { - &exec_script($type,$script); - } - else { - die "The provided $type hook script [$script] could not be run.\n"; - } - } - else { - # Look for it in a safe path - for my $path ('/bin', '/sbin', '/usr/bin', '/usr/sbin') { - if (-x "$path/$script") { - &exec_script($type, "$path/$script"); - return 0; - } - } - # No luck - print STDERR "Could not find $type hook script [$script].\n"; - die "Looked in: '/bin', '/sbin', '/usr/bin', '/usr/sbin'\n"; - } -} - - -my $options; -for (@ARGV) { - s,','\\'',g; - $options .= " '$_'"; -} -$ENV{'DEB_MAINT_PARAMS'}="$options"; - -## Run user hook script here, if any -if (-x "$prerm_hook") { - &run_hook("prerm", $prerm_hook); -} -if (-d "/etc/kernel/prerm.d") { - print STDERR "Examining /etc/kernel/prerm.d.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version " . - "--arg=$realimageloc$kimage-$version /etc/kernel/prerm.d") && - die "Failed to process /etc/kernel/prerm.d"; -} -if (-d "/etc/kernel/prerm.d/$version") { - print STDERR "Examining /etc/kernel/prerm.d/$version.\n"; - system ("run-parts --verbose --exit-on-error --arg=$version" . - " --arg=$realimageloc$kimage-$version " . - "/etc/kernel/prerm.d/$version") && - die "Failed to process /etc/kernel/prerm.d/$version"; -} - -sub success () { - # NOTE: need to keep this list in sync with rules.d/2-binary-arch.mk - my %files_to_keep = ( - 'modules.builtin' => 1, - 'modules.order' => 1, - ); - my $short; - for my $file () { - $short = $file; $short =~ s,.*/,,; - if (!defined $files_to_keep{$short}) { - unlink "$file"; - } - } - exit 0; -} - - - -&success(); -exit 0; -__END__ - - - - - diff --git a/debian/debian.env b/debian/debian.env deleted file mode 100644 index 73880596610..00000000000 --- a/debian/debian.env +++ /dev/null @@ -1 +0,0 @@ -DEBIAN=debian.flo diff --git a/debian/docs/README.inclusion-list b/debian/docs/README.inclusion-list deleted file mode 100644 index b025393e7c1..00000000000 --- a/debian/docs/README.inclusion-list +++ /dev/null @@ -1,51 +0,0 @@ -This README describes the reason for, and the use of, module -inclusion lists. - -The original Hardy release had the notion of sub-flavours, -e.g., a flavour that was constructed as a subset of an existing flavour. -For example, the virtual flavour was extracted from the server flavour using -a subset of the server flavour modules. However, there were some difficult -mainteneance issues with regard to packaging, make rules, and scripts. This -re-implementation of the sub-flavours philosophy is hopefully simpler, -and retrofitable to all releases. - -A module inclusion list looks at the problem of of constructing a package -from the perspective of what modules do we _want_ in the package, as opposed -to what modules we _don't_ want. As the kernel matures, more and more devices are added -which makes the problem of configuration maintenance a real pain in the ass. -If we took the approach of disabling all of the config options that we don't want, -then the differences between flavours will quickly become quite large, making -it difficult to quickly compare the individual flavour configs. Each time a -new config option is added then we also have to make a decision about disabling in -order to continue to keep the minimal number of modules. - -A module inclusion list is applied on a per-flavour basis. For example, -debian./control.d/${flavour}.inclusion-list. For example, the -config for virtual is very close to server and generic, but the inclusion list -causes the virtual package to be constructed with _only_ the modules described -in the inclusion list. - -The inclusion list format is a simple bash regular expression list of files. For example, - -arch/*/{crypto,kernel,oprofile} -drivers/acpi/* -drivers/ata/ahci.ko - -These 3 regular expression forms are suitable for expansion by bash and as inputs to 'find'. -See debian/scripts/module-inclusion for details. - -There are 2 log files created as a side effect of the application of the module -inclusion list; $(flavour).inclusion-list.log and $(flavour).depmod.log. - -$(flavour).inclusion-list.log : This log is created while the inclusion list -modules are being copied. If any are missing, then those warnings go in this log. -While its not considered a fatal error, you should endevour to correct your inclusion -list such that there are no missing modules. - -$(flavour).depmod.log : The log is created as a result of running depmod on the -resulting set of modules. If there are missing symbols then you'll find that information -here. Again, you should modify your inclusion list such that there are no missing -symbols. - -Tim Gardner -June 2, 2010 diff --git a/debian/rules b/debian/rules deleted file mode 100755 index 2d3358b6ff1..00000000000 --- a/debian/rules +++ /dev/null @@ -1,252 +0,0 @@ -#!/usr/bin/make -f -# -# $(DEBIAN)/rules for Ubuntu linux -# -# Use this however you want, just give credit where credit is due. -# -# Copyright (c) 2007 Ben Collins -# - -DEBIAN=$(shell awk -F= '($$1 == "DEBIAN") { print $$2 }' $$new; \ - done - flavours="$(wildcard $(DEBIAN)/control.d/vars.* $(DEBIAN)/sub-flavours/*.vars)";\ - for i in $$flavours; do \ - $(SHELL) $(DROOT)/scripts/control-create $$i | \ - sed -e 's/PKGVER/$(release)/g' \ - -e 's/ABINUM/$(abinum)/g' \ - -e 's/SRCPKGNAME/$(src_pkg_name)/g' \ - -e 's/=HUMAN=/$(human_arch)/g' \ - >> $(DEBIAN)/control.stub; \ - done - cp $(DEBIAN)/control.stub $(DEBIAN)/control - -.PHONY: debian/control -debian/control: $(DEBIAN)/control.stub - rm -rf $(builddir)/modules $(builddir)/firmware \ - $(builddir)/kernel-versions $(builddir)/package-list \ - $(builddir)/$(DEBIAN) - mkdir -p $(builddir)/modules/$(arch)/ - cp $(DEBIAN)/d-i/modules/* $(builddir)/modules/$(arch)/ - mkdir -p $(builddir)/firmware/$(arch)/ - cp $(DEBIAN)/d-i/firmware/* $(builddir)/firmware/$(arch)/ - cp $(DEBIAN)/d-i/package-list $(DEBIAN)/d-i/kernel-versions $(builddir)/ - touch $(builddir)/modules/$(arch)/kernel-image - # kernel-wedge needs to poke around in $(DEBIAN)/ - ln -nsf $(CURDIR)/debian $(builddir)/debian - - # Some files may need to differ between architectures - if [ -d $(DEBIAN)/d-i/modules-$(arch) ]; then \ - cp $(DEBIAN)/d-i/modules-$(arch)/* \ - $(builddir)/modules/$(arch)/; \ - fi - if [ -d $(DEBIAN)/d-i/firmware-$(arch) ]; then \ - cp $(DEBIAN)/d-i/firmware-$(arch)/* \ - $(builddir)/firmware/$(arch)/; \ - fi - - # Remove unwanted stuff for this architecture - if [ -r "$(DEBIAN)/d-i/exclude-modules.$(arch)" ]; then \ - (cat $(DEBIAN)/d-i/exclude-modules.$(arch); \ - ls $(builddir)/modules/$(arch)/) | sort | uniq -d | \ - (cd $(builddir)/modules/$(arch)/; xargs rm -f); \ - fi - if [ -r "$(DEBIAN)/d-i/exclude-firmware.$(arch)" ]; then \ - (cat $(DEBIAN)/d-i/exclude-firmware.$(arch); \ - ls $(builddir)/firmware/$(arch)/) | sort | uniq -d | \ - (cd $(builddir)/firmware/$(arch)/; xargs rm -f); \ - fi - - # Per flavour module lists - flavour_modules=`ls $(DEBIAN)/d-i/modules.$(arch)-* 2>/dev/null` \ - || true; \ - if [ "$$flavour_modules" != "" ]; then \ - for flav in $$flavour_modules; do \ - name=`echo $$flav | sed 's/.*\/modules.$(arch)-//'`; \ - mkdir $(builddir)/modules/$(arch)-$$name; \ - (cd $(builddir)/modules/; tar cf - `cat ../$$flav`) | \ - (cd $(builddir)/modules/$(arch)-$$name/; tar xf -); \ - touch $(builddir)/modules/$(arch)-$$name/kernel-image; \ - done; \ - fi - flavour_firmware=`ls $(DEBIAN)/d-i/firmware.$(arch)-* 2>/dev/null` \ - || true; \ - if [ "$$flavour_firmware" != "" ]; then \ - for flav in $$flavour_firmware; do \ - name=`echo $$flav | sed 's/.*\/firmware.$(arch)-//'`; \ - mkdir $(builddir)/firmware/$(arch)-$$name; \ - (cd $(builddir)/firmware/; tar cf - `cat ../$$flav`) | \ - (cd $(builddir)/firmware/$(arch)-$$name/; tar xf -);\ - touch $(builddir)/firmware/$(arch)-$$name/kernel-image; \ - done; \ - fi - - # Some files may need to differ between flavours - flavour_module_dirs=`ls -d $(DEBIAN)/d-i/modules-$(arch)-* 2>/dev/null`\ - || true; \ - if [ "$$flavour_module_dirs" ]; then \ - for flav in $$flavour_module_dirs; do \ - name=`echo $$flav | sed 's/.*\/modules-$(arch)-//'`; \ - [ -d $(builddir)/modules/$(arch)-$$name ] || \ - cp -a $(builddir)/modules/$(arch) \ - modules/$(arch)-$$name; \ - cp $$flav/* $(builddir)/modules/$(arch)-$$name/; \ - done; \ - fi - flavour_firmware_dirs=`ls -d $(DEBIAN)/d-i/firmware-$(arch)-* 2>/dev/null`\ - || true; \ - if [ "$$flavour_firmware_dirs" ]; then \ - for flav in $$flavour_firmware_dirs; do \ - name=`echo $$flav | sed 's/.*\/firmware-$(arch)-//'`; \ - [ -d $(builddir)/firmware/$(arch)-$$name ] || \ - cp -a $(builddir)/firmware/$(arch) \ - firmware/$(arch)-$$name; \ - cp $$flav/* $(builddir)/firmware/$(arch)-$$name/; \ - done; \ - fi - - # Remove unwanted stuff for each flavour - flavour_exclude=`ls $(DEBIAN)/d-i/exclude-modules.$(arch)-* 2>/dev/null`\ - || true; \ - if [ "$$flavour_exclude" ]; then \ - for flav in $$flavour_exclude; do \ - name=`echo $$flav | sed 's/.*\/exclude-modules.$(arch)-//'`;\ - [ -d $(builddir)/modules/$(arch)-$$name ] || \ - cp -a $(builddir)/modules/$(arch) \ - $(builddir)/modules/$(arch)-$$name; \ - (cat $$flav; \ - ls $(builddir)/modules/$(arch)-$$name) | \ - sort | uniq -d | \ - (cd $(builddir)/modules/$(arch)-$$name/; \ - xargs rm -f); \ - done; \ - fi - flavour_exclude=`ls $(DEBIAN)/d-i/exclude-firmware.$(arch)-* 2>/dev/null`\ - || true; \ - if [ "$$flavour_exclude" ]; then \ - for flav in $$flavour_exclude; do \ - name=`echo $$flav | sed 's/.*\/exclude-firmware.$(arch)-//'`;\ - [ -d $(builddir)/firmware/$(arch)-$$name ] || \ - cp -a $(builddir)/firmware/$(arch) \ - $(builddir)/firmware/$(arch)-$$name; \ - (cat $$flav; \ - ls $(builddir)/firmware/$(arch)-$$name) | \ - sort | uniq -d | \ - (cd $(builddir)/firmware/$(arch)-$$name/; \ - xargs rm -f); \ - done; \ - fi - - if [ ! -d $(builddir)/modules/$(build_arch) ]; then \ - mkdir -p $(builddir)/modules/$(build_arch); \ - cp $(builddir)/modules/$(arch)/* \ - $(builddir)/modules/$(build_arch); \ - fi - if [ ! -d $(builddir)/firmware/$(build_arch) ]; then \ - mkdir -p $(builddir)/firmware/$(build_arch); \ - cp $(builddir)/firmware/$(arch)/* \ - $(builddir)/firmware/$(build_arch); \ - fi - - cp $(DEBIAN)/control.stub debian/control.stub - cd $(builddir) && kernel-wedge gen-control > $(CURDIR)/debian/control diff --git a/debian/rules.d/0-common-vars.mk b/debian/rules.d/0-common-vars.mk deleted file mode 100644 index 27d0873fba3..00000000000 --- a/debian/rules.d/0-common-vars.mk +++ /dev/null @@ -1,231 +0,0 @@ -# -# The source package name will be the first token from $(DEBIAN)/changelog -# -src_pkg_name=$(shell sed -n '1s/^\(.*\) (.*).*$$/\1/p' $(DEBIAN)/changelog) - -# Get some version info -release := $(shell sed -n '1s/^$(src_pkg_name).*(\(.*\)-.*).*$$/\1/p' $(DEBIAN)/changelog) -revisions := $(shell sed -n 's/^$(src_pkg_name)\ .*($(release)-\(.*\)).*$$/\1/p' $(DEBIAN)/changelog | tac) -revision ?= $(word $(words $(revisions)),$(revisions)) -prev_revisions := $(filter-out $(revision),0.0 $(revisions)) -prev_revision := $(word $(words $(prev_revisions)),$(prev_revisions)) - -prev_fullver ?= $(shell dpkg-parsechangelog -l$(DEBIAN)/changelog -o1 -c1 | sed -ne 's/^Version: *//p') - -family=ubuntu - -# This is an internally used mechanism for the daily kernel builds. It -# creates packages whose ABI is suffixed with a minimal representation of -# the current git HEAD sha. If .git/HEAD is not present, then it uses the -# uuidgen program, -# -# AUTOBUILD can also be used by anyone wanting to build a custom kernel -# image, or rebuild the entire set of Ubuntu packages using custom patches -# or configs. -AUTOBUILD= - -ifneq ($(AUTOBUILD),) -skipabi = true -skipmodule = true -skipdbg = true -gitver=$(shell if test -f .git/HEAD; then cat .git/HEAD; else uuidgen; fi) -gitverpre=$(shell echo $(gitver) | cut -b -3) -gitverpost=$(shell echo $(gitver) | cut -b 38-40) -abi_suffix = -$(gitverpre)$(gitverpost) -endif - -ifneq ($(NOKERNLOG),) -ubuntu_log_opts += --no-kern-log -endif -ifneq ($(PRINTSHAS),) -ubuntu_log_opts += --print-shas -endif - -# Get the kernels own extra version to be added to the release signature. -raw_kernelversion=$(shell make kernelversion) - -# -# full_build -- are we doing a full buildd style build -# -ifeq ($(wildcard /CurrentlyBuilding),) -full_build?=false -else -full_build?=true -endif - -# -# The debug packages are ginormous, so you probably want to skip -# building them (as a developer). -# -ifeq ($(full_build),false) -skipdbg=true -endif - -abinum := $(shell echo $(revision) | sed -e 's/\..*//')$(abi_suffix) -prev_abinum := $(shell echo $(prev_revision) | sed -e 's/\..*//')$(abi_suffix) -abi_release := $(release)-$(abinum) - -uploadnum := $(shell echo $(revision) | sed -e 's/.*\.//') -ifneq ($(full_build),false) - uploadnum := $(uploadnum)-Ubuntu -endif - -# XXX: linux-libc-dev got bumped to -803.N inadvertantly by a ti-omap4 upload -# shift our version higher for this package only. Ensure this only -# occurs for the v2.6.35 kernel so that we do not propogate this into -# any other series. -raw_uploadnum := $(shell echo $(revision) | sed -e 's/.*\.//') -libc_dev_version := -ifeq ($(DEBIAN),debian.master) -ifeq ($(release),2.6.35) -libc_dev_version := -v$(release)-$(shell expr "$(abinum)" + 1000).$(raw_uploadnum) -endif -endif - -DEB_HOST_MULTIARCH = $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) -DEB_HOST_GNU_TYPE = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) -DEB_BUILD_GNU_TYPE = $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) -DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH) -DEB_BUILD_ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH) - -# -# Detect invocations of the form 'fakeroot debian/rules binary arch=armhf' -# within an x86'en schroot. This only gets you part of the way since the -# packaging phase fails, but you can at least compile the kernel quickly. -# -arch := $(DEB_HOST_ARCH) -ifneq ($(arch),$(DEB_HOST_ARCH)) - CROSS_COMPILE ?= $(shell dpkg-architecture -a$(arch) -qDEB_HOST_GNU_TYPE -f 2>/dev/null)- -endif - -# -# Detect invocations of the form 'dpkg-buildpackage -B -aarmhf' within -# an x86'en schroot. This is the only way to build all of the packages -# (except for tools). -# -ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) - CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)- -endif - -abidir := $(CURDIR)/$(DEBIAN)/abi/$(release)-$(revision)/$(arch) -prev_abidir := $(CURDIR)/$(DEBIAN)/abi/$(release)-$(prev_revision)/$(arch) -commonconfdir := $(CURDIR)/$(DEBIAN)/config -archconfdir := $(CURDIR)/$(DEBIAN)/config/$(arch) -sharedconfdir := $(CURDIR)/debian.master/config -builddir := $(CURDIR)/debian/build -stampdir := $(CURDIR)/debian/stamps - -# -# The binary package name always starts with linux-image-$KVER-$ABI.$UPLOAD_NUM. There -# are places that you'll find linux-image hard coded, but I guess thats OK since the -# assumption that the binary package always starts with linux-image will never change. -# -bin_pkg_name=linux-image-$(abi_release) -extra_pkg_name=linux-image-extra-$(abi_release) -hdrs_pkg_name=linux-headers-$(abi_release) -indep_hdrs_pkg_name=$(src_pkg_name)-headers-$(abi_release) - -# -# The generation of content in the doc package depends on both 'AUTOBUILD=' and -# 'do_doc_package_content=true'. There are usually build errors during the development -# cycle, so its OK to leave 'do_doc_package_content=false' until those build -# failures get sorted out. Finally, the doc package doesn't really need to be built -# for developer testing (its kind of slow), so only do it if on a buildd. -do_doc_package=true -do_doc_package_content=true -ifeq ($(full_build),false) -do_doc_package_content=false -endif -doc_pkg_name=$(src_pkg_name)-doc - -# -# Similarly with the linux-source package, you need not build it as a developer. Its -# somewhat I/O intensive and utterly useless. -# -do_source_package=true -do_source_package_content=true -ifeq ($(full_build),false) -do_source_package_content=false -endif - -# linux-libc-dev may not be needed, default to building it. -do_libc_dev_package=true - -# common headers normally is built as an indep package, but may be arch -do_common_headers_indep=true - -# add a 'full source' mode -do_full_source=false - -# build tools -ifneq ($(wildcard $(CURDIR)/tools),) - ifeq ($(do_tools),) - ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) - do_tools=false - endif - endif - do_tools?=true -else - do_tools?=false -endif -tools_pkg_name=$(src_pkg_name)-tools-$(abi_release) -tools_common_pkg_name=$(src_pkg_name)-tools-common - -# The general flavour specific image package. -do_flavour_image_package=true - -# The general flavour specific header package. -do_flavour_header_package=true - -# Support parallel= in DEB_BUILD_OPTIONS (see #209008) -# -# These 2 environment variables set the -j value of the kernel build. For example, -# CONCURRENCY_LEVEL=16 fakeroot $(DEBIAN)/rules binary-debs -# or -# DEB_BUILD_OPTIONS=parallel=16 fakeroot $(DEBIAN)/rules binary-debs -# -# The default is to use the number of CPUs. -# -COMMA=, -DEB_BUILD_OPTIONS_PARA = $(subst parallel=,,$(filter parallel=%,$(subst $(COMMA), ,$(DEB_BUILD_OPTIONS)))) -ifneq (,$(DEB_BUILD_OPTIONS_PARA)) - CONCURRENCY_LEVEL := $(DEB_BUILD_OPTIONS_PARA) -endif - -ifeq ($(CONCURRENCY_LEVEL),) - # Check the environment - CONCURRENCY_LEVEL := $(shell echo $$CONCURRENCY_LEVEL) - # No? Then build with the number of CPUs on the host. - ifeq ($(CONCURRENCY_LEVEL),) - CONCURRENCY_LEVEL := $(shell expr `getconf _NPROCESSORS_ONLN` \* 1) - endif - # Oh hell, give 'em one - ifeq ($(CONCURRENCY_LEVEL),) - CONCURRENCY_LEVEL := 1 - endif -endif - -conc_level = -j$(CONCURRENCY_LEVEL) - -# target_flavour is filled in for each step -kmake = make ARCH=$(build_arch) \ - CROSS_COMPILE=$(CROSS_COMPILE) \ - KERNELVERSION=$(abi_release)-$(target_flavour) \ - CONFIG_DEBUG_SECTION_MISMATCH=y \ - KBUILD_BUILD_VERSION="$(uploadnum)" \ - LOCALVERSION= localver-extra= \ - CC=$(CROSS_COMPILE)gcc-4.7 -ifneq ($(LOCAL_ENV_CC),) -kmake += CC=$(LOCAL_ENV_CC) DISTCC_HOSTS=$(LOCAL_ENV_DISTCC_HOSTS) -endif - -# Locking is required in parallel builds to prevent loss of contents -# of the debian/files. -lockme_file = $(CURDIR)/debian/.LOCK -lockme_cmd = flock -w 60 -lockme = $(lockme_cmd) $(lockme_file) - -# Checks if a var is overriden by the custom rules. Called with var and -# flavour as arguments. -custom_override = \ - $(shell if [ -n "$($(1)_$(2))" ]; then echo "$($(1)_$(2))"; else echo "$($(1))"; fi) diff --git a/debian/rules.d/1-maintainer.mk b/debian/rules.d/1-maintainer.mk deleted file mode 100644 index c5fc5d90ae4..00000000000 --- a/debian/rules.d/1-maintainer.mk +++ /dev/null @@ -1,119 +0,0 @@ -# The following targets are for the maintainer only! do not run if you don't -# know what they do. - -.PHONY: printenv updateconfigs printchanges insertchanges startnewrelease diffupstream help updateportsconfigs editportsconfigs - -help: - @echo "These are the targets in addition to the normal $(DEBIAN) ones:" - @echo - @echo " printenv : Print some variables used in the build" - @echo - @echo " updateconfigs : Update core arch configs" - @echo - @echo " editconfigs : Update core arch configs interractively" - @echo " genconfigs : Generate core arch configs in CONFIGS/*" - @echo - @echo " updateportsconfigs : Update ports arch configs" - @echo - @echo " editportsconfigs : Update ports arch configs interactivly" - @echo " genportconfigs : Generate ports arch configs in CONFIGS/*" - @echo - @echo " printchanges : Print the current changelog entries (from git)" - @echo - @echo " insertchanges : Insert current changelog entries (from git)" - @echo - @echo " startnewrelease : Start a new changelog set" - @echo - @echo " diffupstream : Diff stock kernel code against upstream (git)" - @echo - @echo " help : If you are kernel hacking, you need the professional" - @echo " version of this" - @echo - @echo "Environment variables:" - @echo - @echo " NOKERNLOG : Do not add upstream kernel commits to changelog" - @echo " CONCURRENCY_LEVEL=X" - @echo " : Use -jX for kernel compile" - @echo " PRINTSHAS : Include SHAs for commits in changelog" - -printdebian: - @echo "$(DEBIAN)" - -updateconfigs defaultconfigs editconfigs genconfigs dumpconfigs: - dh_testdir; - $(SHELL) $(DROOT)/scripts/misc/kernelconfig $@ - rm -rf build - -updateportsconfigs defaultportsconfigs editportsconfigs genportsconfigs askconfigs: - dh_testdir; - $(SHELL) $(DROOT)/scripts/misc/kernelconfig $@ ports - rm -rf build - -printenv: - dh_testdir - @echo "src package name = $(src_pkg_name)" - @echo "release = $(release)" - @echo "revisions = $(revisions)" - @echo "revision = $(revision)" - @echo "uploadnum = $(uploadnum)" - @echo "prev_revisions = $(prev_revisions)" - @echo "prev_revision = $(prev_revision)" - @echo "abinum = $(abinum)" - @echo "gitver = $(gitver)" - @echo "flavours = $(flavours)" - @echo "skipabi = $(skipabi)" - @echo "skipmodule = $(skipmodule)" - @echo "skipdbg = $(skipdbg)" - @echo "ubuntu_log_opts = $(ubuntu_log_opts)" - @echo "CONCURRENCY_LEVEL = $(CONCURRENCY_LEVEL)" - @echo "bin package name = $(bin_pkg_name)" - @echo "hdr package name = $(hdrs_pkg_name)" - @echo "doc package name = $(doc_pkg_name)" - @echo "do_doc_package = $(do_doc_package)" - @echo "do_doc_package_content = $(do_doc_package_content)" - @echo "do_source_package = $(do_source_package)" - @echo "do_source_package_content = $(do_source_package_content)" - @echo "do_libc_dev_package = $(do_libc_dev_package)" - @echo "do_flavour_image_package = $(do_flavour_image_package)" - @echo "do_flavour_header_package = $(do_flavour_header_package)" - @echo "do_common_headers_indep = $(do_common_headers_indep)" - @echo "do_full_source = $(do_full_source)" - @echo "do_tools = $(do_tools)" - @echo "full_build = $(full_build)" - @echo "libc_dev_version = $(libc_dev_version)" - @echo "DEB_HOST_GNU_TYPE = $(DEB_HOST_GNU_TYPE)" - @echo "DEB_BUILD_GNU_TYPE = $(DEB_BUILD_GNU_TYPE)" - @echo "DEB_HOST_ARCH = $(DEB_HOST_ARCH)" - @echo "DEB_BUILD_ARCH = $(DEB_BUILD_ARCH)" - @echo "arch = $(arch)" - @echo "kmake = $(kmake)" - -printchanges: - @baseCommit=$$(git log --pretty=format:'%H %s' | \ - awk '/UBUNTU: '".*Ubuntu-.*$(prev_fullver)"'$$/ { print $$1; exit }'); \ - git log "$$baseCommit"..HEAD | \ - perl -w -f $(DROOT)/scripts/misc/git-ubuntu-log $(ubuntu_log_opts) - -insertchanges: - @perl -w -f $(DROOT)/scripts/misc/insert-changes.pl $(DROOT) $(DEBIAN) - -diffupstream: - @git diff-tree -p refs/remotes/linux-2.6/master..HEAD $(shell ls | grep -vE '^(ubuntu|$(DEBIAN)|\.git.*)') - -startnewrelease: - dh_testdir - @nextminor=$(shell expr `echo $(revision) | awk -F. '{print $$2}'` + 1); \ - now="$(shell date -R)"; \ - echo "Creating new changelog set for $(abi_release).$$nextminor..."; \ - echo -e "$(src_pkg_name) ($(abi_release).$$nextminor) UNRELEASED; urgency=low\n" > $(DEBIAN)/changelog.new; \ - echo " CHANGELOG: Do not edit directly. Autogenerated at release." >> \ - $(DEBIAN)/changelog.new; \ - echo " CHANGELOG: Use the printchanges target to see the curent changes." \ - >> $(DEBIAN)/changelog.new; \ - echo " CHANGELOG: Use the insertchanges target to create the final log." \ - >> $(DEBIAN)/changelog.new; \ - echo -e "\n -- $$DEBFULLNAME <$$DEBEMAIL> $$now\n" >> \ - $(DEBIAN)/changelog.new ; \ - cat $(DEBIAN)/changelog >> $(DEBIAN)/changelog.new; \ - mv $(DEBIAN)/changelog.new $(DEBIAN)/changelog - diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk deleted file mode 100644 index 5ec6b7793b5..00000000000 --- a/debian/rules.d/2-binary-arch.mk +++ /dev/null @@ -1,539 +0,0 @@ -# We don't want make removing intermediary stamps -.SECONDARY : - -# Prepare the out-of-tree build directory -ifeq ($(do_full_source),true) -build_cd = cd $(builddir)/build-$*; # -build_O = -else -build_cd = -build_O = O=$(builddir)/build-$* -endif - -$(stampdir)/stamp-prepare-%: config-prepare-check-% - @echo Debug: $@ - @touch $@ -$(stampdir)/stamp-prepare-tree-%: target_flavour = $* -$(stampdir)/stamp-prepare-tree-%: $(commonconfdir)/config.common.$(family) $(archconfdir)/config.common.$(arch) $(archconfdir)/config.flavour.% - @echo Debug: $@ - install -d $(builddir)/build-$* - touch $(builddir)/build-$*/ubuntu-build - [ "$(do_full_source)" != 'true' ] && true || \ - rsync -a --exclude debian --exclude debian.master --exclude $(DEBIAN) * $(builddir)/build-$* - cat $^ | sed -e 's/.*CONFIG_VERSION_SIGNATURE.*/CONFIG_VERSION_SIGNATURE="Ubuntu $(release)-$(revision)-$* $(raw_kernelversion)"/' > $(builddir)/build-$*/.config - find $(builddir)/build-$* -name "*.ko" | xargs rm -f - $(build_cd) $(kmake) $(build_O) -j1 silentoldconfig prepare scripts - touch $@ - -# Used by developers as a shortcut to prepare a tree for compilation. -prepare-%: $(stampdir)/stamp-prepare-% - @echo Debug: $@ -# Used by developers to allow efficient pre-building without fakeroot. -build-%: $(stampdir)/stamp-build-% - @echo Debug: $@ - -# Do the actual build, including image and modules -$(stampdir)/stamp-build-%: target_flavour = $* -$(stampdir)/stamp-build-%: bldimg = $(call custom_override,build_image,$*) -$(stampdir)/stamp-build-%: dtb_target = $(dtb_files_$*) -$(stampdir)/stamp-build-%: $(stampdir)/stamp-prepare-% - @echo Debug: $@ build_image $(build_image) bldimg $(bldimg) - $(build_cd) $(kmake) $(build_O) $(conc_level) $(bldimg) modules $(dtb_target) - @touch $@ - -# Install the finished build -install-%: pkgdir = $(CURDIR)/debian/$(bin_pkg_name)-$* -install-%: pkgdir_ex = $(CURDIR)/debian/$(extra_pkg_name)-$* -install-%: bindoc = $(pkgdir)/usr/share/doc/$(bin_pkg_name)-$* -install-%: dbgpkgdir = $(CURDIR)/debian/$(bin_pkg_name)-$*-dbgsym -install-%: signed = $(CURDIR)/debian/$(bin_pkg_name)-signed -install-%: basepkg = $(hdrs_pkg_name) -install-%: indeppkg = $(indep_hdrs_pkg_name) -install-%: kernfile = $(call custom_override,kernel_file,$*) -install-%: instfile = $(call custom_override,install_file,$*) -install-%: hdrdir = $(CURDIR)/debian/$(basepkg)-$*/usr/src/$(basepkg)-$* -install-%: target_flavour = $* -install-%: dtb_files = $(dtb_files_$*) -install-%: checks-% - @echo Debug: $@ kernel_file $(kernel_file) kernfile $(kernfile) install_file $(install_file) instfile $(instfile) - dh_testdir - dh_testroot - dh_clean -k -p$(bin_pkg_name)-$* - dh_clean -k -p$(hdrs_pkg_name)-$* -ifneq ($(skipdbg),true) - dh_clean -k -p$(dbg_pkg_name)-$* -endif - - # The main image - # compress_file logic required because not all architectures - # generate a zImage automatically out of the box -ifeq ($(compress_file),) - install -m600 -D $(builddir)/build-$*/$(kernfile) \ - $(pkgdir)/boot/$(instfile)-$(abi_release)-$* -else - install -d $(pkgdir)/boot - gzip -c9v $(builddir)/build-$*/$(kernfile) > \ - $(pkgdir)/boot/$(instfile)-$(abi_release)-$* - chmod 600 $(pkgdir)/boot/$(instfile)-$(abi_release)-$* -endif - -ifeq ($(arch),amd64) -ifeq ($(uefi_signed),true) - install -d $(signed)/$(release)-$(revision) - # Check to see if this supports handoff, if not do not sign it. - # Check the identification area magic and version >= 0x020b - handoff=`dd if="$(pkgdir)/boot/$(instfile)-$(abi_release)-$*" bs=1 skip=514 count=6 2>/dev/null | od -s | awk '($$1 == 0 && $$2 == 25672 && $$3 == 21362 && $$4 >= 523) { print "GOOD" }'`; \ - if [ "$$handoff" = "GOOD" ]; then \ - cp -p $(pkgdir)/boot/$(instfile)-$(abi_release)-$* \ - $(signed)/$(release)-$(revision)/$(instfile)-$(abi_release)-$*.efi; \ - fi -endif -endif - - install -m644 $(builddir)/build-$*/.config \ - $(pkgdir)/boot/config-$(abi_release)-$* - install -m644 $(abidir)/$* \ - $(pkgdir)/boot/abi-$(abi_release)-$* - install -m600 $(builddir)/build-$*/System.map \ - $(pkgdir)/boot/System.map-$(abi_release)-$* - if [ "$(dtb_files)" ]; then \ - install -d $(pkgdir)/lib/firmware/$(abi_release)-$*/device-tree; \ - for dtb_file in $(dtb_files); do \ - install -m644 $(builddir)/build-$*/arch/$(build_arch)/boot/dts/$$dtb_file \ - $(pkgdir)/lib/firmware/$(abi_release)-$*/device-tree/$$dtb_file; \ - done \ - fi -ifeq ($(no_dumpfile),) - makedumpfile -g $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$* \ - -x $(builddir)/build-$*/vmlinux - chmod 0600 $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$* -endif - - $(build_cd) $(kmake) $(build_O) $(conc_level) modules_install \ - INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$(pkgdir)/ \ - INSTALL_FW_PATH=$(pkgdir)/lib/firmware/$(abi_release)-$* - -ifeq ($(do_extras_package),true) - # - # Remove all modules not in the inclusion list. - # - if [ -f $(DEBIAN)/control.d/$(target_flavour).inclusion-list ] ; then \ - mkdir -p $(pkgdir_ex)/lib/modules/$(abi_release)-$*; \ - mv $(pkgdir)/lib/modules/$(abi_release)-$*/kernel \ - $(pkgdir_ex)/lib/modules/$(abi_release)-$*/kernel; \ - $(SHELL) $(DROOT)/scripts/module-inclusion --master \ - $(pkgdir_ex)/lib/modules/$(abi_release)-$*/kernel \ - $(pkgdir)/lib/modules/$(abi_release)-$*/kernel \ - $(DEBIAN)/control.d/$(target_flavour).inclusion-list 2>&1 | \ - tee $(target_flavour).inclusion-list.log; \ - /sbin/depmod -b $(pkgdir) -ea -F $(pkgdir)/boot/System.map-$(abi_release)-$* \ - $(abi_release)-$* 2>&1 |tee $(target_flavour).depmod.log; \ - if [ `grep -c 'unknown symbol' $(target_flavour).depmod.log` -gt 0 ]; then \ - echo "EE: Unresolved module dependencies in base package!"; \ - exit 1; \ - fi \ - fi -endif - -ifeq ($(no_dumpfile),) - makedumpfile -g $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$* \ - -x $(builddir)/build-$*/vmlinux - chmod 0600 $(pkgdir)/boot/vmcoreinfo-$(abi_release)-$* -endif - rm -f $(pkgdir)/lib/modules/$(abi_release)-$*/build - rm -f $(pkgdir)/lib/modules/$(abi_release)-$*/source - - # Some initramfs-tools specific modules - install -d $(pkgdir)/lib/modules/$(abi_release)-$*/initrd - if [ -f $(pkgdir)/lib/modules/$(abi_release)-$*/kernel/drivers/video/vesafb.ko ]; then\ - ln -f $(pkgdir)/lib/modules/$(abi_release)-$*/kernel/drivers/video/vesafb.ko \ - $(pkgdir)/lib/modules/$(abi_release)-$*/initrd/; \ - fi - - # Now the image scripts - install -d $(pkgdir)/DEBIAN - for script in postinst postrm preinst prerm; do \ - sed -e 's/=V/$(abi_release)-$*/g' -e 's/=K/$(instfile)/g' \ - -e 's/=L/$(loader)/g' -e 's@=B@$(build_arch)@g' \ - $(DROOT)/control-scripts/$$script > $(pkgdir)/DEBIAN/$$script; \ - chmod 755 $(pkgdir)/DEBIAN/$$script; \ - done -ifeq ($(do_extras_package),true) - # Install the postinit/postrm scripts in the extras package. - if [ -f $(DEBIAN)/control.d/$(target_flavour).inclusion-list ] ; then \ - install -d $(pkgdir_ex)/DEBIAN; \ - for script in postinst postrm ; do \ - sed -e 's/=V/$(abi_release)-$*/g' -e 's/=K/$(instfile)/g' \ - -e 's/=L/$(loader)/g' -e 's@=B@$(build_arch)@g' \ - debian/control-scripts/$$script > $(pkgdir_ex)/DEBIAN/$$script; \ - chmod 755 $(pkgdir_ex)/DEBIAN/$$script; \ - done; \ - fi -endif - - # Install the full changelog. -ifeq ($(do_doc_package),true) - install -d $(bindoc) - cat $(DEBIAN)/changelog $(DEBIAN)/changelog.historical | \ - gzip -9 >$(bindoc)/changelog.Debian.old.gz - chmod 644 $(bindoc)/changelog.Debian.old.gz -endif - -ifneq ($(skipsub),true) - for sub in $($(*)_sub); do \ - if ! (TO=$$sub FROM=$* ABI_RELEASE=$(abi_release) $(SHELL) \ - $(DROOT)/scripts/sub-flavour); then exit 1; fi; \ - /sbin/depmod -b debian/$(bin_pkg_name)-$$sub \ - -ea -F debian/$(bin_pkg_name)-$$sub/boot/System.map-$(abi_release)-$* \ - $(abi_release)-$*; \ - install -d debian/$(bin_pkg_name)-$$sub/DEBIAN; \ - for script in postinst postrm preinst prerm; do \ - sed -e 's/=V/$(abi_release)-$*/g' \ - -e 's/=K/$(instfile)/g' \ - -e 's/=L/$(loader)/g' \ - -e 's@=B@$(build_arch)@g' \ - $(DROOT)/control-scripts/$$script > \ - debian/$(bin_pkg_name)-$$sub/DEBIAN/$$script;\ - chmod 755 debian/$(bin_pkg_name)-$$sub/DEBIAN/$$script;\ - done; \ - done -endif - -ifneq ($(skipdbg),true) - # Debug image is simple - install -m644 -D $(builddir)/build-$*/vmlinux \ - $(dbgpkgdir)/usr/lib/debug/boot/vmlinux-$(abi_release)-$* - $(build_cd) $(kmake) $(build_O) modules_install \ - INSTALL_MOD_PATH=$(dbgpkgdir)/usr/lib/debug - # Add .gnu_debuglink sections to each stripped .ko - # pointing to unstripped verson - find $(pkgdir) -name '*.ko' | sed 's|$(pkgdir)||'| while read module ; do \ - if [[ -f "$(dbgpkgdir)/usr/lib/debug/$$module" ]] ; then \ - $(CROSS_COMPILE)objcopy \ - --add-gnu-debuglink=$(dbgpkgdir)/usr/lib/debug/$$module \ - $(pkgdir)/$$module; \ - fi; \ - done - rm -f $(dbgpkgdir)/usr/lib/debug/lib/modules/$(abi_release)-$*/build - rm -f $(dbgpkgdir)/usr/lib/debug/lib/modules/$(abi_release)-$*/source - rm -f $(dbgpkgdir)/usr/lib/debug/lib/modules/$(abi_release)-$*/modules.* - rm -fr $(dbgpkgdir)/usr/lib/debug/lib/firmware -endif - - # The flavour specific headers image - # TODO: Would be nice if we didn't have to dupe the original builddir - install -d -m755 $(hdrdir) - cat $(builddir)/build-$*/.config | \ - sed -e 's/.*CONFIG_DEBUG_INFO=.*/# CONFIG_DEBUG_INFO is not set/g' > \ - $(hdrdir)/.config - chmod 644 $(hdrdir)/.config - $(kmake) O=$(hdrdir) -j1 silentoldconfig prepare scripts - # We'll symlink this stuff - rm -f $(hdrdir)/Makefile - rm -rf $(hdrdir)/include2 $(hdrdir)/source - # Copy over the compilation version. - cp "$(builddir)/build-$*/include/generated/compile.h" \ - "$(hdrdir)/include/generated/compile.h" - # powerpc seems to need some .o files for external module linking. Add them in. -ifeq ($(arch),powerpc) - mkdir -p $(hdrdir)/arch/powerpc/lib - cp $(builddir)/build-$*/arch/powerpc/lib/*.o $(hdrdir)/arch/powerpc/lib -endif - # Script to symlink everything up - $(SHELL) $(DROOT)/scripts/link-headers "$(hdrdir)" "$(indeppkg)" "$*" - # The build symlink - install -d debian/$(basepkg)-$*/lib/modules/$(abi_release)-$* - ln -s /usr/src/$(basepkg)-$* \ - debian/$(basepkg)-$*/lib/modules/$(abi_release)-$*/build - # And finally the symvers - install -m644 $(builddir)/build-$*/Module.symvers \ - $(hdrdir)/Module.symvers - - # Now the header scripts - install -d $(CURDIR)/debian/$(basepkg)-$*/DEBIAN - for script in postinst; do \ - sed -e 's/=V/$(abi_release)-$*/g' -e 's/=K/$(instfile)/g' \ - $(DROOT)/control-scripts/headers-$$script > \ - $(CURDIR)/debian/$(basepkg)-$*/DEBIAN/$$script; \ - chmod 755 $(CURDIR)/debian/$(basepkg)-$*/DEBIAN/$$script; \ - done - - # At the end of the package prep, call the tests - DPKG_ARCH="$(arch)" KERN_ARCH="$(build_arch)" FLAVOUR="$*" \ - VERSION="$(abi_release)" REVISION="$(revision)" \ - PREV_REVISION="$(prev_revision)" ABI_NUM="$(abinum)" \ - PREV_ABI_NUM="$(prev_abinum)" BUILD_DIR="$(builddir)/build-$*" \ - INSTALL_DIR="$(pkgdir)" SOURCE_DIR="$(CURDIR)" \ - run-parts -v $(DROOT)/tests-build - - # - # Remove files which are generated at installation by postinst, - # except for modules.order and modules.builtin - # - # NOTE: need to keep this list in sync with postrm - # - mkdir $(pkgdir)/lib/modules/$(abi_release)-$*/_ - mv $(pkgdir)/lib/modules/$(abi_release)-$*/modules.order \ - $(pkgdir)/lib/modules/$(abi_release)-$*/_ - if [ -f $(pkgdir)/lib/modules/$(abi_release)-$*/modules.builtin ] ; then \ - mv $(pkgdir)/lib/modules/$(abi_release)-$*/modules.builtin \ - $(pkgdir)/lib/modules/$(abi_release)-$*/_; \ - fi - rm -f $(pkgdir)/lib/modules/$(abi_release)-$*/modules.* - mv $(pkgdir)/lib/modules/$(abi_release)-$*/_/* \ - $(pkgdir)/lib/modules/$(abi_release)-$* - rmdir $(pkgdir)/lib/modules/$(abi_release)-$*/_ - -headers_tmp := $(CURDIR)/debian/tmp-headers -headers_dir := $(CURDIR)/debian/linux-libc-dev - -hmake := $(MAKE) -C $(CURDIR) O=$(headers_tmp) \ - KERNELVERSION=$(abi_release) INSTALL_HDR_PATH=$(headers_tmp)/install \ - SHELL="$(SHELL)" ARCH=$(header_arch) - -install-arch-headers: - @echo Debug: $@ - dh_testdir - dh_testroot - dh_clean -k -plinux-libc-dev - - rm -rf $(headers_tmp) - install -d $(headers_tmp) $(headers_dir)/usr/include/ - - $(hmake) $(defconfig) - mv $(headers_tmp)/.config $(headers_tmp)/.config.old - sed -e 's/^# \(CONFIG_MODVERSIONS\) is not set$$/\1=y/' \ - -e 's/.*CONFIG_LOCALVERSION_AUTO.*/# CONFIG_LOCALVERSION_AUTO is not set/' \ - $(headers_tmp)/.config.old > $(headers_tmp)/.config - $(hmake) silentoldconfig - $(hmake) headers_install - - ( cd $(headers_tmp)/install/include/ && \ - find . -name '.' -o -name '.*' -prune -o -print | \ - cpio -pvd --preserve-modification-time \ - $(headers_dir)/usr/include/ ) - mkdir $(headers_dir)/usr/include/$(DEB_HOST_MULTIARCH) - mv $(headers_dir)/usr/include/asm $(headers_dir)/usr/include/$(DEB_HOST_MULTIARCH)/ - - rm -rf $(headers_tmp) - -binary-arch-headers: install-arch-headers - @echo Debug: $@ - dh_testdir - dh_testroot -ifeq ($(do_libc_dev_package),true) -ifneq ($(DEBIAN),debian.master) - echo "non-master branch building linux-libc-dev, aborting" - exit 1 -endif - dh_installchangelogs -plinux-libc-dev - dh_installdocs -plinux-libc-dev - dh_compress -plinux-libc-dev - dh_fixperms -plinux-libc-dev - dh_installdeb -plinux-libc-dev - $(lockme) dh_gencontrol -plinux-libc-dev -- $(libc_dev_version) - dh_md5sums -plinux-libc-dev - dh_builddeb -plinux-libc-dev -endif - -binary-%: pkgimg = $(bin_pkg_name)-$* -binary-%: pkgimg_ex = $(extra_pkg_name)-$* -binary-%: pkghdr = $(hdrs_pkg_name)-$* -binary-%: dbgpkg = $(bin_pkg_name)-$*-dbgsym -binary-%: dbgpkgdir = $(CURDIR)/debian/$(bin_pkg_name)-$*-dbgsym -binary-%: target_flavour = $* -binary-%: install-% - @echo Debug: $@ - dh_testdir - dh_testroot - - dh_installchangelogs -p$(pkgimg) - dh_installdocs -p$(pkgimg) - dh_compress -p$(pkgimg) - dh_fixperms -p$(pkgimg) -X/boot/ - dh_installdeb -p$(pkgimg) - dh_shlibdeps -p$(pkgimg) - $(lockme) dh_gencontrol -p$(pkgimg) - dh_md5sums -p$(pkgimg) - dh_builddeb -p$(pkgimg) -- -Zbzip2 -z9 - -ifeq ($(do_extras_package),true) - if [ -f $(DEBIAN)/control.d/$(target_flavour).inclusion-list ] ; then \ - dh_installchangelogs -p$(pkgimg_ex); \ - dh_installdocs -p$(pkgimg_ex); \ - dh_compress -p$(pkgimg_ex); \ - dh_fixperms -p$(pkgimg_ex) -X/boot/; \ - dh_installdeb -p$(pkgimg_ex); \ - dh_shlibdeps -p$(pkgimg_ex); \ - $(lockme) dh_gencontrol -p$(pkgimg_ex); \ - dh_md5sums -p$(pkgimg_ex); \ - dh_builddeb -p$(pkgimg_ex) -- -Zbzip2 -z9; \ - fi -endif - - dh_installchangelogs -p$(pkghdr) - dh_installdocs -p$(pkghdr) - dh_compress -p$(pkghdr) - dh_fixperms -p$(pkghdr) - dh_shlibdeps -p$(pkghdr) - dh_installdeb -p$(pkghdr) - $(lockme) dh_gencontrol -p$(pkghdr) - dh_md5sums -p$(pkghdr) - dh_builddeb -p$(pkghdr) - -ifneq ($(skipsub),true) - @set -e; for sub in $($(*)_sub); do \ - pkg=$(bin_pkg_name)-$$sub; \ - dh_installchangelogs -p$$pkg; \ - dh_installdocs -p$$pkg; \ - dh_compress -p$$pkg; \ - dh_fixperms -p$$pkg -X/boot/; \ - dh_shlibdeps -p$$pkg; \ - dh_installdeb -p$$pkg; \ - $(lockme) dh_gencontrol -p$$pkg; \ - dh_md5sums -p$$pkg; \ - dh_builddeb -p$$pkg; \ - done -endif - -ifneq ($(skipdbg),true) - dh_installchangelogs -p$(dbgpkg) - dh_installdocs -p$(dbgpkg) - dh_compress -p$(dbgpkg) - dh_fixperms -p$(dbgpkg) - dh_installdeb -p$(dbgpkg) - $(lockme) dh_gencontrol -p$(dbgpkg) - dh_md5sums -p$(dbgpkg) - dh_builddeb -p$(dbgpkg) - - # Hokay...here's where we do a little twiddling... - # Renaming the debug package prevents it from getting into - # the primary archive, and therefore prevents this very large - # package from being mirrored. It is instead, through some - # archive admin hackery, copied to http://ddebs.ubuntu.com. - # - mv ../$(dbgpkg)_$(release)-$(revision)_$(arch).deb \ - ../$(dbgpkg)_$(release)-$(revision)_$(arch).ddeb - set -e; \ - ( \ - $(lockme_cmd) 9 || exit 1; \ - if grep -qs '^Build-Debug-Symbols: yes$$' /CurrentlyBuilding; then \ - sed -i '/^$(dbgpkg)_/s/\.deb /.ddeb /' debian/files; \ - else \ - grep -v '^$(dbgpkg)_.*$$' debian/files > debian/files.new; \ - mv debian/files.new debian/files; \ - fi; \ - ) 9>$(lockme_file) - # Now, the package wont get into the archive, but it will get put - # into the debug system. -endif -ifneq ($(full_build),false) - # Clean out this flavours build directory. - rm -rf $(builddir)/build-$* - # Clean out the debugging package source directory. - rm -rf $(dbgpkgdir) -endif - -# -# per-architecture packages -# -builddirpa = $(builddir)/tools-perarch - -$(stampdir)/stamp-prepare-perarch: - @echo Debug: $@ -ifeq ($(do_tools),true) - rm -rf $(builddirpa) - install -d $(builddirpa) - for i in *; do ln -s $(CURDIR)/$$i $(builddirpa); done - rm $(builddirpa)/tools - rsync -a tools/ $(builddirpa)/tools/ -endif - touch $@ - -$(stampdir)/stamp-build-perarch: $(stampdir)/stamp-prepare-perarch - @echo Debug: $@ -ifeq ($(do_tools),true) -ifeq ($(do_tools_perf),true) - cd $(builddirpa)/tools/perf && \ - make HAVE_CPLUS_DEMANGLE=1 CROSS_COMPILE=$(CROSS_COMPILE) NO_LIBPYTHON=1 NO_LIBPERL=1 PYTHON=python2.7 -endif - if [ "$(arch)" = "amd64" ] || [ "$(arch)" = "i386" ]; then \ - cd $(builddirpa)/tools/power/x86/x86_energy_perf_policy && make CROSS_COMPILE=$(CROSS_COMPILE); \ - cd $(builddirpa)/tools/power/x86/turbostat && make CROSS_COMPILE=$(CROSS_COMPILE); \ - if [ "$(do_hyperv)" = "true" ]; then \ - cd $(builddirpa)/tools/hv && make CROSS_COMPILE=$(CROSS_COMPILE); \ - fi; \ - fi -endif - @touch $@ - -install-perarch: toolspkgdir = $(CURDIR)/debian/$(tools_pkg_name) -install-perarch: $(stampdir)/stamp-build-perarch - @echo Debug: $@ - # Add the tools. -ifeq ($(do_tools),true) - install -d $(toolspkgdir)/usr/bin -ifeq ($(do_tools_perf),true) - install -m755 $(builddirpa)/tools/perf/perf \ - $(toolspkgdir)/usr/bin/perf_$(abi_release) -endif - if [ "$(arch)" = "amd64" ] || [ "$(arch)" = "i386" ]; then \ - install -m755 $(builddirpa)/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy \ - $(toolspkgdir)/usr/bin/x86_energy_perf_policy_$(abi_release); \ - install -m755 $(builddirpa)/tools/power/x86/turbostat/turbostat \ - $(toolspkgdir)/usr/bin/turbostat_$(abi_release); \ - if [ "$(do_hyperv)" = "true" ]; then \ - install -d $(toolspkgdir)/usr/sbin; \ - install -m755 $(builddirpa)/tools/hv/hv_kvp_daemon \ - $(toolspkgdir)/usr/sbin/hv_kvp_daemon_$(abi_release); \ - fi; \ - fi -endif - -binary-perarch: toolspkg = $(tools_pkg_name) -binary-perarch: install-perarch - @echo Debug: $@ -ifeq ($(do_tools),true) - dh_strip -p$(toolspkg) - dh_installchangelogs -p$(toolspkg) - dh_installdocs -p$(toolspkg) - dh_compress -p$(toolspkg) - dh_fixperms -p$(toolspkg) - dh_shlibdeps -p$(toolspkg) - dh_installdeb -p$(toolspkg) - $(lockme) dh_gencontrol -p$(toolspkg) - dh_md5sums -p$(toolspkg) - dh_builddeb -p$(toolspkg) -endif - -binary-debs: signed = $(CURDIR)/debian/$(bin_pkg_name)-signed -binary-debs: signedv = $(CURDIR)/debian/$(bin_pkg_name)-signed/$(release)-$(revision) -binary-debs: signed_tar = $(src_pkg_name)_$(release)-$(revision)_$(arch).tar.gz -binary-debs: binary-perarch $(addprefix binary-,$(flavours)) - @echo Debug: $@ -ifeq ($(arch),amd64) -ifeq ($(uefi_signed),true) - echo $(release)-$(revision) > $(signedv)/version - cd $(signedv) && ls *.efi >flavours - cd $(signed) && tar czvf ../../../$(signed_tar) . - dpkg-distaddfile $(signed_tar) raw-uefi - -endif -endif - -build-arch-deps-$(do_flavour_image_package) += $(addprefix $(stampdir)/stamp-build-,$(flavours)) -build-arch: $(build-arch-deps-true) - @echo Debug: $@ - -ifeq ($(AUTOBUILD),) -binary-arch-deps-$(do_flavour_image_package) += binary-udebs -else -binary-arch-deps-$(do_flavour_image_package) = binary-debs -endif -binary-arch-deps-$(do_libc_dev_package) += binary-arch-headers -ifneq ($(do_common_headers_indep),true) -binary-arch-deps-$(do_flavour_header_package) += binary-headers -binary-arch-deps-$(do_flavour_header_package) += common-tools -endif -binary-arch: $(binary-arch-deps-true) - @echo Debug: $@ - diff --git a/debian/rules.d/3-binary-indep.mk b/debian/rules.d/3-binary-indep.mk deleted file mode 100644 index ca0d1f96fb3..00000000000 --- a/debian/rules.d/3-binary-indep.mk +++ /dev/null @@ -1,165 +0,0 @@ -build-indep: - @echo Debug: $@ - -# The binary-indep dependency chain is: -# -# install-headers <- install-doc <- install-source <- install-tools <- install-indep <- binary-indep -# install-headers <- binary-headers -# -indep_hdrpkg = $(indep_hdrs_pkg_name) -indep_hdrdir = $(CURDIR)/debian/$(indep_hdrpkg)/usr/src/$(indep_hdrpkg) -install-headers: - @echo Debug: $@ - dh_testdir - dh_testroot - dh_prep - -ifeq ($(do_flavour_header_package),true) - install -d $(indep_hdrdir) - find . -path './debian' -prune -o -path './$(DEBIAN)' -prune \ - -o -path './include/*' -prune \ - -o -path './scripts/*' -prune -o -type f \ - \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ - -name '*.sh' -o -name '*.pl' -o -name '*.lds' \) \ - -print | cpio -pd --preserve-modification-time $(indep_hdrdir) - cp -a scripts include $(indep_hdrdir) - (find arch -name include -type d -print | \ - xargs -n1 -i: find : -type f) | \ - cpio -pd --preserve-modification-time $(indep_hdrdir) -endif - -docpkg = $(doc_pkg_name) -docdir = $(CURDIR)/debian/$(docpkg)/usr/share/doc/$(docpkg) -install-doc: install-headers - @echo Debug: $@ -ifeq ($(do_doc_package),true) - dh_testdir - dh_testroot - - install -d $(docdir) -ifeq ($(do_doc_package_content),true) - # First the html docs. We skip these for autobuilds - if [ -z "$(AUTOBUILD)" ]; then \ - install -d $(docdir)/$(doc_pkg_name)-tmp; \ - $(kmake) O=$(docdir)/$(doc_pkg_name)-tmp htmldocs; \ - mv $(docdir)/$(doc_pkg_name)-tmp/Documentation/DocBook \ - $(docdir)/html; \ - rm -rf $(docdir)/$(doc_pkg_name)-tmp; \ - fi -endif - # Copy the rest - cp -a Documentation/* $(docdir) - rm -rf $(docdir)/DocBook - find $(docdir) -name .gitignore | xargs rm -f -endif - -srcpkg = $(src_pkg_name)-source-$(release) -srcdir = $(CURDIR)/debian/$(srcpkg)/usr/src/$(srcpkg) -balldir = $(CURDIR)/debian/$(srcpkg)/usr/src/$(srcpkg)/$(srcpkg) -install-source: install-doc - @echo Debug: $@ -ifeq ($(do_source_package),true) - - install -d $(srcdir) -ifeq ($(do_source_package_content),true) - find . -path './debian' -prune -o -path './$(DEBIAN)' -prune -o \ - -path './.*' -prune -o -print | \ - cpio -pd --preserve-modification-time $(balldir) - (cd $(srcdir); tar cf - $(srcpkg)) | bzip2 -9c > \ - $(srcdir)/$(srcpkg).tar.bz2 - rm -rf $(balldir) - find './debian' './$(DEBIAN)' \ - -path './debian/linux-*' -prune -o \ - -path './debian/$(src_pkg_name)-*' -prune -o \ - -path './debian/build' -prune -o \ - -path './debian/files' -prune -o \ - -path './debian/stamps' -prune -o \ - -path './debian/tmp' -prune -o \ - -print | \ - cpio -pd --preserve-modification-time $(srcdir) - ln -s $(srcpkg)/$(srcpkg).tar.bz2 $(srcdir)/.. -endif -endif - -install-tools: toolspkg = $(tools_common_pkg_name) -install-tools: toolsbin = $(CURDIR)/debian/$(toolspkg)/usr/bin -install-tools: toolssbin = $(CURDIR)/debian/$(toolspkg)/usr/sbin -install-tools: toolsman = $(CURDIR)/debian/$(toolspkg)/usr/share/man -install-tools: install-source $(stampdir)/stamp-build-perarch - @echo Debug: $@ -ifeq ($(do_tools),true) - - install -d $(toolsbin) - install -d $(toolsman)/man1 - -ifeq ($(do_tools_perf),true) - install -m755 debian/tools/perf $(toolsbin)/perf -endif - if [ "$(arch)" = "amd64" ] || [ "$(arch)" = "i386" ]; then \ - install -m755 debian/tools/x86_energy_perf_policy $(toolsbin)/x86_energy_perf_policy; \ - install -m755 debian/tools/turbostat $(toolsbin)/turbostat; \ - if [ "$(do_hyperv)" = "true" ]; then \ - install -d $(toolssbin) ; \ - install -m755 debian/tools/generic $(toolssbin)/hv_kvp_daemon; \ - fi; \ - fi - - rm -rf $(builddir)/tools - install -d $(builddir)/tools - for i in *; do ln -s $(CURDIR)/$$i $(builddir)/tools/; done - rm $(builddir)/tools/tools - rsync -a tools/ $(builddir)/tools/tools/ - -ifeq ($(do_tools_perf),true) - cd $(builddir)/tools/tools/perf && make man - install -m644 $(builddir)/tools/tools/perf/Documentation/*.1 \ - $(toolsman)/man1 -endif - if [ "$(arch)" = "amd64" ] || [ "$(arch)" = "i386" ]; then \ - install -d $(toolsman)/man8; \ - install -m644 $(CURDIR)/tools/power/x86/x86_energy_perf_policy/*.8 $(toolsman)/man8; \ - install -m644 $(CURDIR)/tools/power/x86/turbostat/*.8 $(toolsman)/man8; \ - if [ "$(do_hyperv)" = "true" ]; then \ - install -m644 $(CURDIR)/tools/hv/*.8 $(toolsman)/man8; \ - fi; \ - fi -endif - -install-indep: install-tools - @echo Debug: $@ - -# This is just to make it easy to call manually. Normally done in -# binary-indep target during builds. -binary-headers: install-headers - @echo Debug: $@ - dh_installchangelogs -p$(indep_hdrpkg) - dh_installdocs -p$(indep_hdrpkg) - dh_compress -p$(indep_hdrpkg) - dh_fixperms -p$(indep_hdrpkg) - dh_installdeb -p$(indep_hdrpkg) - $(lockme) dh_gencontrol -p$(indep_hdrpkg) - dh_md5sums -p$(indep_hdrpkg) - dh_builddeb -p$(indep_hdrpkg) - -common-tools: install-indep - @echo Debug: $@ - dh_installchangelogs -p$(tools_common_pkg_name) - dh_installdocs -p$(tools_common_pkg_name) - dh_compress -p$(tools_common_pkg_name) - dh_fixperms -p$(tools_common_pkg_name) - dh_installdeb -p$(tools_common_pkg_name) - $(lockme) dh_gencontrol -p$(tools_common_pkg_name) - dh_md5sums -p$(tools_common_pkg_name) - dh_builddeb -p$(tools_common_pkg_name) - -binary-indep: install-indep - @echo Debug: $@ - - dh_installchangelogs -i - dh_installdocs -i - dh_compress -i - dh_fixperms -i - dh_installdeb -i - $(lockme) dh_gencontrol -i - dh_md5sums -i - dh_builddeb -i diff --git a/debian/rules.d/4-checks.mk b/debian/rules.d/4-checks.mk deleted file mode 100644 index a3c8ed98330..00000000000 --- a/debian/rules.d/4-checks.mk +++ /dev/null @@ -1,27 +0,0 @@ -# Check ABI for package against last release (if not same abinum) -abi-check-%: $(stampdir)/stamp-build-% - @echo Debug: $@ - install -d $(abidir) - sed -e 's/^\(.\+\)[[:space:]]\+\(.\+\)[[:space:]]\(.\+\)$$/\3 \2 \1/' \ - $(builddir)/build-$*/Module.symvers | sort > $(abidir)/$* - @perl -f $(DROOT)/scripts/abi-check "$*" "$(prev_abinum)" "$(abinum)" \ - "$(prev_abidir)" "$(abidir)" "$(skipabi)" - -# Check the module list against the last release (always) -module-check-%: $(stampdir)/stamp-build-% - @echo Debug: $@ - install -d $(abidir) - find $(builddir)/build-$*/ -name \*.ko | \ - sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > $(abidir)/$*.modules - @perl -f $(DROOT)/scripts/module-check "$*" \ - "$(prev_abidir)" "$(abidir)" $(skipmodule) - -checks-%: module-check-% abi-check-% - @echo Debug: $@ - -# Check the config against the known options list. -config-prepare-check-%: $(stampdir)/stamp-prepare-tree-% - @echo Debug: $@ - @perl -f $(DROOT)/scripts/config-check \ - $(builddir)/build-$*/.config "$(arch)" "$*" "$(sharedconfdir)" "$(skipconfig)" - diff --git a/debian/rules.d/5-udebs.mk b/debian/rules.d/5-udebs.mk deleted file mode 100644 index 87d646c06ba..00000000000 --- a/debian/rules.d/5-udebs.mk +++ /dev/null @@ -1,44 +0,0 @@ -# Do udebs if not disabled in the arch-specific makefile -binary-udebs: binary-debs - @echo Debug: $@ -ifeq ($(disable_d_i),) - @$(MAKE) --no-print-directory -f $(DROOT)/rules DEBIAN=$(DEBIAN) \ - do-binary-udebs -endif - -do-binary-udebs: debian/control - @echo Debug: $@ - dh_testdir - dh_testroot - - # unpack the kernels into a temporary directory - mkdir -p debian/d-i-${arch} - - imagelist=$$(cat $(builddir)/kernel-versions | grep ^${arch} | awk '{print $$4}') && \ - for i in $$imagelist; do \ - dpkg -x $$(ls ../linux-image-$$i\_$(release)-$(revision)_${arch}.deb) \ - debian/d-i-${arch}; \ - if [ -f ../linux-image-extra-$$i\_$(release)-$(revision)_${arch}.deb ] ; then \ - dpkg -x ../linux-image-extra-$$i\_$(release)-$(revision)_${arch}.deb \ - debian/d-i-${arch}; \ - fi; \ - /sbin/depmod -b debian/d-i-${arch} $$i; \ - done - - # kernel-wedge will error if no modules unless this is touched - touch $(CURDIR)/debian/build/no-modules - - touch ignore-dups - export SOURCEDIR=$(CURDIR)/debian/d-i-${arch} && \ - cd $(builddir) && \ - kernel-wedge install-files && \ - kernel-wedge check - - # Build just the udebs - dilist=$$(dh_listpackages -s | grep "\-di$$") && \ - [ -z "$dilist" ] || \ - for i in $$dilist; do \ - dh_fixperms -p$$i; \ - $(lockme) dh_gencontrol -p$$i; \ - dh_builddeb -p$$i; \ - done diff --git a/debian/scripts/abi-check b/debian/scripts/abi-check deleted file mode 100755 index c7a02c5589a..00000000000 --- a/debian/scripts/abi-check +++ /dev/null @@ -1,210 +0,0 @@ -#!/usr/bin/perl -w - -my $flavour = shift; -my $prev_abinum = shift; -my $abinum = shift; -my $prev_abidir = shift; -my $abidir = shift; -my $skipabi = shift; - -my $fail_exit = 1; -my $EE = "EE:"; -my $errors = 0; -my $abiskip = 0; - -my $count; - -print "II: Checking ABI for $flavour...\n"; - -if (-f "$prev_abidir/ignore" - or -f "$prev_abidir/$flavour.ignore" or "$skipabi" eq "true") { - print "WW: Explicitly asked to ignore ABI, running in no-fail mode\n"; - $fail_exit = 0; - $abiskip = 1; - $EE = "WW:"; -} - -if ($prev_abinum != $abinum) { - print "II: Different ABI's, running in no-fail mode\n"; - $fail_exit = 0; - $EE = "WW:"; -} - -if (not -f "$abidir/$flavour" or not -f "$prev_abidir/$flavour") { - print "EE: Previous or current ABI file missing!\n"; - print " $abidir/$flavour\n" if not -f "$abidir/$flavour"; - print " $prev_abidir/$flavour\n" if not -f "$prev_abidir/$flavour"; - - # Exit if the ABI files are missing, but return status based on whether - # skip ABI was indicated. - if ("$abiskip" eq "1") { - exit(0); - } else { - exit(1); - } -} - -my %symbols; -my %symbols_ignore; -my %modules_ignore; -my %module_syms; - -# See if we have any ignores -my $ignore = 0; -print " Reading symbols/modules to ignore..."; - -for $file ("$prev_abidir/../blacklist", "$prev_abidir/../../perm-blacklist") { - if (-f $file) { - open(IGNORE, "< $file") or - die "Could not open $file"; - while () { - chomp; - if ($_ =~ m/M: (.*)/) { - $modules_ignore{$1} = 1; - } else { - $symbols_ignore{$_} = 1; - } - $ignore++; - } - close(IGNORE); - } -} -print "read $ignore symbols/modules.\n"; - -sub is_ignored($$) { - my ($mod, $sym) = @_; - - die "Missing module name in is_ignored()" if not defined($mod); - die "Missing symbol name in is_ignored()" if not defined($sym); - - if (defined($symbols_ignore{$sym}) or defined($modules_ignore{$mod})) { - return 1; - } - return 0; -} - -# Read new syms first -print " Reading new symbols ($abinum)..."; -$count = 0; -open(NEW, "< $abidir/$flavour") or - die "Could not open $abidir/$flavour"; -while () { - chomp; - m/^(\S+)\s(.+)\s(0x[0-9a-f]+)\s(.+)$/; - $symbols{$4}{'type'} = $1; - $symbols{$4}{'loc'} = $2; - $symbols{$4}{'hash'} = $3; - $module_syms{$2} = 0; - $count++; -} -close(NEW); -print "read $count symbols.\n"; - -# Now the old symbols, checking for missing ones -print " Reading old symbols ($prev_abinum)..."; -$count = 0; -open(OLD, "< $prev_abidir/$flavour") or - die "Could not open $prev_abidir/$flavour"; -while () { - chomp; - m/^(\S+)\s(.+)\s(0x[0-9a-f]+)\s(.+)$/; - $symbols{$4}{'old_type'} = $1; - $symbols{$4}{'old_loc'} = $2; - $symbols{$4}{'old_hash'} = $3; - $count++; -} -close(OLD); - -print "read $count symbols.\n"; - -print "II: Checking for missing symbols in new ABI..."; -$count = 0; -foreach $sym (keys(%symbols)) { - if (!defined($symbols{$sym}{'type'})) { - print "\n" if not $count; - printf(" MISS : %s%s\n", $sym, - is_ignored($symbols{$sym}{'old_loc'}, $sym) ? " (ignored)" : ""); - $count++ if !is_ignored($symbols{$sym}{'old_loc'}, $sym); - } -} -print " " if $count; -print "found $count missing symbols\n"; -if ($count) { - print "$EE Symbols gone missing (what did you do!?!)\n"; - $errors++; -} - - -print "II: Checking for new symbols in new ABI..."; -$count = 0; -foreach $sym (keys(%symbols)) { - if (!defined($symbols{$sym}{'old_type'})) { - print "\n" if not $count; - print " NEW : $sym\n"; - $count++; - } -} -print " " if $count; -print "found $count new symbols\n"; -if ($count and $prev_abinum == $abinum) { - print "WW: Found new symbols within same ABI. Not recommended\n"; -} - -print "II: Checking for changes to ABI...\n"; -$count = 0; -my $moved = 0; -my $changed_type = 0; -my $changed_hash = 0; -foreach $sym (keys(%symbols)) { - if (!defined($symbols{$sym}{'old_type'}) or - !defined($symbols{$sym}{'type'})) { - next; - } - - # Changes in location don't hurt us, but log it anyway - if ($symbols{$sym}{'loc'} ne $symbols{$sym}{'old_loc'}) { - printf(" MOVE : %-40s : %s => %s\n", $sym, $symbols{$sym}{'old_loc'}, - $symbols{$sym}{'loc'}); - $moved++; - } - - # Changes to export type are only bad if new type isn't - # EXPORT_SYMBOL. Changing things to GPL are bad. - if ($symbols{$sym}{'type'} ne $symbols{$sym}{'old_type'}) { - printf(" TYPE : %-40s : %s => %s%s\n", $sym, $symbols{$sym}{'old_type'}. - $symbols{$sym}{'type'}, is_ignored($symbols{$sym}{'loc'}, $sym) - ? " (ignored)" : ""); - $changed_type++ if $symbols{$sym}{'type'} ne "EXPORT_SYMBOL" - and !is_ignored($symbols{$sym}{'loc'}, $sym); - } - - # Changes to the hash are always bad - if ($symbols{$sym}{'hash'} ne $symbols{$sym}{'old_hash'}) { - printf(" HASH : %-40s : %s => %s%s\n", $sym, $symbols{$sym}{'old_hash'}, - $symbols{$sym}{'hash'}, is_ignored($symbols{$sym}{'loc'}, $sym) - ? " (ignored)" : ""); - $changed_hash++ if !is_ignored($symbols{$sym}{'loc'}, $sym); - $module_syms{$symbols{$sym}{'loc'}}++; - } -} - -print "WW: $moved symbols changed location\n" if $moved; -print "$EE $changed_type symbols changed export type and weren't ignored\n" if $changed_type; -print "$EE $changed_hash symbols changed hash and weren't ignored\n" if $changed_hash; - -$errors++ if $changed_hash or $changed_type; -if ($changed_hash) { - print "II: Module hash change summary...\n"; - foreach $mod (sort { $module_syms{$b} <=> $module_syms{$a} } keys %module_syms) { - next if ! $module_syms{$mod}; - printf(" %-40s: %d\n", $mod, $module_syms{$mod}); - } -} - -print "II: Done\n"; - -if ($errors) { - exit($fail_exit); -} else { - exit(0); -} diff --git a/debian/scripts/config-check b/debian/scripts/config-check deleted file mode 100755 index 9e497c10d99..00000000000 --- a/debian/scripts/config-check +++ /dev/null @@ -1,413 +0,0 @@ -#!/usr/bin/perl -# -# check-config -- check the current config for issues -# -use strict; - -my $P = 'check-config'; - -my $test = -1; -if ($ARGV[0] eq '--test') { - $test = $ARGV[1] + 0; -} elsif ($#ARGV != 4) { - die "Usage: $P \n"; -} - -my ($config, $arch, $flavour, $commonconfig, $warn_only) = @ARGV; - -my $checks = "$commonconfig/enforce"; -my %values = (); - -# If we are in overridden then still perform the checks and emit the messages -# but do not return failure. Those items marked FATAL will alway trigger -# failure. -my $fail_exit = 1; -$fail_exit = 0 if ($warn_only eq 'true' || $warn_only eq '1'); -my $exit_val = 0; - -# Predicate execution engine. -sub pred_first { - my ($rest) = @_; - my $depth = 0; - my $off; - my $char; - my $pred; - - for ($off = 0; $off <= length($rest); $off++) { - $char = substr($rest, $off, 1); - if ($char eq '(') { - $depth++; - } elsif ($char eq ')') { - $depth--; - } elsif ($depth == 0 && $char eq '&') { - last; - } elsif ($depth == 0 && $char eq '|') { - last; - } - } - if ($depth > 0) { - die "$P: $rest: missing close parenthesis ')'\n"; - } elsif ($depth < 0) { - die "$P: $rest: missing open parenthesis '('\n"; - } - - ($pred, $rest) = (substr($rest, 0, $off), substr($rest, $off + 1)); - - $pred =~ s/^\s*//; - $pred =~ s/\s*$//; - - #print "pred<$pred> rest<$rest> char<$char>\n"; - ($pred, $rest, $char); -} - -sub pred_do { - my ($pred) = @_; - my (@a) = split(' ', $pred); - my $possible; - - if ($a[0] eq 'arch') { - die "$P: $pred: malformed -- $pred \n" if ($#a < 1); - for $possible (@a[1..$#a]) { - #print " *** ARCH<$flavour ?? $possible>\n"; - return 1 if ($arch eq $possible); - } - return 0; - } elsif ($a[0] eq 'flavour') { - die "$P: $pred: malformed -- $pred \n" if ($#a < 1); - for $possible (@a[1..$#a]) { - #print " *** FLAVOUR<$flavour ?? $possible>\n"; - return 1 if ($flavour eq $possible); - } - return 0; - } elsif ($a[0] eq 'value') { - die "$P: $pred: malformed -- $pred \n" if ($#a != 2); - #print " *** CHECK<$a[1] $a[2] ?? " . $values{$a[1]} . ">\n"; - return ($values{$a[1]} eq $a[2]); - } elsif ($a[0] eq 'exists') { - die "$P: $pred: malformed -- $pred \n" if ($#a != 1); - return (defined $values{$a[1]}); - } else { - die "$P: $pred: unknown predicate\n"; - } - return 1; -} -sub pred_exec { - my ($rest) = @_; - my $pred; - my $cut = 0; - my $res; - my $sep; - - #print "pred_exec<$rest>\n"; - - ($pred, $rest, $sep) = pred_first($rest); - - # Leading ! implies inversion. - if ($pred =~ /^\s*!\s*(.*)$/) { - #print " invert<$1>\n"; - ($cut, $res) = pred_exec($1); - $res = !$res; - - # Leading / implies a CUT operation. - } elsif ($pred =~ /^\s*\/\s*(.*)$/) { - #print " cut<$1>\n"; - ($cut, $res) = pred_exec($1); - $cut = 1; - - # Recurse left for complex expressions. - } elsif ($pred =~ /^\s*\((.*)\)\s*$/) { - #print " left<$1>\n"; - ($cut, $res) = pred_exec($1); - - # Check for common syntax issues. - } elsif ($pred eq '') { - if ($sep eq '&' || $sep eq '|') { - die "$P: $pred$rest: malformed binary operator\n"; - } else { - die "$P: $pred$rest: syntax error\n"; - } - - # A predicate, execute it. - } else { - #print " DO<$pred> sep<$sep>\n"; - $res = pred_do($pred); - } - - #print " pre-return res<$res> sep<$sep>\n"; - if ($sep eq '') { - # - - # Recurse right for binary operators -- note these are lazy. - } elsif ($sep eq '&' || $sep eq '|') { - #print " right<$rest> ? sep<$sep> res<$res>\n"; - if ($rest =~ /^\s*($|\||\&)/) { - die "$P: $pred$rest: malformed binary operator\n"; - } - if ($cut == 0 && (($res && $sep eq '&') || (!$res && $sep eq '|'))) { - #print " right<$rest>\n"; - ($cut, $res) = pred_exec($rest); - } - - } else { - die "$P: $pred$rest: malformed predicate\n"; - } - #warn " return cut<$cut> res<$res> sep<$sep>\n"; - return ($cut, $res); -} - -# -# PREDICATE TESTS -# -my $test_total = 1; -my $test_good = 0; -sub pred_test { - my ($pred, $eres, $eerr) = @_; - my ($cut, $res, $err, $fail); - - $test_total++; - if ($test != 0 && $test != $test_total - 1) { - return; - } - - eval { - ($cut, $res) = pred_exec($pred); - }; - $err = $@; - chomp($err); - - $res = !!$res; - $eres = !!$eres; - - $fail = ''; - if (defined $eres && $res != $eres) { - $fail = "result missmatch, expected $eres returned $res"; - } - if (defined $eerr && $err eq '') { - $fail = "error missmatch, expected '$eerr' returned success"; - } elsif (defined $eerr && $err !~ /$eerr/) { - $fail = "error missmatch, expected '$eerr' returned '$err'"; - } elsif (!defined $eerr && $err ne '') { - $fail = "error missmatch, expected success returned '$err'"; - } - - if ($fail eq '') { - $test_good++; - } else { - print "$pred: $test_total: FAIL: $fail\n"; - } - #print "TEST<$pred> eres<$eres> eerr<$eerr> res<$res> err<$err>\n"; -} -if ($test >= 0) { - $arch = 'MYARCH'; - $flavour = 'MYFLAVOUR'; - %values = ( 'ENABLED' => 'y', 'DISABLED' => 'n' ); - - # Errors. - my $eunkn = 'unknown predicate'; - my $epred = 'malformed'; - my $eclose = 'missing close parenthesis'; - my $eopen = 'missing open parenthesis'; - my $ebinary = 'malformed binary operator'; - - # Basic predicate tests. - print "TEST: $test_total: basic predicate tests ...\n"; - - pred_test('nosuchcommand', undef, $eunkn); - pred_test('arch', undef, $epred); - pred_test('arch MYARCH', 1, undef); - pred_test('arch MYARCH NOTMYARCH', 1, undef); - pred_test('arch NOTMYARCH MYARCH', 1, undef); - pred_test('arch NOTMYARCH NOTMYARCH MYARCH', 1, undef); - pred_test('arch NOTMYARCH MYARCH NOTMYARCH', 1, undef); - pred_test('arch NOTMYARCH', 0, undef); - - pred_test('flavour', undef, $epred); - pred_test('flavour MYFLAVOUR', 1, undef); - pred_test('flavour NOTMYFLAVOUR MYFLAVOUR', 1, undef); - pred_test('flavour NOTMYFLAVOUR NOTMYFLAVOUR MYFLAVOUR', 1, undef); - pred_test('flavour NOTMYFLAVOUR MYFLAVOUR NOTMYFLAVOUR', 1, undef); - pred_test('flavour NOTMYFLAVOUR', 0, undef); - - pred_test('value', undef, $epred); - pred_test('value ENABLED', undef, $epred); - pred_test('value ENABLED ENABLED ENABLED', undef, $epred); - pred_test('value ENABLED y', 1, undef); - pred_test('value ENABLED n', 0, undef); - pred_test('value DISABLED n', 1, undef); - pred_test('value DISABLED y', 0, undef); - - pred_test('exists', undef, $epred); - pred_test('exists ENABLED ENABLED', undef, $epred); - pred_test('exists ENABLED', 1, undef); - pred_test('exists DISABLED', 1, undef); - pred_test('exists MISSING', 0, undef); - - print "TEST: $test_total: inversion tests ...\n"; - pred_test('!exists ENABLED', 0, undef); - pred_test('!exists MISSING', 1, undef); - pred_test('!!exists ENABLED', 1, undef); - pred_test('!!exists MISSING', 0, undef); - pred_test('!!!exists ENABLED', 0, undef); - pred_test('!!!exists MISSING', 1, undef); - - print "TEST: $test_total: parentheses tests ...\n"; - pred_test('(exists ENABLED)', 1, undef); - pred_test('((exists ENABLED))', 1, undef); - pred_test('(((exists ENABLED)))', 1, undef); - pred_test('(exists MISSING)', 0, undef); - pred_test('((exists MISSING))', 0, undef); - pred_test('(((exists MISSING)))', 0, undef); - - pred_test('(!exists ENABLED)', 0, undef); - pred_test('((!exists ENABLED))', 0, undef); - pred_test('(((!exists ENABLED)))', 0, undef); - pred_test('(!exists MISSING)', 1, undef); - pred_test('((!exists MISSING))', 1, undef); - pred_test('(((!exists MISSING)))', 1, undef); - - pred_test('((!(exists ENABLED)))', 0, undef); - pred_test('((!(exists MISSING)))', 1, undef); - pred_test('(!((exists ENABLED)))', 0, undef); - pred_test('(!((exists MISSING)))', 1, undef); - pred_test('!(((exists ENABLED)))', 0, undef); - pred_test('!(((exists MISSING)))', 1, undef); - pred_test('!((!(exists ENABLED)))', 1, undef); - pred_test('!((!(exists MISSING)))', 0, undef); - pred_test('!(!(!(exists ENABLED)))', 0, undef); - pred_test('!(!(!(exists MISSING)))', 1, undef); - - pred_test('(', undef, $eclose); - pred_test('()(', undef, $eclose); - pred_test('(())(', undef, $eclose); - pred_test('((()))(', undef, $eclose); - pred_test('(()', undef, $eclose); - pred_test('((())', undef, $eclose); - pred_test('(((()))', undef, $eclose); - pred_test('(()()', undef, $eclose); - pred_test('((())()', undef, $eclose); - - pred_test(')', undef, $eopen); - pred_test('())', undef, $eopen); - pred_test('(()))', undef, $eopen); - pred_test('((())))', undef, $eopen); - - print "TEST: $test_total: binary and tests ...\n"; - - pred_test('exists ENABLED &', undef, $ebinary); - pred_test('& exists ENABLED', undef, $ebinary); - pred_test('exists ENABLED & & exists ENABLED', undef, $ebinary); - - pred_test('exists MISSING & exists MISSING', 0, undef); - pred_test('exists MISSING & exists ENABLED', 0, undef); - pred_test('exists ENABLED & exists MISSING', 0, undef); - pred_test('exists ENABLED & exists ENABLED', 1, undef); - - pred_test('exists MISSING & exists MISSING & exists MISSING', 0, undef); - pred_test('exists MISSING & exists MISSING & exists ENABLED', 0, undef); - pred_test('exists MISSING & exists ENABLED & exists MISSING', 0, undef); - pred_test('exists MISSING & exists ENABLED & exists ENABLED', 0, undef); - pred_test('exists ENABLED & exists MISSING & exists MISSING', 0, undef); - pred_test('exists ENABLED & exists MISSING & exists ENABLED', 0, undef); - pred_test('exists ENABLED & exists ENABLED & exists MISSING', 0, undef); - pred_test('exists ENABLED & exists ENABLED & exists ENABLED', 1, undef); - - print "TEST: $test_total: binary or tests ...\n"; - - pred_test('exists ENABLED |', undef, $ebinary); - pred_test('| exists ENABLED', undef, $ebinary); - pred_test('exists ENABLED | | exists ENABLED', undef, $ebinary); - - pred_test('exists MISSING | exists MISSING', 0, undef); - pred_test('exists MISSING | exists ENABLED', 1, undef); - pred_test('exists ENABLED | exists MISSING', 1, undef); - pred_test('exists ENABLED | exists ENABLED', 1, undef); - - pred_test('exists MISSING | exists MISSING | exists MISSING', 0, undef); - pred_test('exists MISSING | exists MISSING | exists ENABLED', 1, undef); - pred_test('exists MISSING | exists ENABLED | exists MISSING', 1, undef); - pred_test('exists MISSING | exists ENABLED | exists ENABLED', 1, undef); - pred_test('exists ENABLED | exists MISSING | exists MISSING', 1, undef); - pred_test('exists ENABLED | exists MISSING | exists ENABLED', 1, undef); - pred_test('exists ENABLED | exists ENABLED | exists MISSING', 1, undef); - pred_test('exists ENABLED | exists ENABLED | exists ENABLED', 1, undef); - - print "TEST: $test_total: binary or/and combination tests ...\n"; - - pred_test('exists MISSING | exists MISSING & exists MISSING', 0, undef); - pred_test('exists MISSING | exists MISSING & exists ENABLED', 0, undef); - pred_test('exists MISSING | exists ENABLED & exists MISSING', 0, undef); - pred_test('exists MISSING | exists ENABLED & exists ENABLED', 1, undef); - pred_test('exists ENABLED | exists MISSING & exists MISSING', 1, undef); - pred_test('exists ENABLED | exists MISSING & exists ENABLED', 1, undef); - pred_test('exists ENABLED | exists ENABLED & exists MISSING', 1, undef); - pred_test('exists ENABLED | exists ENABLED & exists ENABLED', 1, undef); - - print "TEST: $test_total: binary and/or combination tests ...\n"; - - pred_test('exists MISSING & exists MISSING | exists MISSING', 0, undef); - pred_test('exists MISSING & exists MISSING | exists ENABLED', 0, undef); - pred_test('exists MISSING & exists ENABLED | exists MISSING', 0, undef); - pred_test('exists MISSING & exists ENABLED | exists ENABLED', 0, undef); - pred_test('exists ENABLED & exists MISSING | exists MISSING', 0, undef); - pred_test('exists ENABLED & exists MISSING | exists ENABLED', 1, undef); - pred_test('exists ENABLED & exists ENABLED | exists MISSING', 1, undef); - pred_test('exists ENABLED & exists ENABLED | exists ENABLED', 1, undef); - - print "TEST: $test_total: cut tests ...\n"; - pred_test('(arch MYARCH & exists MISSING) | exists ENABLED', 1, undef); - pred_test('(arch MYARCH &/ exists MISSING) | exists ENABLED', 0, undef); - - $test_total--; - print "TEST: $test_good/$test_total succeeded\n"; - - exit $exit_val; -} - -# Load up the current configuration values -- FATAL if this fails -print "$P: $config: loading config\n"; -open(CONFIG, "<$config") || die "$P: $config: open failed -- $! -- aborting\n"; -while () { - # Pull out values. - /^#*\s*(CONFIG_\w+)[\s=](.*)$/ or next; - if ($2 eq 'is not set') { - $values{$1} = 'n'; - } else { - $values{$1} = $2; - } -} -close(CONFIG); - -# FATAL: Check if we have an enforcement list. -my $pass = 0; -my $total = 0; -my $line = ''; -print "$P: $checks: loading checks\n"; -open(CHECKS, "<$checks") || die "$P: $checks: open failed -- $! -- aborting\n"; -while () { - /^#/ && next; - chomp; - - $line .= $_; - if ($line =~ /\\$/) { - chop($line); - $line .= " "; - next; - } - $line =~ /^\s*$/ && next; - - #print "CHECK: <$line>\n"; - $total++; - my (undef, $result) = pred_exec($line); - if (!$result) { - print "$P: FAIL: $line\n"; - $exit_val = $fail_exit; - } else { - $pass++; - } - - $line = ''; -} -close(CHECKS); - -print "$P: $pass/$total checks passed -- exit $exit_val\n"; -exit $exit_val; diff --git a/debian/scripts/control-create b/debian/scripts/control-create deleted file mode 100755 index f8ee9a2408e..00000000000 --- a/debian/scripts/control-create +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash - -. debian/debian.env - -vars=$1 - -. $vars - -if [ "$is_sub" = "" ]; then - flavour=$(basename $vars | sed 's/.*\.//') - stub=${DEBIAN}/control.d/flavour-control.stub -else - flavour=$(basename $vars .vars) - stub=${DEBIAN}/sub-flavours/control.stub -fi - -cat $stub | grep -v '^#' | sed \ - -e "s#FLAVOUR#$flavour#g" \ - -e "s#DESC#$desc#g" \ - -e "s#ARCH#$arch#g" \ - -e "s#SUPPORTED#$supported#g" \ - -e "s#TARGET#$target#g" \ - -e "s#BOOTLOADER#$bootloader#g" \ - -e "s#=PROVIDES=#$provides#g" \ - -e "s#=CONFLICTS=#$conflicts#g" diff --git a/debian/scripts/link-headers b/debian/scripts/link-headers deleted file mode 100755 index fb42dbd12e4..00000000000 --- a/debian/scripts/link-headers +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/bash -e - -. debian/debian.env - -hdrdir="$1" -symdir="$2" -flavour="$3" - -echo "Symlinking and copying headers for $flavour..." - -excludes="( -path ./debian -prune -o -path ./${DEBIAN} -prune -o -path ./.git ) -prune -o" - -( -find . $excludes -type f \ - \( -name 'Makefile*' -o -name 'Kconfig*' -o -name 'Kbuild*' -o \ - -name '*.sh' -o -name '*.pl' -o -name '*.lds' \) -print -find ./include ./scripts -name .gitignore -prune -o -type f -print -find ./include -mindepth 1 -maxdepth 1 $excludes -type d -print -) | ( -while read file; do - dir=$file - lastdir=$file - - if [ -e "$hdrdir/$file" -o -L "$hdrdir/$file" ]; then - continue - fi - - while [ ! -e "$hdrdir/$dir" -a ! -L "$hdrdir/$dir" ]; do - lastdir=$dir - dir=`dirname $dir` - done - # If the last item to exist is a symlink we assume all is good - if [ ! -L "$hdrdir/$dir" ]; then - # Turns things like "./foo" into "../" - deref="`echo -n $lastdir | sed -e 's/^\.//' -e's,/[^/]*,../,g'`" - item="`echo -n $lastdir | sed -e 's/^\.\///'`" - ln -s $deref$symdir/$item $hdrdir/$item - fi -done -) - -exit diff --git a/debian/scripts/misc/find-obsolete-firmware b/debian/scripts/misc/find-obsolete-firmware deleted file mode 100755 index 97a1f3074d2..00000000000 --- a/debian/scripts/misc/find-obsolete-firmware +++ /dev/null @@ -1,91 +0,0 @@ -#!/bin/bash -# -# Find all duplicate or obsolete firmware that is being carried -# in the kernel firmware directory. Compare these files against -# the linux-firmware package for the approriate release. For example, -# assuming this is raring, then compare the kernel firmware files -# against the raring branch of linux-firmware. -# -# Example: $0 ~/ubuntu/linux-firmware-raring - -USEAGE="$0 LINUX-FIRMWARE" - -. debian/debian.env - -NFWINFO="`find $DEBIAN -name fwinfo|wc -l`" -if [ ! "$NFWINFO" = "1" ] -then - echo Your repo is hosed. There can only be one fwinfo file. - find $DEBIAN -name fwinfo - exit 1 -fi - -FWINFO="`pwd`/`find $DEBIAN -name fwinfo`" - -if [ "$1" = "" ] -then - echo $USEAGE - exit 1 -fi -FW="$1" - -if [ ! -f $FW/WHENCE ] -then - echo Bogus linux-firmware directory - exit 1 -fi -if ! egrep -q "^firmware:" $FWINFO -then - echo Bogus firmware info file - exit 1 -fi - -# -# Prepare the tree and make firmware. -# -TEE="tee -a" -LO=`pwd`/firmware.txt -LF=`pwd`/lib/firmware -rm -rf debian/build $LF $LO -fakeroot debian/rules clean prepare-generic -cp debian/build/build-generic/.config . -mkdir -p $LF -make firmware_install INSTALL_MOD_PATH=`pwd` - -(cd $LF -find . -type f | while read f -do - BN="`basename $f`" - - if ! grep -q $BN $FWINFO - then - echo "Unused firmware: $f" | $TEE $LO - else - if [ -f $FW/$f ] - then - if ! cmp $FW/$f $f - then - echo "$f differs" | $TEE $LO - else - echo "$f is duplicated" | $TEE $LO - fi - else - echo "$f does not exist in $FW" | $TEE $LO - fi - fi -done) - -# -# Check for firmware files referenced by the kernel -# that do not exist in either location. -# -cat $FWINFO | while read fwi f -do - if [ -s lib/firmware/$f ] || [ -s $FW/$f ] - then - continue - else - echo "Missing firmware $f" | $TEE $LO - fi -done - diff --git a/debian/scripts/misc/fw-to-ihex.sh b/debian/scripts/misc/fw-to-ihex.sh deleted file mode 100755 index a63fe67b4f5..00000000000 --- a/debian/scripts/misc/fw-to-ihex.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -F=$1 -if [ "$F" = "" ] -then - echo You must supply a firmware file. - exit 1 -fi - -echo "unsigned char d[] = {" > $F.c -hexdump -v -e '"\t" 8/1 "0x%02x, " "\n"' $F >> $F.c -echo "};" >> $F.c -sed -i 's/0x .*$//' $F.c - -O="`dirname $F`/`basename $F`.o" -gcc -o $O -c $F.c -objcopy -Oihex $F.o $F.ihex - diff --git a/debian/scripts/misc/get-firmware b/debian/scripts/misc/get-firmware deleted file mode 100755 index b1ed8e68985..00000000000 --- a/debian/scripts/misc/get-firmware +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/bash -# -# Find all files in linux-firmware that are new or different since the previous release -# and copy them into the kernel firmware directory. You should only do this on the -# backport branch since it would be redundant on the released kernel. It assumed you've -# unpacked linux-firmware from each release into separate directories. -# -# Example: $0 ~/ubuntu/linux-firmware-precise ~/ubuntu/linux-firmware-quantal - -if [ "$1" = "" ] || [ "$2" = "" ] || [ ! -f $1/WHENCE ] || [ ! -f $2/WHENCE ] -then - echo You must supply 2 firmware directories. - exit 1 -fi - -if [ ! -f debian/debian.env ] -then - echo You must run this script from the root of the repo - exit 1 -fi -. debian/debian.env - -NFWINFO="`find $DEBIAN -name fwinfo|wc -l`" -if [ ! "$NFWINFO" = "1" ] -then - echo Your repo is hosed. There can only be one fwinfo file. - find $DEBIAN -name fwinfo - exit 1 -fi - -FWINFO="`pwd`/`find $DEBIAN -name fwinfo`" - -CDIR=`pwd` -OFW=$1 -NFW=$2 - -cd $NFW -# -# Find all files in $NFW that are new or different from $1 -# -(find . -type f | egrep -v "debian|git|LICEN|WHEN|READ|Make|configure" | sed 's;\./;;' | \ -while read f -do - if grep -q $f $FWINFO - then - if [ ! -f $OFW/$f ] - then - echo $f - elif ! cmp $f $OFW/$f > /dev/null - then - echo $f - fi - fi -done) |\ -while read f -do - mkdir -p $CDIR/firmware/`dirname $f` - if [ ! -f $CDIR/firmware/`dirname $f`/`basename $f`.ihex ] - then - cp -v $f $CDIR/firmware/`dirname $f` - fi -done diff --git a/debian/scripts/misc/getabis b/debian/scripts/misc/getabis deleted file mode 100755 index cf5344f910a..00000000000 --- a/debian/scripts/misc/getabis +++ /dev/null @@ -1,130 +0,0 @@ -#!/bin/bash - -if [ "$#" != "2" ]; then - echo "Usage: $0 " 1>&2 - exit 1 -fi - -if [ "$DEBIAN" = "" ]; then - . debian/debian.env -fi - -ver=$1 -revision=$2 -abi=$(echo $revision | awk -F. '{print $1}') - -verabi=$ver-$abi -verfull=$ver-$revision - -WGET="wget --tries=1 --timeout=10 --quiet -c" - -abidir="`pwd`/$DEBIAN/abi/$verfull" -tmpdir="`pwd`/abi-tmp-$verfull" -origdir="`pwd`" -fwinfo=$abidir/fwinfo - -test -d $tmpdir || mkdir $tmpdir - -package_prefixes() { - __package_prefixes="$@" -} - -getall() { - arch=$1 - shift - - mkdir -p $abidir/$arch - - for sub in $@; do - if [ -f $abidir/$arch/$sub ]; then - echo "Exists: $sub" - continue - fi - echo -n "Fetching $sub($arch)..." - prefixes="" - filenames="" - cd $tmpdir - for prefix in $__package_prefixes - do - filename=${prefix}-${verabi}-${sub}_${verfull}_${arch}.deb - for r in "${repo_list[@]}" - do - if ! [ -f $filename ]; then - $WGET $r/$filename - fi - if [ -f $filename ]; then - prefixes="$prefixes $prefix" - filenames="$filenames $filename" - break - fi - done - done - if [ "$filenames" != "" ]; then - echo -n "extracting$prefixes..." - for filename in $filenames - do - dpkg-deb --extract $filename tmp - done - find tmp -name "*.ko" | while read f; do - modinfo $f | grep ^firmware >> $fwinfo - done - if [ -f tmp/boot/abi-* ]; then - mv tmp/boot/abi-* $abidir/$arch/$sub - else - echo -n "NO ABI FILE..." - fi - (cd tmp; find lib/modules/$verabi-$sub/kernel -name '*.ko') | \ - sed -e 's/.*\/\([^\/]*\)\.ko/\1/' | sort > \ - $abidir/$arch/$sub.modules - ( - cd tmp; - # Prevent exposing some errors when called by python scripts. SIGPIPE seems to get - # exposed when using the `find ...` form of the command. - ko=$(find lib/modules/$verabi-$sub/kernel \ - -name '*.ko' | head -1) - readelf -p .comment "$ko" | awk ' - ($1 == "[") { - printf("%s", $3); - for (n=4; n<=NF; n++) { - printf(" %s", $n); - } - print "" - }' | sort -u >$abidir/$arch/$sub.compiler - version=`cat $abidir/$arch/$sub.compiler` - echo -n "$version..." - ) - rm -rf tmp $filenames - echo "done." - else - echo "FAILED." - fi - cd $origdir - done -} - -# MAIN - -# Setup abi directory -mkdir -p $abidir -echo $abi > $abidir/abiname - -# NOTE: The flavours are hardcoded, because they may have changed from the -# current build. - -__package_prefixes="linux-image" - -. $DEBIAN/etc/getabis - -compilers=`cat $abidir/*/*.compiler | sort -u | wc -l` -if [ "$compilers" != 1 ]; then - echo "WARNING: inconsistant compiler versions detected" 1>&2 -fi - -sort < $fwinfo | uniq > fwinfo.tmp -mv fwinfo.tmp $fwinfo - -rmdir $tmpdir - -# Add the new ABI directory, remove the old -git add $abidir -find $DEBIAN/abi/* -maxdepth 0 -type d | grep -v $verfull | while read f; do git rm -r $f;done diff --git a/debian/scripts/misc/git-ubuntu-log b/debian/scripts/misc/git-ubuntu-log deleted file mode 100755 index 2967d875bd6..00000000000 --- a/debian/scripts/misc/git-ubuntu-log +++ /dev/null @@ -1,232 +0,0 @@ -#!/usr/bin/perl -w - -use strict; -use Text::Wrap; - -my $kernel_auth = "Upstream Kernel Changes"; - -my (%map, @reverts); -my $pstate = 1; -my $no_kern_log = 0; -my $print_shas = 0; -my $first_print = 1; - -while (@ARGV) { - my $opt = $ARGV[0]; - shift; - if ($opt eq "--no-kern-log") { - $no_kern_log = 1; - } elsif ($opt eq "--print-shas") { - $print_shas = 1; - } else { - print STDERR "Unknown options: $opt\n"; - exit(1); - } -} - -sub check_reverts($) { - my ($entry) = @_; - my ($check); - - foreach $check (reverse @reverts) { - my $desc = "Revert \"" . $entry->{'desc'} . "\""; - if ($check->{'desc'} eq $desc) { - @reverts = grep($_->{'desc'} ne $desc, @reverts); - return 1; - } - } - - return 0; -} - -sub add_entry($) { - my ($entry) = @_; - my $key = $entry->{'author'}; - - # store description in array, in email->{desc list} map - if (exists $map{$key}) { - # grab ref - my $obj = $map{$key}; - - # add desc to array - push(@$obj, $entry); - } else { - # create new array, containing 1 item - my @arr = ($entry); - - # store ref to array - $map{$key} = \@arr; - } -} - -sub shortlog_entry($$$$$) { - my ($name, $desc, $bug, $cve, $commit) = @_; - my $entry; - - $desc =~ s#/pub/scm/linux/kernel/git/#/.../#g; - $desc =~ s#\[PATCH\] ##g; - - $desc =~ s#^\s*##g; - $desc =~ s# *UBUNTU: ##g; - - $entry->{'desc'} = $desc; - if ($bug ne '') { - $entry->{'bugno'} = $bug; - } - $entry->{'cve'} = $cve; - $entry->{'commit'} = $commit; - $entry->{'author'} = $name; - - if ($desc =~ /^Revert "/) { - push(@reverts, $entry); - return; - } - - return if check_reverts($entry); - - add_entry($entry); -} - -# sort comparison function -sub by_name($$) { - my ($a, $b) = @_; - - uc($a) cmp uc($b); -} - -sub shortlog_output { - my ($obj, $key, $entry); - - foreach $key (sort by_name keys %map) { - next if $key eq $kernel_auth and $no_kern_log; - - print "\n" unless $first_print; - $first_print = 0; - - # output author - printf " [ %s ]\n\n", $key; - - # output author's 1-line summaries - $obj = $map{$key}; - foreach $entry (reverse @$obj) { - print wrap(" * ", " ", $entry->{'desc'}) . "\n"; - # For non upstream changes, add other info. - if ($key ne $kernel_auth) { - if ($print_shas) { - print " - GIT-SHA " . $entry->{'commit'} . - "\n"; - } - } - if (defined($entry->{'bugno'})) { - print " - LP: #" . $entry->{'bugno'} . "\n"; - } - if (defined($entry->{'cve'})) { - print " - " . $entry->{'cve'} . "\n"; - } - } - } -} - -sub changelog_input { - my ($author, $desc, $commit, $entry, $cve); - - while () { - # get commit - if ($pstate == 1) { - next unless /^commit (.*)/; - - $commit = $1; - - $pstate++; - } - - # get author and email - elsif ($pstate == 2) { - my ($email); - - next unless /^[Aa]uthor:?\s*(.*?)\s*<(.*)>/; - - $author = $1; - $email = $2; - $desc = undef; - $cve = undef; - - # cset author fixups - if (!$author) { - $author = $email; - } - $pstate++; - } - - # skip to blank line - elsif ($pstate == 3) { - next unless /^\s*$/; - $pstate++; - } - - # skip to non-blank line - elsif ($pstate == 4) { - next unless /^\s*?(.*)/; - my $ignore = 0; - my $do_ignore = 0; - my $bug = undef; - my %bugz = (); - my $k; - - # skip lines that are obviously not - # a 1-line cset description - next if /^\s*From: /; - - chomp; - $desc = $1; - - if ($desc =~ /^ *(Revert "|)UBUNTU:/) { - $do_ignore = 1; - } else { - $do_ignore = 0; - $author = $kernel_auth; - $ignore = 1 if $desc =~ /Merge /; - } - while () { - $ignore = 1 if ($do_ignore && /^ *Ignore: yes/i); - if (/^ *Bug: *(#|)([0-9#,\s]*)\s*$/i) { - foreach $k (split('(,|\s)\s*(#|)', $2)) { - $bugz{$k} = 1 if (($k ne '') and ($k =~ /[0-9]+/)); - } - } - elsif (/^ *BugLink: *http.*:\/\/.*\/([0-9]+)/i) { - $bugz{$1} = 1; - } - elsif (/^ *(CVE-.*)/) { - $cve = $1 - } - last if /^commit /; - } - - $bug = join(", #", sort keys(%bugz)); - if (!$ignore) { - &shortlog_entry($author, $desc, $bug, - $cve, $commit, 0); - } - - $pstate = 1; - if ($_ && /^commit (.*)/) { - $commit = $1; - $pstate++; - } - } - - else { - die "invalid parse state $pstate"; - } - } - - foreach $entry (@reverts) { - add_entry($entry); - } -} - -&changelog_input; -&shortlog_output; - -exit(0); diff --git a/debian/scripts/misc/insert-changes.pl b/debian/scripts/misc/insert-changes.pl deleted file mode 100755 index c820597a9fc..00000000000 --- a/debian/scripts/misc/insert-changes.pl +++ /dev/null @@ -1,36 +0,0 @@ -#!/usr/bin/perl -w - -my $debian; -$droot = $ARGV[0] if (defined $ARGV[0]); -$droot = 'debian' if (!defined $droot); -$debian = $ARGV[1] if (defined $ARGV[1]); -$debian = 'debian.master' if (!defined $debian); - -system("make -s -f $droot/rules printchanges > $debian/changes"); - -open(CHANGELOG, "< $debian/changelog") or die "Cannot open changelog"; -open(CHANGES, "< $debian/changes") or die "Cannot open new changes"; -open(NEW, "> $debian/changelog.new") or die "Cannot open new changelog"; - -$printed = 0; - -while () { - if (/^ CHANGELOG: /) { - next if $printed; - - while () { - print NEW; - } - - $printed = 1; - } else { - print NEW; - } -} - -close(NEW); -close(CHANGES); -close(CHANGELOG); - -rename("$debian/changelog.new", "$debian/changelog"); -unlink("$debian/changes"); diff --git a/debian/scripts/misc/insert-mainline-changes b/debian/scripts/misc/insert-mainline-changes deleted file mode 100755 index 5678b1031e5..00000000000 --- a/debian/scripts/misc/insert-mainline-changes +++ /dev/null @@ -1,42 +0,0 @@ -#!/usr/bin/perl - -if ($#ARGV != 2) { - warn "Usage: $0 \n"; - die " $0 debian.master/changelog v3.2.3 v3.2.2..v3.2.3\n"; -} -my ($changelog, $to, $range) = @ARGV; - -my @changes = (); - -push(@changes, "\n"); -push(@changes, " [ Upstream Kernel Changes ]\n\n"); -push(@changes, " * rebase to $to\n"); - -open(LOG, "git log '$range'|") || die "$0: git log failed: - $!\n"; -while () { - if (m@BugLink: .*launchpad.net/.*/([0-9]+)\s$@) { - push(@changes, " - LP: #$1\n"); - } -} -close(LOG); - -open(CHANGELOG, "< $changelog") or die "Cannot open changelog"; -open(NEW, "> $changelog.new") or die "Cannot open new changelog"; - -$printed = 3; -while () { - if (/^ CHANGELOG: /) { - $printed--; - print NEW; - if ($printed == 0) { - print NEW @changes; - } - next; - } - print NEW; -} - -close(NEW); -close(CHANGELOG); - -rename("$changelog.new", "$changelog"); diff --git a/debian/scripts/misc/insert-ubuntu-changes b/debian/scripts/misc/insert-ubuntu-changes deleted file mode 100755 index e3e13dced18..00000000000 --- a/debian/scripts/misc/insert-ubuntu-changes +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/perl - -if ($#ARGV != 2) { - die "Usage: $0 \n"; -} -my ($changelog, $end, $start) = @ARGV; - -$end =~ s/.*\.//; -$start =~ s/.*\.//; - -my @changes = (); -my $output = 0; -open(CHG, ") { - if (/^\S+\s+\((.*\.(\d+))\)/) { - if ($2 <= $end) { - last; - } - if ($2 == $start) { - $output = 1; - } - if ($output) { - push(@changes, "\n [ Ubuntu: $1 ]\n\n"); - next; - } - } - next if ($output == 0); - - next if (/^\s*$/); - next if (/^\s--/); - next if (/^\s\s[^\*\s]/); - - push(@changes, $_); -} -close(CHG); - -open(CHANGELOG, "< $changelog") or die "Cannot open changelog"; -open(NEW, "> $changelog.new") or die "Cannot open new changelog"; - -$printed = 3; -while () { - if (/^ CHANGELOG: /) { - $printed--; - print NEW; - if ($printed == 0) { - print NEW @changes; - } - next; - } - print NEW; -} - -close(NEW); -close(CHANGELOG); - -rename("$changelog.new", "$changelog"); diff --git a/debian/scripts/misc/kernelconfig b/debian/scripts/misc/kernelconfig deleted file mode 100755 index 310d1f8951f..00000000000 --- a/debian/scripts/misc/kernelconfig +++ /dev/null @@ -1,172 +0,0 @@ -#!/bin/bash - -. debian/debian.env - -# Script to merge all configs and run 'make silentoldconfig' on it to wade out bad juju. -# Then split the configs into distro-commmon and flavour-specific parts - -# We have to be in the top level kernel source directory -if [ ! -f MAINTAINERS ] || [ ! -f Makefile ]; then - echo "This does not appear to be the kernel source directory." 1>&2 - exit 1 -fi - -mode=${1:?"Usage: $0 [oldconfig|editconfig]"} -yes=0 -case "$mode" in - update*configs) mode='silentoldconfig' ;; - default*configs) mode='oldconfig'; yes=1 ;; - edit*configs) ;; # All is good - gen*configs) mode='genconfigs' ;; # All is good - dump*configs) mode='config'; yes=1 ;; - *) echo "$0 called with invalid mode" 1>&2 - exit 1 ;; -esac -kerneldir="`pwd`" -confdir="$kerneldir/${DEBIAN}/config" -sharedconfdir="$kerneldir/debian.master/config" -variant="$2" - -. $DEBIAN/etc/kernelconfig - -bindir="`pwd`/${DROOT}/scripts/misc" -common_conf="$confdir/config.common.$family" -tmpdir=`mktemp -d` -mkdir "$tmpdir/CONFIGS" - -if [ "$mode" = "genconfigs" ]; then - keep=1 - mode="oldconfig" - test -d CONFIGS || mkdir CONFIGS -fi - -for arch in $archs; do - rm -rf build - mkdir build - - # Map debian archs to kernel archs - case "$arch" in - ppc64) kernarch="powerpc" ;; - amd64) kernarch="x86_64" ;; - lpia) kernarch="x86" ;; - sparc) kernarch="sparc64" ;; - armel|armhf) kernarch="arm" ;; - *) kernarch="$arch" ;; - esac - - archconfdir=$confdir/$arch - flavourconfigs=$(cd $archconfdir && ls config.flavour.*) - - # Merge configs - # We merge config.common.ubuntu + config.common. + - # config.flavour. - - for config in $flavourconfigs; do - fullconf="$tmpdir/$arch-$config-full" - case $config in - *) - : >"$fullconf" - if [ -f $common_conf ]; then - cat $common_conf >> "$fullconf" - fi - if [ -f $archconfdir/config.common.$arch ]; then - cat $archconfdir/config.common.$arch >> "$fullconf" - fi - cat "$archconfdir/$config" >>"$fullconf" - if [ -f $confdir/OVERRIDES ]; then - cat $confdir/OVERRIDES >> "$fullconf" - fi - ;; - esac - done - - for config in $flavourconfigs; do - if [ -f $archconfdir/$config ]; then - fullconf="$tmpdir/$arch-$config-full" - cat "$fullconf" > build/.config - # Call oldconfig or menuconfig - case "$mode" in - editconfigs) - # Interactively edit config parameters - while : ; do - echo -n "Do you want to edit config: $arch/$config? [Y/n] " - read choice - - case "$choice" in - y* | Y* | "" ) - make O=`pwd`/build ARCH=$kernarch menuconfig - break ;; - n* | N* ) - break ;; - *) - echo "Entry not valid" - esac - done - ;; - *) - echo "* Run $mode (yes=$yes) on $arch/$config ..." - if [ "$yes" -eq 1 ]; then - yes "" | make O=`pwd`/build ARCH=$kernarch "$mode" - else - make O=`pwd`/build ARCH=$kernarch "$mode" - fi ;; - esac - cat build/.config > $archconfdir/$config - cat build/.config > "$tmpdir/CONFIGS/$arch-$config" - if [ "$keep" = "1" ]; then - cat build/.config > CONFIGS/$arch-$config - fi - else - echo "!! Config not found $archconfdir/$config..." - fi - done - - echo "Running splitconfig.pl for $arch" - echo - - # Can we make this more robust by avoiding $tmpdir completely? - # This approach was used for now because I didn't want to change - # splitconfig.pl - (cd $archconfdir; $bindir/splitconfig.pl config.flavour.*; mv config.common \ - config.common.$arch; cp config.common.$arch $tmpdir) -done - -rm -f $common_conf - -# Now run splitconfig.pl on all the config.common. copied to -# $tmpdir -(cd $tmpdir; $bindir/splitconfig.pl *) -( - cd $confdir; - rm -f *-full - grep -v 'is UNMERGABLE' <$tmpdir/config.common >$common_conf - for arch in $archs; do - grep -v 'is UNMERGABLE' <$tmpdir/config.common.$arch \ - >$arch/config.common.$arch - done -) - -echo "" -echo "Running config-check for all configurations ..." -echo "" -fail=0 -for arch in $archs; do - archconfdir=$confdir/$arch - flavourconfigs=$(cd $archconfdir && ls config.flavour.*) - for config in $flavourconfigs; do - flavour="${config##*.}" - if [ -f $archconfdir/$config ]; then - fullconf="$tmpdir/CONFIGS/$arch-$config" - "$bindir/../config-check" "$fullconf" "$arch" "$flavour" "$sharedconfdir" "0" || let "fail=$fail+1" - fi - done -done - -if [ "$fail" != 0 ]; then - echo "" - echo "*** ERROR: $fail config-check failures detected" - echo "" -fi - -rm -rf build - diff --git a/debian/scripts/misc/retag b/debian/scripts/misc/retag deleted file mode 100755 index 94cf169a076..00000000000 --- a/debian/scripts/misc/retag +++ /dev/null @@ -1,34 +0,0 @@ -#!/usr/bin/perl -w - -open(TAGS, "git tag -l |") or die "Could not get list of tags"; -@tags = ; -close(TAGS); - -open(LOGS, "git log --pretty=short |") or die "ERROR: Calling git log"; -my $commit = ""; - -while () { - my $origtag; - - if (m|^commit (.*)$|) { - $commit = $1; - next; - } - - m|\s*UBUNTU: (Ubuntu-2\.6\..*)| or next; - - $tag = $1; - - ($origtag) = grep(/^$tag.orig$/, @tags); - - if (!defined($origtag)) { - print "I: Adding original tag for $tag\n"; - system("git tag -m $tag $tag.orig $tag"); - } - - print "I: Tagging $tag => $commit\n"; - - system("git tag -f -m $tag $tag $commit"); -} - -close(LOGS); diff --git a/debian/scripts/misc/splitconfig.pl b/debian/scripts/misc/splitconfig.pl deleted file mode 100755 index 3270edeb4e0..00000000000 --- a/debian/scripts/misc/splitconfig.pl +++ /dev/null @@ -1,107 +0,0 @@ -#!/usr/bin/perl -w - -%allconfigs = (); -%common = (); - -print "Reading config's ...\n"; - -for $config (@ARGV) { - # Only config.* - next if $config !~ /^config\..*/; - # Nothing that is disabled, or remnant - next if $config =~ /.*\.(default|disabled|stub)$/; - - %{$allconfigs{$config}} = (); - - print " processing $config ... "; - - open(CONFIG, "< $config"); - - while () { - # Skip comments - /^#*\s*CONFIG_(\w+)[\s=](.*)$/ or next; - - ${$allconfigs{$config}}{$1} = $2; - - $common{$1} = $2; - } - - close(CONFIG); - - print "done.\n"; -} - -print "\n"; - -print "Merging lists ... \n"; - -# %options - pointer to flavour config inside the allconfigs array -for $config (keys(%allconfigs)) { - my %options = %{$allconfigs{$config}}; - - print " processing $config ... "; - - for $key (keys(%common)) { - next if not defined $common{$key}; - - # If we don't have the common option, then it isn't - # common. If we do have that option, it must have the same - # value. EXCEPT where this file does not have a value at all - # which may safely be merged with any other value; the value - # will be elided during recombination of the parts. - if (!defined($options{$key})) { - # Its ok really ... let it merge - } elsif (not defined($options{$key})) { - undef $common{$key}; - } elsif ($common{$key} ne $options{$key}) { - undef $common{$key}; - } - } - - print "done.\n"; -} - -print "\n"; - -print "Creating common config ... "; - -open(COMMON, "> config.common"); -print COMMON "#\n# Common config options automatically generated by splitconfig.pl\n#\n"; - -for $key (sort(keys(%common))) { - if (not defined $common{$key}) { - print COMMON "# CONFIG_$key is UNMERGABLE\n"; - } elsif ($common{$key} eq "is not set") { - print COMMON "# CONFIG_$key is not set\n"; - } else { - print COMMON "CONFIG_$key=$common{$key}\n"; - } -} -close(COMMON); - -print "done.\n\n"; - -print "Creating stub configs ...\n"; - -for $config (keys(%allconfigs)) { - my %options = %{$allconfigs{$config}}; - - print " processing $config ... "; - - open(STUB, "> $config"); - print STUB "#\n# Config options for $config automatically generated by splitconfig.pl\n#\n"; - - for $key (sort(keys(%options))) { - next if defined $common{$key}; - - if ($options{$key} =~ /^is /) { - print STUB "# CONFIG_$key $options{$key}\n"; - } else { - print STUB "CONFIG_$key=$options{$key}\n"; - } - } - - close(STUB); - - print "done.\n"; -} diff --git a/debian/scripts/module-check b/debian/scripts/module-check deleted file mode 100755 index c754ea368cf..00000000000 --- a/debian/scripts/module-check +++ /dev/null @@ -1,120 +0,0 @@ -#!/usr/bin/perl -w - -$flavour = shift; -$prev_abidir = shift; -$abidir = shift; -$skipmodule = shift; - -print "II: Checking modules for $flavour..."; - -if (-f "$prev_abidir/ignore.modules" - or -f "$prev_abidir/$flavour.ignore.modules") { - print "explicitly ignoring modules\n"; - exit(0); -} - -if (not -f "$abidir/$flavour.modules" or not -f - "$prev_abidir/$flavour.modules") { - print "previous or current modules file missing!\n"; - print " $abidir/$flavour.modules\n"; - print " $prev_abidir/$flavour.modules\n"; - if (defined($skipmodule)) { - exit(0); - } else { - exit(1); - } -} - -print "\n"; - -my %modules; -my %modules_ignore; -my $missing = 0; -my $new = 0; -my $errors = 0; - -# See if we have any ignores -if (-f "$prev_abidir/../modules.ignore") { - my $ignore = 0; - open(IGNORE, "< $prev_abidir/../modules.ignore") or - die "Could not open $prev_abidir/../modules.ignore"; - print " reading modules to ignore..."; - while () { - chomp; - next if /\s*#/; - $modules_ignore{$_} = 1; - $ignore++; - } - close(IGNORE); - print "read $ignore modules.\n"; -} - -# Read new modules first -print " reading new modules..."; -$new_count = 0; -open(NEW, "< $abidir/$flavour.modules") or - die "Could not open $abidir/$flavour.modules"; -while () { - chomp; - $modules{$_} = 1; - $new_count++; -} -close(NEW); -print "read $new_count modules.\n"; - -# Now the old modules, checking for missing ones -print " reading old modules..."; -$old_count = 0; -open(OLD, "< $prev_abidir/$flavour.modules") or - die "Could not open $prev_abidir/$flavour.modules"; -while () { - chomp; - if (not defined($modules{$_})) { - print "\n" if not $missing; - $missing++; - if (not defined($modules_ignore{$_})) { - print " MISS: $_\n"; - $errors++; - } else { - print " MISS: $_ (ignored)\n"; - } - } else { - $modules{$_}++; - } - $old_count++; -} -close(OLD); -# Check for new modules -foreach $mod (keys(%modules)) { - if ($modules{$mod} < 2) { - print "\n" if not $missing and not $new; - print " NEW : $mod\n"; - $new++; - } -} -if ($new or $missing) { - print " read $old_count modules : new($new) missing($missing)\n"; -} else { - print "read $old_count modules.\n"; -} - - -# Let's see where we stand... -if ($errors) { - if (defined($skipmodule)) { - print "WW: Explicitly asked to ignore failures (probably not good)\n"; - } else { - print "EE: Missing modules (start begging for mercy)\n"; - exit 1 - } -} - -if ($new) { - print "II: New modules (you've been busy, wipe the poop off your nose)\n"; -} else { - print "II: No new modules (hope you're happy, slacker)\n"; -} - -print "II: Done\n"; - -exit(0); diff --git a/debian/scripts/module-inclusion b/debian/scripts/module-inclusion deleted file mode 100755 index deb07a8133a..00000000000 --- a/debian/scripts/module-inclusion +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/bash - -# -# Build a new directory of modules based on an inclusion list. -# The includsion list format must be a bash regular expression. -# -# usage: $0 ROOT INCLUSION_LIST -# example: $0 debian/build/build-virtual \ -# debian/build/build-virtual-ALL debian/build/build-virtual \ -# debian.master/control.d/virtual.inclusion-list -master=0 -if [ "$1" = "--master" ]; then - master=1 - shift -fi - -ROOT=$1 -NROOT=$2 -ILIST=$3 - -# -# Prep a destination directory. -# -mkdir -p ${NROOT} - -# Copy over the framework... -if [ "$master" -eq 1 ]; then - (cd ${ROOT}; find . ! -name "*.ko" -type f) | \ - while read f - do - mkdir -p ${NROOT}/`dirname $f` - mv ${ROOT}/$f ${NROOT}/$f - done -fi - -cat ${ILIST} |while read i -do - # - # 'find' blurts a warning if it cannot find any ko files. - # - if echo "$i" | grep '\*' > /dev/null - then - (cd ${ROOT}; eval find "${i}" -name "*.ko") |while read f - do - mkdir -p ${NROOT}/`dirname $f` - mv ${ROOT}/$f ${NROOT}/$f - done - else - if [ -f "${ROOT}/$i" ] - then - mkdir -p ${NROOT}/`dirname $i` - mv ${ROOT}/$i ${NROOT}/$i - else - echo Warning: Could not find ${ROOT}/$i - fi - fi - -done - -exit 0 diff --git a/debian/scripts/sub-flavour b/debian/scripts/sub-flavour deleted file mode 100644 index 01004939617..00000000000 --- a/debian/scripts/sub-flavour +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/bash - -. debian/debian.env - -echo "SUB_PROCESS $FROM => $TO" - -export from_pkg="linux-image-$ABI_RELEASE-$FROM" -export to_pkg="linux-image-$ABI_RELEASE-$TO" - -from_moddir="debian/$from_pkg/lib/modules/$ABI_RELEASE-$FROM" -to_moddir="debian/$to_pkg/lib/modules/$ABI_RELEASE-$FROM" - -install -d "debian/$to_pkg/boot" -install -m644 debian/$from_pkg/boot/config-$ABI_RELEASE-$FROM \ - debian/$to_pkg/boot/ -install -m600 debian/$from_pkg/boot/{vmlinuz,System.map}-$ABI_RELEASE-$FROM \ - debian/$to_pkg/boot/ - -# -# Print some warnings if there are files in the sub-flavours list -# that do not actually exist. -# -cat ${DEBIAN}/sub-flavours/$TO.list | while read line -do -( - cd debian/$from_pkg/lib/modules/$ABI_RELEASE-$FROM/kernel; - # - # If its a wildcard, then check that there are files that match. - # - if echo "$line" | grep '\*' > /dev/null - then - if [ `eval find "$line" -name '*.ko' 2>/dev/null|wc -l` -lt 1 ] - then - echo SUB_INST Warning - No files in $line - fi - # - # Else it should be a single file reference. - # - elif [ ! -f "$line" ] - then - echo SUB_INST Warning - could not find "$line" - fi -) -done - -cat ${DEBIAN}/sub-flavours/$TO.list | while read line; do - ( - cd debian/$from_pkg/lib/modules/$ABI_RELEASE-$FROM/kernel; - if echo "$line" | grep '\*' > /dev/null - then - eval find "$line" -name '*.ko' 2>/dev/null || true - elif [ -f "$line" ] - then - echo "$line" - fi - ); -done | while read mod; do - echo "SUB_INST checking: $mod" - fromdir="/lib/modules/$ABI_RELEASE-$FROM/" - egrep "^($fromdir)?kernel/$mod:" \ - $from_moddir/modules.dep | sed -e "s|^$fromdir||" -e 's/://' -e 's/ /\n/g' | \ - while read m; do - m="${fromdir}$m" - test -f debian/$to_pkg/$m && continue - echo "SUB_INST installing: $m" - install -D -m644 debian/$from_pkg/$m \ - debian/$to_pkg/$m - done -done diff --git a/debian/source/format b/debian/source/format deleted file mode 100644 index d3827e75a5c..00000000000 --- a/debian/source/format +++ /dev/null @@ -1 +0,0 @@ -1.0 diff --git a/debian/stamps/keep-dir b/debian/stamps/keep-dir deleted file mode 100644 index 5c38d4a5c41..00000000000 --- a/debian/stamps/keep-dir +++ /dev/null @@ -1 +0,0 @@ -Place holder diff --git a/debian/tests-build/README b/debian/tests-build/README deleted file mode 100644 index c74d1c4aef8..00000000000 --- a/debian/tests-build/README +++ /dev/null @@ -1,21 +0,0 @@ -Scripts placed in this directory get called one at a time by run-parts(8). -The scripts are expected to perform some sort of sanity checks on the -finished build. Scripts will be called once for each flavour. - -Some environment variables are exported to make life a little easier: - -DPKG_ARCH : The dpkg architecture (e.g. "amd64") -KERN_ARCH : The kernel architecture (e.g. "x86_64") -FLAVOUR : The specific flavour for this run (e.g. "generic") -VERSION : The full version of this build (e.g. 2.6.22-1) -REVISION : The exact revision of this build (e.g. 1.3) -PREV_REVISION : The revision prior to this one -ABI_NUM : The specific ABI number for this build (e.g. 2) -PREV_ABI_NUM : The previous ABI number. Can be the same as ABI_NUM. -BUILD_DIR : The directory where this build took place -INSTALL_DIR : The directory where the package is prepared -SOURCE_DIR : Where the main kernel source is - -Scripts are expected to have a zero exit status when no problems occur, -and non-zero when an error occurs that should stop the build. Scripts -should print whatever info they deem needed to deduce the problem. diff --git a/debian/tests-build/check-aliases b/debian/tests-build/check-aliases deleted file mode 100755 index b85118ff12c..00000000000 --- a/debian/tests-build/check-aliases +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/perl -w - -my %map; - -print "Checking for dupe aliases in $ENV{'FLAVOUR'}...\n"; - -$aliases = - "$ENV{'INSTALL_DIR'}/lib/modules/$ENV{'VERSION'}-$ENV{'FLAVOUR'}/modules.alias"; - -open(ALIASES, "< $aliases") or die "Could not open $aliases"; - -while () { - chomp; - my ($junk, $alias, $module) = split; - - if (defined($map{$alias})) { - printf("%s %20s / %-20s : %s \n", ("$map{$alias}" eq "$module") - ? "INT" : " ", $map{$alias}, $module, $alias); - } else { - $map{$alias} = $module; - } -} - -exit(0); diff --git a/debian/tests/README b/debian/tests/README deleted file mode 100644 index c74d1c4aef8..00000000000 --- a/debian/tests/README +++ /dev/null @@ -1,21 +0,0 @@ -Scripts placed in this directory get called one at a time by run-parts(8). -The scripts are expected to perform some sort of sanity checks on the -finished build. Scripts will be called once for each flavour. - -Some environment variables are exported to make life a little easier: - -DPKG_ARCH : The dpkg architecture (e.g. "amd64") -KERN_ARCH : The kernel architecture (e.g. "x86_64") -FLAVOUR : The specific flavour for this run (e.g. "generic") -VERSION : The full version of this build (e.g. 2.6.22-1) -REVISION : The exact revision of this build (e.g. 1.3) -PREV_REVISION : The revision prior to this one -ABI_NUM : The specific ABI number for this build (e.g. 2) -PREV_ABI_NUM : The previous ABI number. Can be the same as ABI_NUM. -BUILD_DIR : The directory where this build took place -INSTALL_DIR : The directory where the package is prepared -SOURCE_DIR : Where the main kernel source is - -Scripts are expected to have a zero exit status when no problems occur, -and non-zero when an error occurs that should stop the build. Scripts -should print whatever info they deem needed to deduce the problem. diff --git a/debian/tests/check-aliases b/debian/tests/check-aliases deleted file mode 100755 index b85118ff12c..00000000000 --- a/debian/tests/check-aliases +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/perl -w - -my %map; - -print "Checking for dupe aliases in $ENV{'FLAVOUR'}...\n"; - -$aliases = - "$ENV{'INSTALL_DIR'}/lib/modules/$ENV{'VERSION'}-$ENV{'FLAVOUR'}/modules.alias"; - -open(ALIASES, "< $aliases") or die "Could not open $aliases"; - -while () { - chomp; - my ($junk, $alias, $module) = split; - - if (defined($map{$alias})) { - printf("%s %20s / %-20s : %s \n", ("$map{$alias}" eq "$module") - ? "INT" : " ", $map{$alias}, $module, $alias); - } else { - $map{$alias} = $module; - } -} - -exit(0); diff --git a/debian/tests/control b/debian/tests/control deleted file mode 100644 index bdc92026a93..00000000000 --- a/debian/tests/control +++ /dev/null @@ -1,3 +0,0 @@ -Tests: rebuild -Depends: -Restrictions: build-needed diff --git a/debian/tests/rebuild b/debian/tests/rebuild deleted file mode 100755 index b23e55619b2..00000000000 --- a/debian/tests/rebuild +++ /dev/null @@ -1 +0,0 @@ -#!/bin/true diff --git a/debian/tools/generic b/debian/tools/generic deleted file mode 100644 index 61b427d3334..00000000000 --- a/debian/tools/generic +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -full_version=`uname -r` - -# Removing flavour from version i.e. generic or server. -flavour_abi=${full_version#*-} -flavour=${flavour_abi#*-} -version=${full_version%-$flavour} -this="$0_$version" - -if [ ! -f "$this" ]; then - echo "$this not found" >&2 - echo "You may need to install linux-tools-$version" >&2 - exit 2 -fi - -exec "$this" "$@" diff --git a/debian/tools/perf b/debian/tools/perf deleted file mode 100644 index ab35fab9f0f..00000000000 --- a/debian/tools/perf +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -full_version=`uname -r` - -# Removing flavour from version i.e. generic or server. -flavour_abi=${full_version#*-} -flavour=${flavour_abi#*-} -version=${full_version%-$flavour} -perf="perf_$version" - -if ! which "$perf" > /dev/null; then - echo "$perf not found" >&2 - echo "You may need to install linux-tools-$version" >&2 - exit 2 -fi - -exec "$perf" "$@" diff --git a/debian/tools/turbostat b/debian/tools/turbostat deleted file mode 100644 index ac4af7c9acc..00000000000 --- a/debian/tools/turbostat +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -full_version=`uname -r` - -# Removing flavour from version i.e. generic or server. -flavour_abi=${full_version#*-} -flavour=${flavour_abi#*-} -version=${full_version%-$flavour} -turbostat="turbostat_$version" - -if ! which "$turbostat" > /dev/null; then - echo "$turbostat not found" >&2 - echo "You may need to install linux-tools-$version" >&2 - exit 2 -fi - -exec "$turbostat" "$@" diff --git a/debian/tools/x86_energy_perf_policy b/debian/tools/x86_energy_perf_policy deleted file mode 100644 index 7b97a9e091b..00000000000 --- a/debian/tools/x86_energy_perf_policy +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash -full_version=`uname -r` - -# Removing flavour from version i.e. generic or server. -flavour_abi=${full_version#*-} -flavour=${flavour_abi#*-} -version=${full_version%-$flavour} -x86_energy_perf_policy="x86_energy_perf_policy_$version" - -if ! which "$x86_energy_perf_policy" > /dev/null; then - echo "$x86_energy_perf_policy not found" >&2 - echo "You may need to install linux-tools-$version" >&2 - exit 2 -fi - -exec "$x86_energy_perf_policy" "$@"