├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── config ├── qemu_vexpress_defconfig ├── raspberrypi2_defconfig └── raspberrypi3_defconfig ├── device ├── qemu │ └── vexpress │ │ └── create_image.sh └── raspberrypi │ ├── boot │ ├── COPYING.linux │ ├── LICENCE.broadcom │ ├── bootcode.bin │ ├── fixup.dat │ ├── fixup_cd.dat │ ├── fixup_db.dat │ ├── fixup_x.dat │ ├── overlays │ │ ├── README │ │ ├── adau1977-adc.dtbo │ │ ├── adau7002-simple.dtbo │ │ ├── ads1015.dtbo │ │ ├── ads1115.dtbo │ │ ├── ads7846.dtbo │ │ ├── akkordion-iqdacplus.dtbo │ │ ├── allo-boss-dac-pcm512x-audio.dtbo │ │ ├── allo-digione.dtbo │ │ ├── allo-piano-dac-pcm512x-audio.dtbo │ │ ├── allo-piano-dac-plus-pcm512x-audio.dtbo │ │ ├── at86rf233.dtbo │ │ ├── audioinjector-addons.dtbo │ │ ├── audioinjector-wm8731-audio.dtbo │ │ ├── audremap.dtbo │ │ ├── bmp085_i2c-sensor.dtbo │ │ ├── dht11.dtbo │ │ ├── dionaudio-loco-v2.dtbo │ │ ├── dionaudio-loco.dtbo │ │ ├── dpi18.dtbo │ │ ├── dpi24.dtbo │ │ ├── dwc-otg.dtbo │ │ ├── dwc2.dtbo │ │ ├── enc28j60-spi2.dtbo │ │ ├── enc28j60.dtbo │ │ ├── fe-pi-audio.dtbo │ │ ├── goodix.dtbo │ │ ├── googlevoicehat-soundcard.dtbo │ │ ├── gpio-ir.dtbo │ │ ├── gpio-poweroff.dtbo │ │ ├── hifiberry-amp.dtbo │ │ ├── hifiberry-dac.dtbo │ │ ├── hifiberry-dacplus.dtbo │ │ ├── hifiberry-digi-pro.dtbo │ │ ├── hifiberry-digi.dtbo │ │ ├── hy28a.dtbo │ │ ├── hy28b.dtbo │ │ ├── i2c-bcm2708.dtbo │ │ ├── i2c-gpio.dtbo │ │ ├── i2c-mux.dtbo │ │ ├── i2c-pwm-pca9685a.dtbo │ │ ├── i2c-rtc-gpio.dtbo │ │ ├── i2c-rtc.dtbo │ │ ├── i2c-sensor.dtbo │ │ ├── i2c0-bcm2708.dtbo │ │ ├── i2c1-bcm2708.dtbo │ │ ├── i2s-gpio28-31.dtbo │ │ ├── iqaudio-dac.dtbo │ │ ├── iqaudio-dacplus.dtbo │ │ ├── iqaudio-digi-wm8804-audio.dtbo │ │ ├── justboom-dac.dtbo │ │ ├── justboom-digi.dtbo │ │ ├── lirc-rpi.dtbo │ │ ├── mcp23017.dtbo │ │ ├── mcp23s17.dtbo │ │ ├── mcp2515-can0.dtbo │ │ ├── mcp2515-can1.dtbo │ │ ├── mcp3008.dtbo │ │ ├── midi-uart0.dtbo │ │ ├── midi-uart1.dtbo │ │ ├── mmc.dtbo │ │ ├── mpu6050.dtbo │ │ ├── mz61581.dtbo │ │ ├── pi3-act-led.dtbo │ │ ├── pi3-disable-bt.dtbo │ │ ├── pi3-disable-wifi.dtbo │ │ ├── pi3-miniuart-bt.dtbo │ │ ├── piscreen.dtbo │ │ ├── piscreen2r.dtbo │ │ ├── pisound.dtbo │ │ ├── pitft22.dtbo │ │ ├── pitft28-capacitive.dtbo │ │ ├── pitft28-resistive.dtbo │ │ ├── pitft35-resistive.dtbo │ │ ├── pps-gpio.dtbo │ │ ├── pwm-2chan.dtbo │ │ ├── pwm.dtbo │ │ ├── qca7000.dtbo │ │ ├── raspidac3.dtbo │ │ ├── rotary-encoder.dtbo │ │ ├── rpi-backlight.dtbo │ │ ├── rpi-cirrus-wm5102.dtbo │ │ ├── rpi-dac.dtbo │ │ ├── rpi-display.dtbo │ │ ├── rpi-ft5406.dtbo │ │ ├── rpi-proto.dtbo │ │ ├── rpi-sense.dtbo │ │ ├── rpi-tv.dtbo │ │ ├── rra-digidac1-wm8741-audio.dtbo │ │ ├── sc16is750-i2c.dtbo │ │ ├── sc16is752-spi1.dtbo │ │ ├── sdhost.dtbo │ │ ├── sdio-1bit.dtbo │ │ ├── sdio.dtbo │ │ ├── sdtweak.dtbo │ │ ├── smi-dev.dtbo │ │ ├── smi-nand.dtbo │ │ ├── smi.dtbo │ │ ├── spi-gpio35-39.dtbo │ │ ├── spi-rtc.dtbo │ │ ├── spi0-cs.dtbo │ │ ├── spi0-hw-cs.dtbo │ │ ├── spi1-1cs.dtbo │ │ ├── spi1-2cs.dtbo │ │ ├── spi1-3cs.dtbo │ │ ├── spi2-1cs.dtbo │ │ ├── spi2-2cs.dtbo │ │ ├── spi2-3cs.dtbo │ │ ├── tinylcd35.dtbo │ │ ├── uart1.dtbo │ │ ├── vc4-fkms-v3d.dtbo │ │ ├── vc4-kms-v3d.dtbo │ │ ├── vga666.dtbo │ │ ├── w1-gpio-pullup.dtbo │ │ ├── w1-gpio.dtbo │ │ └── wittypi.dtbo │ ├── start.elf │ ├── start_cd.elf │ ├── start_db.elf │ └── start_x.elf │ ├── config.txt │ ├── create_image.sh │ ├── hardfp │ └── opt │ │ └── vc │ │ ├── LICENCE │ │ ├── bin │ │ ├── containers_check_frame_int │ │ ├── containers_datagram_receiver │ │ ├── containers_datagram_sender │ │ ├── containers_dump_pktfile │ │ ├── containers_rtp_decoder │ │ ├── containers_stream_client │ │ ├── containers_stream_server │ │ ├── containers_test │ │ ├── containers_test_bits │ │ ├── containers_test_uri │ │ ├── containers_uri_pipe │ │ ├── dtmerge │ │ ├── dtoverlay │ │ ├── dtoverlay-post │ │ ├── dtoverlay-pre │ │ ├── dtparam │ │ ├── edidparser │ │ ├── mmal_vc_diag │ │ ├── raspistill │ │ ├── raspivid │ │ ├── raspividyuv │ │ ├── raspiyuv │ │ ├── tvservice │ │ ├── vcdbg │ │ ├── vcgencmd │ │ ├── vchiq_test │ │ ├── vcmailbox │ │ └── vcsmem │ │ ├── include │ │ ├── EGL │ │ │ ├── egl.h │ │ │ ├── eglext.h │ │ │ ├── eglext_android.h │ │ │ ├── eglext_brcm.h │ │ │ ├── eglext_nvidia.h │ │ │ └── eglplatform.h │ │ ├── GLES │ │ │ ├── gl.h │ │ │ ├── glext.h │ │ │ └── glplatform.h │ │ ├── GLES2 │ │ │ ├── gl2.h │ │ │ ├── gl2ext.h │ │ │ └── gl2platform.h │ │ ├── IL │ │ │ ├── OMX_Audio.h │ │ │ ├── OMX_Broadcom.h │ │ │ ├── OMX_Component.h │ │ │ ├── OMX_Core.h │ │ │ ├── OMX_ILCS.h │ │ │ ├── OMX_IVCommon.h │ │ │ ├── OMX_Image.h │ │ │ ├── OMX_Index.h │ │ │ ├── OMX_Other.h │ │ │ ├── OMX_Types.h │ │ │ └── OMX_Video.h │ │ ├── KHR │ │ │ └── khrplatform.h │ │ ├── VG │ │ │ ├── openvg.h │ │ │ ├── vgext.h │ │ │ ├── vgplatform.h │ │ │ └── vgu.h │ │ ├── WF │ │ │ ├── wfc.h │ │ │ └── wfcplatform.h │ │ ├── bcm_host.h │ │ ├── interface │ │ │ ├── mmal │ │ │ │ ├── core │ │ │ │ │ ├── mmal_buffer_private.h │ │ │ │ │ ├── mmal_clock_private.h │ │ │ │ │ ├── mmal_component_private.h │ │ │ │ │ ├── mmal_core_private.h │ │ │ │ │ ├── mmal_events_private.h │ │ │ │ │ └── mmal_port_private.h │ │ │ │ ├── mmal.h │ │ │ │ ├── mmal_buffer.h │ │ │ │ ├── mmal_clock.h │ │ │ │ ├── mmal_common.h │ │ │ │ ├── mmal_component.h │ │ │ │ ├── mmal_encodings.h │ │ │ │ ├── mmal_events.h │ │ │ │ ├── mmal_format.h │ │ │ │ ├── mmal_logging.h │ │ │ │ ├── mmal_metadata.h │ │ │ │ ├── mmal_parameters.h │ │ │ │ ├── mmal_parameters_audio.h │ │ │ │ ├── mmal_parameters_camera.h │ │ │ │ ├── mmal_parameters_clock.h │ │ │ │ ├── mmal_parameters_common.h │ │ │ │ ├── mmal_parameters_video.h │ │ │ │ ├── mmal_pool.h │ │ │ │ ├── mmal_port.h │ │ │ │ ├── mmal_queue.h │ │ │ │ ├── mmal_types.h │ │ │ │ ├── util │ │ │ │ │ ├── mmal_component_wrapper.h │ │ │ │ │ ├── mmal_connection.h │ │ │ │ │ ├── mmal_default_components.h │ │ │ │ │ ├── mmal_graph.h │ │ │ │ │ ├── mmal_il.h │ │ │ │ │ ├── mmal_list.h │ │ │ │ │ ├── mmal_param_convert.h │ │ │ │ │ ├── mmal_util.h │ │ │ │ │ ├── mmal_util_params.h │ │ │ │ │ └── mmal_util_rational.h │ │ │ │ └── vc │ │ │ │ │ ├── mmal_vc_api.h │ │ │ │ │ ├── mmal_vc_api_drm.h │ │ │ │ │ ├── mmal_vc_client_priv.h │ │ │ │ │ ├── mmal_vc_msgnames.h │ │ │ │ │ ├── mmal_vc_msgs.h │ │ │ │ │ ├── mmal_vc_opaque_alloc.h │ │ │ │ │ └── mmal_vc_shm.h │ │ │ ├── vchi │ │ │ │ ├── common │ │ │ │ │ └── endian.h │ │ │ │ ├── connections │ │ │ │ │ └── connection.h │ │ │ │ ├── message_drivers │ │ │ │ │ └── message.h │ │ │ │ ├── vchi.h │ │ │ │ ├── vchi_cfg.h │ │ │ │ ├── vchi_cfg_internal.h │ │ │ │ ├── vchi_common.h │ │ │ │ └── vchi_mh.h │ │ │ ├── vchiq_arm │ │ │ │ ├── vchiq.h │ │ │ │ ├── vchiq_cfg.h │ │ │ │ ├── vchiq_if.h │ │ │ │ ├── vchiq_ioctl.h │ │ │ │ ├── vchiq_test.h │ │ │ │ ├── vchiq_test_if.h │ │ │ │ └── vchiq_util.h │ │ │ ├── vcos │ │ │ │ ├── generic │ │ │ │ │ ├── vcos_common.h │ │ │ │ │ ├── vcos_deprecated.h │ │ │ │ │ ├── vcos_generic_blockpool.h │ │ │ │ │ ├── vcos_generic_event_flags.h │ │ │ │ │ ├── vcos_generic_named_sem.h │ │ │ │ │ ├── vcos_generic_quickslow_mutex.h │ │ │ │ │ ├── vcos_generic_reentrant_mtx.h │ │ │ │ │ ├── vcos_generic_tls.h │ │ │ │ │ ├── vcos_joinable_thread_from_plain.h │ │ │ │ │ ├── vcos_latch_from_sem.h │ │ │ │ │ ├── vcos_mem_from_malloc.h │ │ │ │ │ ├── vcos_mutexes_are_reentrant.h │ │ │ │ │ └── vcos_thread_reaper.h │ │ │ │ ├── pthreads │ │ │ │ │ ├── vcos_futex_mutex.h │ │ │ │ │ ├── vcos_platform.h │ │ │ │ │ └── vcos_platform_types.h │ │ │ │ ├── user_nodefs.h │ │ │ │ ├── vcos.h │ │ │ │ ├── vcos_assert.h │ │ │ │ ├── vcos_atomic_flags.h │ │ │ │ ├── vcos_attr.h │ │ │ │ ├── vcos_blockpool.h │ │ │ │ ├── vcos_build_info.h │ │ │ │ ├── vcos_cfg.h │ │ │ │ ├── vcos_cmd.h │ │ │ │ ├── vcos_ctype.h │ │ │ │ ├── vcos_dlfcn.h │ │ │ │ ├── vcos_event.h │ │ │ │ ├── vcos_event_flags.h │ │ │ │ ├── vcos_init.h │ │ │ │ ├── vcos_inttypes.h │ │ │ │ ├── vcos_isr.h │ │ │ │ ├── vcos_legacy_isr.h │ │ │ │ ├── vcos_logging.h │ │ │ │ ├── vcos_logging_control.h │ │ │ │ ├── vcos_lowlevel_thread.h │ │ │ │ ├── vcos_mem.h │ │ │ │ ├── vcos_mempool.h │ │ │ │ ├── vcos_msgqueue.h │ │ │ │ ├── vcos_mutex.h │ │ │ │ ├── vcos_named_semaphore.h │ │ │ │ ├── vcos_once.h │ │ │ │ ├── vcos_queue.h │ │ │ │ ├── vcos_quickslow_mutex.h │ │ │ │ ├── vcos_reentrant_mutex.h │ │ │ │ ├── vcos_semaphore.h │ │ │ │ ├── vcos_stdbool.h │ │ │ │ ├── vcos_stdint.h │ │ │ │ ├── vcos_string.h │ │ │ │ ├── vcos_thread.h │ │ │ │ ├── vcos_thread_attr.h │ │ │ │ ├── vcos_timer.h │ │ │ │ ├── vcos_tls.h │ │ │ │ └── vcos_types.h │ │ │ ├── vcsm │ │ │ │ └── user-vcsm.h │ │ │ ├── vctypes │ │ │ │ ├── vc_display_types.h │ │ │ │ ├── vc_image_structs.h │ │ │ │ └── vc_image_types.h │ │ │ └── vmcs_host │ │ │ │ ├── khronos │ │ │ │ └── IL │ │ │ │ │ ├── OMX_Audio.h │ │ │ │ │ ├── OMX_Broadcom.h │ │ │ │ │ ├── OMX_Component.h │ │ │ │ │ ├── OMX_Core.h │ │ │ │ │ ├── OMX_ILCS.h │ │ │ │ │ ├── OMX_IVCommon.h │ │ │ │ │ ├── OMX_Image.h │ │ │ │ │ ├── OMX_Index.h │ │ │ │ │ ├── OMX_Other.h │ │ │ │ │ ├── OMX_Types.h │ │ │ │ │ └── OMX_Video.h │ │ │ │ ├── linux │ │ │ │ ├── vcfiled │ │ │ │ │ └── vcfiled_check.h │ │ │ │ └── vchost_config.h │ │ │ │ ├── vc_cec.h │ │ │ │ ├── vc_cecservice.h │ │ │ │ ├── vc_cecservice_defs.h │ │ │ │ ├── vc_cma.h │ │ │ │ ├── vc_dispmanx.h │ │ │ │ ├── vc_dispmanx_types.h │ │ │ │ ├── vc_dispservice_defs.h │ │ │ │ ├── vc_dispservice_x_defs.h │ │ │ │ ├── vc_fileservice_defs.h │ │ │ │ ├── vc_gencmd_defs.h │ │ │ │ ├── vc_hdmi.h │ │ │ │ ├── vc_hdmi_property.h │ │ │ │ ├── vc_ilcs_defs.h │ │ │ │ ├── vc_imageconv_defs.h │ │ │ │ ├── vc_sdtv.h │ │ │ │ ├── vc_service_common.h │ │ │ │ ├── vc_tvservice.h │ │ │ │ ├── vc_tvservice_defs.h │ │ │ │ ├── vc_vchi_audioserv_defs.h │ │ │ │ ├── vc_vchi_bufman.h │ │ │ │ ├── vc_vchi_bufman_defs.h │ │ │ │ ├── vc_vchi_dispmanx.h │ │ │ │ ├── vc_vchi_fileservice_defs.h │ │ │ │ ├── vc_vchi_filesys.h │ │ │ │ ├── vc_vchi_gencmd.h │ │ │ │ ├── vc_vchi_gpuserv.h │ │ │ │ ├── vcfilesys.h │ │ │ │ ├── vcfilesys_defs.h │ │ │ │ ├── vcgencmd.h │ │ │ │ ├── vchost.h │ │ │ │ ├── vchost_platform_config.h │ │ │ │ ├── vcilcs.h │ │ │ │ └── vcilcs_common.h │ │ └── vcinclude │ │ │ ├── common.h │ │ │ ├── vc_image_types.h │ │ │ └── vcore.h │ │ ├── lib │ │ ├── libEGL.so │ │ ├── libEGL_static.a │ │ ├── libGLESv1_CM.so │ │ ├── libGLESv2.so │ │ ├── libGLESv2_static.a │ │ ├── libOpenVG.so │ │ ├── libWFC.so │ │ ├── libbcm_host.so │ │ ├── libbrcmEGL.so │ │ ├── libbrcmGLESv2.so │ │ ├── libbrcmOpenVG.so │ │ ├── libbrcmWFC.so │ │ ├── libcontainers.so │ │ ├── libdebug_sym.so │ │ ├── libdebug_sym_static.a │ │ ├── libdtovl.so │ │ ├── libelftoolchain.so │ │ ├── libkhrn_client.a │ │ ├── libkhrn_static.a │ │ ├── libmmal.so │ │ ├── libmmal_components.so │ │ ├── libmmal_core.so │ │ ├── libmmal_util.so │ │ ├── libmmal_vc_client.so │ │ ├── libopenmaxil.so │ │ ├── libvcfiled_check.a │ │ ├── libvchiq_arm.so │ │ ├── libvchostif.a │ │ ├── libvcilcs.a │ │ ├── libvcos.so │ │ ├── libvcsm.so │ │ ├── pkgconfig │ │ │ ├── bcm_host.pc │ │ │ ├── brcmegl.pc │ │ │ ├── brcmglesv2.pc │ │ │ ├── brcmvg.pc │ │ │ ├── egl.pc │ │ │ ├── glesv2.pc │ │ │ ├── mmal.pc │ │ │ ├── vcsm.pc │ │ │ └── vg.pc │ │ └── plugins │ │ │ ├── reader_asf.so │ │ │ ├── reader_avi.so │ │ │ ├── reader_binary.so │ │ │ ├── reader_flv.so │ │ │ ├── reader_metadata_id3.so │ │ │ ├── reader_mkv.so │ │ │ ├── reader_mp4.so │ │ │ ├── reader_mpga.so │ │ │ ├── reader_ps.so │ │ │ ├── reader_qsynth.so │ │ │ ├── reader_raw_video.so │ │ │ ├── reader_rcv.so │ │ │ ├── reader_rtp.so │ │ │ ├── reader_rtsp.so │ │ │ ├── reader_rv9.so │ │ │ ├── reader_simple.so │ │ │ ├── reader_wav.so │ │ │ ├── writer_asf.so │ │ │ ├── writer_avi.so │ │ │ ├── writer_binary.so │ │ │ ├── writer_dummy.so │ │ │ ├── writer_mp4.so │ │ │ ├── writer_raw_video.so │ │ │ └── writer_simple.so │ │ ├── sbin │ │ └── vcfiled │ │ └── src │ │ └── hello_pi │ │ ├── Makefile.include │ │ ├── README │ │ ├── hello_audio │ │ ├── Makefile │ │ ├── audio.c │ │ ├── audioplay.h │ │ └── sinewave.c │ │ ├── hello_dispmanx │ │ ├── Makefile │ │ └── dispmanx.c │ │ ├── hello_encode │ │ ├── Makefile │ │ └── encode.c │ │ ├── hello_fft │ │ ├── gpu_fft.c │ │ ├── gpu_fft.h │ │ ├── gpu_fft.txt │ │ ├── gpu_fft_base.c │ │ ├── gpu_fft_shaders.c │ │ ├── gpu_fft_trans.c │ │ ├── gpu_fft_trans.h │ │ ├── gpu_fft_twiddles.c │ │ ├── hello_fft.c │ │ ├── hello_fft_2d.c │ │ ├── hello_fft_2d_bitmap.h │ │ ├── hex │ │ │ ├── shader_1024k.hex │ │ │ ├── shader_128k.hex │ │ │ ├── shader_16k.hex │ │ │ ├── shader_1k.hex │ │ │ ├── shader_2048k.hex │ │ │ ├── shader_256.hex │ │ │ ├── shader_256k.hex │ │ │ ├── shader_2k.hex │ │ │ ├── shader_32k.hex │ │ │ ├── shader_4096k.hex │ │ │ ├── shader_4k.hex │ │ │ ├── shader_512.hex │ │ │ ├── shader_512k.hex │ │ │ ├── shader_64k.hex │ │ │ ├── shader_8k.hex │ │ │ └── shader_trans.hex │ │ ├── mailbox.c │ │ ├── mailbox.h │ │ ├── makefile │ │ └── qasm │ │ │ ├── gpu_fft.qinc │ │ │ ├── gpu_fft_1024k.qasm │ │ │ ├── gpu_fft_128k.qasm │ │ │ ├── gpu_fft_16k.qasm │ │ │ ├── gpu_fft_1k.qasm │ │ │ ├── gpu_fft_2048k.qasm │ │ │ ├── gpu_fft_2048k.qinc │ │ │ ├── gpu_fft_256.qasm │ │ │ ├── gpu_fft_256k.qasm │ │ │ ├── gpu_fft_2k.qasm │ │ │ ├── gpu_fft_32k.qasm │ │ │ ├── gpu_fft_4096k.qasm │ │ │ ├── gpu_fft_4k.qasm │ │ │ ├── gpu_fft_512.qasm │ │ │ ├── gpu_fft_512k.qasm │ │ │ ├── gpu_fft_64k.qasm │ │ │ ├── gpu_fft_8k.qasm │ │ │ ├── gpu_fft_ex.qinc │ │ │ └── gpu_fft_trans.qasm │ │ ├── hello_font │ │ ├── Makefile │ │ ├── Vera.ttf │ │ └── main.c │ │ ├── hello_jpeg │ │ ├── Makefile │ │ ├── jpeg.c │ │ └── jpeg.h │ │ ├── hello_mmal_encode │ │ ├── Makefile │ │ └── mmal_encode.c │ │ ├── hello_teapot │ │ ├── Makefile │ │ ├── README.md │ │ ├── cube_texture_and_coords.h │ │ ├── models.c │ │ ├── models.h │ │ ├── teapot.obj.dat │ │ ├── triangle.c │ │ ├── triangle.h │ │ └── video.c │ │ ├── hello_tiger │ │ ├── Makefile │ │ ├── license.txt │ │ ├── main.c │ │ ├── readme.txt │ │ ├── tiger.c │ │ └── tiger.h │ │ ├── hello_triangle │ │ ├── Djenne_128_128.raw │ │ ├── Gaudi_128_128.raw │ │ ├── Lucca_128_128.raw │ │ ├── Makefile │ │ ├── cube_texture_and_coords.h │ │ └── triangle.c │ │ ├── hello_triangle2 │ │ ├── Makefile │ │ └── triangle2.c │ │ ├── hello_video │ │ ├── Makefile │ │ ├── README │ │ ├── test.h264 │ │ └── video.c │ │ ├── hello_videocube │ │ ├── Makefile │ │ ├── README.md │ │ ├── cube_texture_and_coords.h │ │ ├── triangle.c │ │ ├── triangle.h │ │ └── video.c │ │ ├── hello_world │ │ ├── Makefile │ │ └── world.c │ │ ├── libs │ │ ├── ilclient │ │ │ ├── Makefile │ │ │ ├── ilclient.c │ │ │ ├── ilclient.h │ │ │ └── ilcore.c │ │ └── vgfont │ │ │ ├── Makefile │ │ │ ├── font.c │ │ │ ├── graphics.c │ │ │ ├── graphics_x_private.h │ │ │ ├── vgfont.h │ │ │ ├── vgft.c │ │ │ └── vgft.h │ │ └── rebuild.sh │ ├── image-usb-stick │ ├── mkknlimg │ ├── raspberrypi.cfg │ ├── raspberrypi0.cfg │ ├── raspberrypi2.cfg │ └── raspberrypi3.cfg ├── packages ├── accountsservice │ └── Makefile ├── acl │ ├── Makefile │ ├── add-__acl_-prefixes-to-internal-symbols.patch │ └── support-static-installation.patch ├── adwaita-icon-theme │ └── Makefile ├── alsa-lib │ └── Makefile ├── at-spi2-atk │ └── Makefile ├── at-spi2-core │ └── Makefile ├── atk │ └── Makefile ├── attr │ ├── Makefile │ ├── avoid-glibc-specific-decls-defines.patch │ ├── portability-fixes.patch │ └── support-static-installation.patch ├── autoconf-2.13 │ ├── Makefile │ └── autoconf-2.13-consolidated_fixes-1.patch ├── autoconf │ └── Makefile ├── automake │ ├── Makefile │ ├── automake-fix-help2man.patch │ └── gtk-doc.m4 ├── bash │ ├── Makefile │ └── bash-4.4-upstream_fixes-1.patch ├── bc │ ├── Makefile │ ├── array_initialize.patch │ ├── notice_read_write_errors.patch │ └── use_appropiate_makeinfo.patch ├── binutils │ ├── Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch │ ├── Makefile │ ├── add-sysroot-fix-from-bug-3049.patch │ ├── check-ldrunpath-length.patch │ ├── ld-makefile.patch │ ├── poison-system-directories.patch │ ├── sh-conf.patch │ ├── xtensa-fix-memory-corruption-by-broken-sysregs.patch │ └── xtensa-ld-restore-old-section-sorting-behavior.patch ├── bison │ └── Makefile ├── bzip2 │ ├── Makefile │ └── bzip2-1.0.6-install_docs-1.patch ├── c-ares │ └── Makefile ├── cacerts │ ├── Makefile │ └── ca-certificates_20161130.tar.xz ├── cairo │ └── Makefile ├── cmake │ └── Makefile ├── coreutils │ ├── Makefile │ └── coreutils-8.27-i18n-1.patch ├── curl │ └── Makefile ├── dbus-glib │ └── Makefile ├── dbus │ └── Makefile ├── debianutils │ ├── Makefile │ └── debianutils_4.8.1.tar.xz ├── dhcpcd │ ├── Makefile │ └── dhcpcd-6.11.5.tar.xz ├── diffutils │ └── Makefile ├── e2fsprogs │ └── Makefile ├── enchant │ └── Makefile ├── epdfview │ ├── Makefile │ ├── epdfview-0.1.8-fixes-2.patch │ ├── epdfview-0.1.8.tar.bz2 │ └── epdfview-aarch64-system-support.patch ├── epiphany │ └── Makefile ├── exo │ ├── Makefile │ └── exo-0.10.7-build-system-fixes-for-cross-compilation.patch ├── expat │ └── Makefile ├── extra-cmake-modules │ └── Makefile ├── fakeroot │ ├── Makefile │ └── fakeroot_1.20.2.orig.tar.bz2 ├── file │ └── Makefile ├── findutils │ └── Makefile ├── flex │ ├── Makefile │ └── flex-disable-documentation.patch ├── font-util │ └── Makefile ├── fontconfig │ ├── Avoid-conflicts-with-integer-width-macros-from-TS-1866.patch │ └── Makefile ├── freetype │ └── Makefile ├── garcon │ └── Makefile ├── gawk │ └── Makefile ├── gcc │ ├── Makefile │ ├── arm-softfloat-libgcc.patch │ ├── cilk-fix-build-without-wchar.patch │ ├── final │ │ └── Makefile │ ├── initial │ │ └── Makefile │ ├── microblaze-Revert.patch │ └── remove-selftests.patch ├── gcr │ └── Makefile ├── gdbm │ └── Makefile ├── gdk-pixbuf │ └── Makefile ├── gee │ └── Makefile ├── genimage │ └── Makefile ├── gettext │ └── Makefile ├── glib-networking │ └── Makefile ├── glib │ ├── Makefile │ └── glib-2.52.0-as_fn_error.patch ├── glibc │ ├── CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch │ ├── Makefile │ ├── fix-binutils-2-29-build.patch │ ├── glibc-2.25-fhs-1.patch │ ├── ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch │ ├── ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch │ ├── ld.so.conf │ ├── nsswitch.conf │ └── sh4-trap.patch ├── gmp │ └── Makefile ├── gnome-desktop │ └── Makefile ├── gnutls │ └── Makefile ├── gperf │ └── Makefile ├── granite │ └── Makefile ├── grep │ └── Makefile ├── gsettings-desktop-schemas │ └── Makefile ├── gst-plugins-bad │ └── Makefile ├── gst-plugins-base │ └── Makefile ├── gstreamer │ └── Makefile ├── gtk-xfce-engine │ └── Makefile ├── gzip │ └── Makefile ├── harfbuzz │ └── Makefile ├── help2man │ └── Makefile ├── hicolor-icon-theme │ └── Makefile ├── iana-etc │ ├── Makefile │ ├── iana-etc-2.30-update-2.patch │ └── iana-etc-2.30.tar.bz2 ├── icu │ ├── Makefile │ ├── detect-compiler-symbol-prefix.patch │ ├── dont-build-static-dynamic-twice.patch │ ├── fix-static-linking-with-icu-uc.patch │ ├── link-icudata-as-data-only.patch │ └── workaround-toolchain-bugs.patch ├── ifupdown │ ├── Makefile │ ├── dont-use-dpkg-architecture.patch │ └── ifupdown_0.8.16.tar.xz ├── imlib2 │ ├── Makefile │ └── imlib2-1.4.10.tar.bz2 ├── inetutils │ ├── Makefile │ └── inetutils-1.9-PATH_PROCNET_DEV.patch ├── intltool │ ├── Makefile │ └── perl-5.26-compatibility.patch ├── iproute2 │ ├── Makefile │ └── include-stdint.h-explicitly-for-UINT16_MAX.patch ├── iso-codes │ └── Makefile ├── itstool │ └── Makefile ├── json-glib │ └── Makefile ├── kbd │ ├── Makefile │ └── kbd-2.0.4-backspace-1.patch ├── kmod │ ├── Makefile │ ├── fix-O_CLOEXEC.patch │ └── shared-util.c-assert_cc-can-only-be-used-inside-func.patch ├── less │ └── Makefile ├── libarchive │ └── Makefile ├── libcap │ ├── Makefile │ └── libcap-2.25-build-system-fixes-for-cross-compilation.patch ├── libconfuse │ └── Makefile ├── libcroco │ └── Makefile ├── libdrm │ ├── Add-ARM-support-into-xf86drm.h.patch │ ├── Makefile │ └── xf86atomic-require-CAS-support-in-libatomic_ops.patch ├── libepoxy │ └── Makefile ├── libevdev │ └── Makefile ├── libevent │ └── Makefile ├── libffi │ └── Makefile ├── libfm │ └── Makefile ├── libgcrypt │ └── Makefile ├── libgpg-error │ └── Makefile ├── libgtk2 │ ├── Makefile │ ├── gtkrc │ └── libgtk2-reduce-dependencies.patch ├── libgtk3 │ ├── Makefile │ └── settings.ini ├── libgudev │ └── Makefile ├── libinput │ └── Makefile ├── libjpeg-turbo │ └── Makefile ├── libnotify │ └── Makefile ├── libpipeline │ └── Makefile ├── libpng │ ├── Disable-pngfix-and-png-fix-itxt.patch │ ├── Don-t-append-prefix-to-symbol-names-in-version-script.patch │ └── Makefile ├── libpthread-stubs │ └── Makefile ├── librsvg │ └── Makefile ├── libsecret │ └── Makefile ├── libsha1 │ ├── Makefile │ └── libsha1-0.3.tar.gz ├── libsoup │ └── Makefile ├── libstartup-notification │ ├── Makefile │ ├── libstartup-notification-aarch64-system-support.patch │ └── libstartup-notification-build-system-fixes-for-cross-compilation.patch ├── libtasn1 │ └── Makefile ├── libtiff │ ├── Makefile │ └── libtiff-aarch64-system-support.patch ├── libtool │ └── Makefile ├── libvpx │ └── Makefile ├── libwebp │ └── Makefile ├── libwnck │ └── Makefile ├── libxau │ └── Makefile ├── libxcb │ └── Makefile ├── libxdmcp │ └── Makefile ├── libxfce4ui │ └── Makefile ├── libxfce4util │ └── Makefile ├── libxkbcommon │ └── Makefile ├── libxklavier │ ├── Makefile │ └── libxklavier-5.4.tar.bz2 ├── libxml-parser-perl │ └── Makefile ├── libxml2 │ └── Makefile ├── libxslt │ └── Makefile ├── lightdm-gtk-greeter │ └── Makefile ├── lightdm │ └── Makefile ├── linux-pam │ ├── Makefile │ ├── other │ ├── system-account │ ├── system-auth │ ├── system-password │ ├── system-session │ └── systemd-user ├── linux │ └── Makefile ├── lsb_release │ ├── Makefile │ └── lsb-release ├── lxde-icon-theme │ └── Makefile ├── lxdm │ ├── Makefile │ └── lxdm ├── lxmenu-data │ └── Makefile ├── m4 │ └── Makefile ├── make │ └── Makefile ├── makedevs │ ├── Makefile │ └── makedevs.c ├── man-pages │ └── Makefile ├── menu-cache │ └── Makefile ├── mesa │ ├── Makefile │ └── configure.ac-invert-order-for-wayland-scanner-check.patch ├── midori │ ├── Makefile │ ├── fix-bug-1492932.patch │ └── gcr-for-x11-only.patch ├── mkpasswd │ ├── Makefile │ ├── config.h │ ├── mkpasswd.c │ ├── utils.c │ └── utils.h ├── mongodb │ ├── Makefile │ └── mongos.conf ├── mpc │ └── Makefile ├── mpfr │ ├── Fix-obsolete-ARC-asm-constraints.patch │ └── Makefile ├── mtdev │ ├── Makefile │ ├── mtdev-1.1.5.tar.bz2 │ └── mtdev-aarch64-system-support.patch ├── mtools │ └── Makefile ├── nanumfont │ ├── Makefile │ ├── NanumGothic.ttf │ ├── NanumGothicBold.ttf │ └── NanumGothicExtraBold.ttf ├── ncurses │ └── Makefile ├── nettle │ └── Makefile ├── nodejs │ └── Makefile ├── nspr │ └── Makefile ├── nss │ ├── Makefile │ └── nss.pc.in ├── ntp │ ├── Makefile │ ├── ntp.conf │ └── ntpd.service ├── openbox │ ├── Makefile │ ├── openbox-aarch64-system-support.patch │ └── openbox.service ├── openjpeg │ └── Makefile ├── openssh │ ├── Makefile │ └── sshd.service ├── openssl │ └── Makefile ├── opus │ └── Makefile ├── p11-kit │ └── Makefile ├── pango │ └── Makefile ├── patch │ └── Makefile ├── pcmanfm │ └── Makefile ├── pcre │ └── Makefile ├── pcre2 │ └── Makefile ├── pixman │ └── Makefile ├── pkg-config │ └── Makefile ├── pkgconf │ ├── Fix-all-variables-sysroot-prefix-problem.patch │ ├── Makefile │ └── pkg-config ├── polkit │ └── Makefile ├── poppler │ └── Makefile ├── procps-ng │ └── Makefile ├── psmisc │ └── Makefile ├── python2 │ └── Makefile ├── qemu │ └── Makefile ├── qt5base │ ├── Fix-error-attribute-target-crc-is-unknown.patch │ ├── Makefile │ ├── qmake.conf │ └── qplatformdefs.h ├── qupzilla │ ├── Makefile │ └── qupzilla-2.1.2-openssl1.1-1.patch ├── readline │ ├── Makefile │ └── curses-link.patch ├── ruby │ └── Makefile ├── scons │ └── Makefile ├── sdl2 │ └── Makefile ├── sed │ └── Makefile ├── shadow │ ├── Makefile │ ├── chage │ ├── login │ ├── passwd │ ├── shadow-4.5.tar.xz │ └── su ├── skeleton │ ├── Makefile │ └── create_rootfs.sh ├── sqlite │ └── Makefile ├── sudo │ ├── Makefile │ └── sudo ├── systemd │ ├── 83-duplicate_devs.rules │ ├── Makefile │ ├── adjtime │ ├── build-check-for-ln-relative.patch │ ├── dhcp.network │ ├── fix-am-path-libgcrypt-no-found.patch │ ├── network.service │ └── systemd-234.tar.gz ├── tar │ └── Makefile ├── texinfo │ └── Makefile ├── thunar-volman │ └── Makefile ├── thunar │ └── Makefile ├── tint2 │ ├── Makefile │ └── tint2-15.1-63c3690fa8efb1cd2dd23969f219f9b7a37a65b6.tar.bz2 ├── tumbler │ └── Makefile ├── tzdata │ └── Makefile ├── util-linux │ └── Makefile ├── util-macros │ └── Makefile ├── vala │ ├── Makefile │ ├── dont-add-dirty-to-valac-version.patch │ └── vala-wrapper ├── vde2 │ └── Makefile ├── vim │ ├── Makefile │ └── vimrc ├── wayland-protocols │ └── Makefile ├── wayland │ ├── Makefile │ ├── Support-architectures-with-non-empty-__USER_LABEL_PR.patch │ └── configure-add-option-to-disable-tests.patch ├── webkitgtk │ └── Makefile ├── weston │ ├── Makefile │ └── weston.service ├── wget │ └── Makefile ├── which │ └── Makefile ├── xcb-proto │ ├── Makefile │ ├── xcb-proto-1.12-python3-1.patch │ └── xcb-proto-1.12-schema-1.patch ├── xcb-util │ └── Makefile ├── xfce4-appfinder │ └── Makefile ├── xfce4-panel │ └── Makefile ├── xfce4-session │ └── Makefile ├── xfce4-settings │ └── Makefile ├── xfce4-xkb-plugin │ └── Makefile ├── xfconf │ └── Makefile ├── xfdesktop │ └── Makefile ├── xfwm4 │ └── Makefile ├── xkbcomp │ └── Makefile ├── xkeyboard-config │ └── Makefile ├── xorg │ ├── app │ │ ├── twm │ │ │ └── Makefile │ │ ├── xauth │ │ │ └── Makefile │ │ ├── xclock │ │ │ └── Makefile │ │ ├── xhost │ │ │ └── Makefile │ │ └── xinit │ │ │ └── Makefile │ ├── driver │ │ ├── xf86-input-evdev │ │ │ └── Makefile │ │ ├── xf86-input-keyboard │ │ │ ├── Makefile │ │ │ └── xf86-input-keyboard-1.9.0.tar.bz2 │ │ ├── xf86-input-libinput │ │ │ ├── Makefile │ │ │ └── xf86-input-libinput-0.25.1.tar.bz2 │ │ ├── xf86-input-mouse │ │ │ ├── Makefile │ │ │ └── xf86-input-mouse-1.9.2.tar.bz2 │ │ └── xf86-video-fbdev │ │ │ ├── Makefile │ │ │ └── xf86-video-fbdev-0.4.4.tar.bz2 │ ├── lib │ │ ├── Makefile │ │ ├── libFS │ │ │ └── Makefile │ │ ├── libICE │ │ │ └── Makefile │ │ ├── libSM │ │ │ └── Makefile │ │ ├── libX11 │ │ │ └── Makefile │ │ ├── libXScrnSaver │ │ │ └── Makefile │ │ ├── libXaw │ │ │ └── Makefile │ │ ├── libXcomposite │ │ │ └── Makefile │ │ ├── libXcursor │ │ │ └── Makefile │ │ ├── libXdamage │ │ │ └── Makefile │ │ ├── libXext │ │ │ └── Makefile │ │ ├── libXfixes │ │ │ └── Makefile │ │ ├── libXfont2 │ │ │ └── Makefile │ │ ├── libXft │ │ │ └── Makefile │ │ ├── libXi │ │ │ └── Makefile │ │ ├── libXinerama │ │ │ └── Makefile │ │ ├── libXmu │ │ │ └── Makefile │ │ ├── libXpm │ │ │ └── Makefile │ │ ├── libXrandr │ │ │ └── Makefile │ │ ├── libXrender │ │ │ └── Makefile │ │ ├── libXres │ │ │ └── Makefile │ │ ├── libXt │ │ │ └── Makefile │ │ ├── libXtst │ │ │ └── Makefile │ │ ├── libXv │ │ │ └── Makefile │ │ ├── libXvMC │ │ │ └── Makefile │ │ ├── libXxf86dga │ │ │ └── Makefile │ │ ├── libXxf86vm │ │ │ └── Makefile │ │ ├── libdmx │ │ │ └── Makefile │ │ ├── libfontenc │ │ │ └── Makefile │ │ ├── libpciaccess │ │ │ └── Makefile │ │ ├── libxkbfile │ │ │ └── Makefile │ │ ├── libxshmfence │ │ │ └── Makefile │ │ └── xtrans │ │ │ └── Makefile │ ├── mcookie │ │ ├── .mcookie.c.swp │ │ ├── Makefile │ │ └── mcookie.c │ ├── proto │ │ ├── Makefile │ │ ├── bigreqsproto │ │ │ └── Makefile │ │ ├── compositeproto │ │ │ └── Makefile │ │ ├── damageproto │ │ │ └── Makefile │ │ ├── dmxproto │ │ │ └── Makefile │ │ ├── dri2proto │ │ │ └── Makefile │ │ ├── dri3proto │ │ │ └── Makefile │ │ ├── fixesproto │ │ │ └── Makefile │ │ ├── fontsproto │ │ │ └── Makefile │ │ ├── glproto │ │ │ └── Makefile │ │ ├── inputproto │ │ │ └── Makefile │ │ ├── kbproto │ │ │ └── Makefile │ │ ├── presentproto │ │ │ └── Makefile │ │ ├── randrproto │ │ │ └── Makefile │ │ ├── recordproto │ │ │ └── Makefile │ │ ├── renderproto │ │ │ └── Makefile │ │ ├── resourceproto │ │ │ └── Makefile │ │ ├── scrnsaverproto │ │ │ └── Makefile │ │ ├── videoproto │ │ │ └── Makefile │ │ ├── xcmiscproto │ │ │ └── Makefile │ │ ├── xextproto │ │ │ └── Makefile │ │ ├── xf86bigfontproto │ │ │ └── Makefile │ │ ├── xf86dgaproto │ │ │ └── Makefile │ │ ├── xf86driproto │ │ │ └── Makefile │ │ ├── xf86vidmodeproto │ │ │ └── Makefile │ │ ├── xineramaproto │ │ │ └── Makefile │ │ └── xproto │ │ │ └── Makefile │ ├── server │ │ ├── Makefile │ │ └── configure.ac-Fix-check-for-CLOCK_MONOTONIC.patch │ └── xorg-proto-lib-aarch64-system-support.patch ├── xterm │ └── Makefile ├── xz │ └── Makefile ├── zic │ └── Makefile └── zlib │ └── Makefile ├── screenshot.png ├── scripts ├── error.sh ├── extract.sh ├── help.sh ├── settings.sh ├── step.sh └── success.sh ├── settings.mk └── support ├── cmake ├── Platform │ └── CLFS-ARM.cmake └── toolchainfile.cmake ├── device_table.txt ├── functions.mk └── systemd └── Makefile /.gitignore: -------------------------------------------------------------------------------- 1 | .config.mk 2 | .system.packages 3 | .toolchain.packages 4 | sources 5 | out 6 | -------------------------------------------------------------------------------- /config/qemu_vexpress_defconfig: -------------------------------------------------------------------------------- 1 | export CONFIG_NAME := qemu_vexpress 2 | export CONFIG_MODE := arm 3 | export CONFIG_TARGET := arm-linux-gnueabihf 4 | export CONFIG_ABI := aapcs-linux 5 | export CONFIG_CPU := cortex-a9 6 | export CONFIG_FPU := vfpv3-d16 7 | export CONFIG_FLOAT := hard 8 | export CONFIG_LINUX_ARCH := arm 9 | export CONFIG_LINUX_KERNEL_SOURCE := linux-4.11.7.tar.gz 10 | export CONFIG_LINUX_KERNEL_SOURCE_URL := https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.11.7.tar.gz 11 | export CONFIG_LINUX_KERNEL_SOURCE_MD5 := 9cc718062918845dcc009a276c598a6a 12 | export CONFIG_LINUX_KERNEL_DEFCONFIG := vexpress 13 | export CONFIG_LINUX_KERNEL_INTREE_DTS_NAME := vexpress-v2p-ca9 14 | export CONFIG_IMAGE_SCRIPT := $(DEVICE_DIR)/qemu/vexpress/create_image.sh 15 | -------------------------------------------------------------------------------- /config/raspberrypi2_defconfig: -------------------------------------------------------------------------------- 1 | export CONFIG_NAME := raspberrypi2 2 | export CONFIG_MODE := arm 3 | export CONFIG_TARGET := arm-linux-gnueabihf 4 | export CONFIG_ABI := aapcs-linux 5 | export CONFIG_CPU := cortex-a7 6 | export CONFIG_FPU := neon-vfpv4 7 | export CONFIG_FLOAT := hard 8 | export CONFIG_LINUX_ARCH := arm 9 | export CONFIG_LINUX_KERNEL_SOURCE := raspberrypi-kernel_1.20170811-1.tar.gz 10 | export CONFIG_LINUX_KERNEL_SOURCE_URL := https://github.com/raspberrypi/linux/archive/raspberrypi-kernel_1.20170811-1.tar.gz 11 | export CONFIG_LINUX_KERNEL_SOURCE_MD5 := cc82ef0ca86c90a8ec59251fd2a47b6c 12 | export CONFIG_LINUX_KERNEL_DEFCONFIG := bcm2709 13 | export CONFIG_LINUX_KERNEL_INTREE_DTS_NAME := bcm2709-rpi-2-b 14 | export CONFIG_IMAGE_SCRIPT := $(DEVICE_DIR)/raspberrypi/create_image.sh 15 | -------------------------------------------------------------------------------- /config/raspberrypi3_defconfig: -------------------------------------------------------------------------------- 1 | export CONFIG_NAME := raspberrypi3 2 | export CONFIG_TARGET := aarch64-linux-gnu 3 | export CONFIG_ABI := lp64 4 | export CONFIG_CPU := cortex-a53 5 | export CONFIG_LINUX_ARCH := arm64 6 | export CONFIG_LINUX_KERNEL_SOURCE := raspberrypi-kernel_1.20170811-1.tar.gz 7 | export CONFIG_LINUX_KERNEL_SOURCE_URL := https://github.com/raspberrypi/linux/archive/raspberrypi-kernel_1.20170811-1.tar.gz 8 | export CONFIG_LINUX_KERNEL_SOURCE_MD5 := cc82ef0ca86c90a8ec59251fd2a47b6c 9 | export CONFIG_LINUX_KERNEL_DEFCONFIG := bcmrpi3 10 | export CONFIG_LINUX_KERNEL_INTREE_DTS_NAME := bcm2710-rpi-3-b bcm2837-rpi-3-b 11 | export CONFIG_IMAGE_SCRIPT := $(DEVICE_DIR)/raspberrypi/create_image.sh 12 | -------------------------------------------------------------------------------- /device/raspberrypi/boot/LICENCE.broadcom: -------------------------------------------------------------------------------- 1 | Copyright (c) 2006, Broadcom Corporation. 2 | Copyright (c) 2015, Raspberry Pi (Trading) Ltd 3 | All rights reserved. 4 | 5 | Redistribution. Redistribution and use in binary form, without 6 | modification, are permitted provided that the following conditions are 7 | met: 8 | 9 | * This software may only be used for the purposes of developing for, 10 | running or using a Raspberry Pi device. 11 | * Redistributions must reproduce the above copyright notice and the 12 | following disclaimer in the documentation and/or other materials 13 | provided with the distribution. 14 | * Neither the name of Broadcom Corporation nor the names of its suppliers 15 | may be used to endorse or promote products derived from this software 16 | without specific prior written permission. 17 | 18 | DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 19 | CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, 20 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 21 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 22 | COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 23 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 24 | BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS 25 | OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 26 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR 27 | TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 28 | USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 29 | DAMAGE. 30 | 31 | -------------------------------------------------------------------------------- /device/raspberrypi/boot/bootcode.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/bootcode.bin -------------------------------------------------------------------------------- /device/raspberrypi/boot/fixup.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/fixup.dat -------------------------------------------------------------------------------- /device/raspberrypi/boot/fixup_cd.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/fixup_cd.dat -------------------------------------------------------------------------------- /device/raspberrypi/boot/fixup_db.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/fixup_db.dat -------------------------------------------------------------------------------- /device/raspberrypi/boot/fixup_x.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/fixup_x.dat -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/adau1977-adc.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/adau1977-adc.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/adau7002-simple.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/adau7002-simple.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/ads1015.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/ads1015.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/ads1115.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/ads1115.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/ads7846.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/ads7846.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/akkordion-iqdacplus.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/akkordion-iqdacplus.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/allo-boss-dac-pcm512x-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/allo-boss-dac-pcm512x-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/allo-digione.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/allo-digione.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/allo-piano-dac-pcm512x-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/allo-piano-dac-pcm512x-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/allo-piano-dac-plus-pcm512x-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/allo-piano-dac-plus-pcm512x-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/at86rf233.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/at86rf233.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/audioinjector-addons.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/audioinjector-addons.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/audioinjector-wm8731-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/audioinjector-wm8731-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/audremap.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/audremap.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/bmp085_i2c-sensor.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/bmp085_i2c-sensor.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dht11.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dht11.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dionaudio-loco-v2.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dionaudio-loco-v2.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dionaudio-loco.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dionaudio-loco.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dpi18.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dpi18.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dpi24.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dpi24.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dwc-otg.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dwc-otg.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/dwc2.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/dwc2.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/enc28j60-spi2.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/enc28j60-spi2.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/enc28j60.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/enc28j60.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/fe-pi-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/fe-pi-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/goodix.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/goodix.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/googlevoicehat-soundcard.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/googlevoicehat-soundcard.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/gpio-ir.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/gpio-ir.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/gpio-poweroff.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/gpio-poweroff.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hifiberry-amp.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hifiberry-amp.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hifiberry-dac.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hifiberry-dac.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hifiberry-dacplus.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hifiberry-dacplus.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hifiberry-digi-pro.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hifiberry-digi-pro.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hifiberry-digi.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hifiberry-digi.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hy28a.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hy28a.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/hy28b.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/hy28b.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-bcm2708.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-bcm2708.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-gpio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-gpio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-mux.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-mux.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-pwm-pca9685a.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-pwm-pca9685a.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-rtc-gpio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-rtc-gpio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-rtc.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-rtc.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c-sensor.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c-sensor.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c0-bcm2708.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c0-bcm2708.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2c1-bcm2708.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2c1-bcm2708.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/i2s-gpio28-31.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/i2s-gpio28-31.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/iqaudio-dac.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/iqaudio-dac.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/iqaudio-dacplus.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/iqaudio-dacplus.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/iqaudio-digi-wm8804-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/iqaudio-digi-wm8804-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/justboom-dac.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/justboom-dac.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/justboom-digi.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/justboom-digi.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/lirc-rpi.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/lirc-rpi.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mcp23017.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mcp23017.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mcp23s17.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mcp23s17.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mcp2515-can0.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mcp2515-can0.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mcp2515-can1.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mcp2515-can1.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mcp3008.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mcp3008.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/midi-uart0.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/midi-uart0.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/midi-uart1.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/midi-uart1.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mmc.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mmc.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mpu6050.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mpu6050.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/mz61581.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/mz61581.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pi3-act-led.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pi3-act-led.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pi3-disable-bt.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pi3-disable-bt.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pi3-disable-wifi.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pi3-disable-wifi.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pi3-miniuart-bt.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pi3-miniuart-bt.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/piscreen.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/piscreen.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/piscreen2r.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/piscreen2r.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pisound.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pisound.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pitft22.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pitft22.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pitft28-capacitive.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pitft28-capacitive.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pitft28-resistive.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pitft28-resistive.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pitft35-resistive.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pitft35-resistive.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pps-gpio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pps-gpio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pwm-2chan.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pwm-2chan.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/pwm.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/pwm.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/qca7000.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/qca7000.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/raspidac3.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/raspidac3.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rotary-encoder.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rotary-encoder.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-backlight.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-backlight.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-cirrus-wm5102.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-cirrus-wm5102.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-dac.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-dac.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-display.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-display.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-ft5406.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-ft5406.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-proto.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-proto.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-sense.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-sense.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rpi-tv.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rpi-tv.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/rra-digidac1-wm8741-audio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/rra-digidac1-wm8741-audio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/sc16is750-i2c.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/sc16is750-i2c.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/sc16is752-spi1.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/sc16is752-spi1.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/sdhost.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/sdhost.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/sdio-1bit.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/sdio-1bit.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/sdio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/sdio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/sdtweak.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/sdtweak.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/smi-dev.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/smi-dev.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/smi-nand.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/smi-nand.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/smi.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/smi.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi-gpio35-39.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi-gpio35-39.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi-rtc.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi-rtc.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi0-cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi0-cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi0-hw-cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi0-hw-cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi1-1cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi1-1cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi1-2cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi1-2cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi1-3cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi1-3cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi2-1cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi2-1cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi2-2cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi2-2cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/spi2-3cs.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/spi2-3cs.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/tinylcd35.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/tinylcd35.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/uart1.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/uart1.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/vc4-fkms-v3d.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/vc4-fkms-v3d.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/vc4-kms-v3d.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/vc4-kms-v3d.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/vga666.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/vga666.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/w1-gpio-pullup.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/w1-gpio-pullup.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/w1-gpio.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/w1-gpio.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/overlays/wittypi.dtbo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/overlays/wittypi.dtbo -------------------------------------------------------------------------------- /device/raspberrypi/boot/start.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/start.elf -------------------------------------------------------------------------------- /device/raspberrypi/boot/start_cd.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/start_cd.elf -------------------------------------------------------------------------------- /device/raspberrypi/boot/start_db.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/start_db.elf -------------------------------------------------------------------------------- /device/raspberrypi/boot/start_x.elf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/boot/start_x.elf -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_check_frame_int: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_check_frame_int -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_datagram_receiver: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_datagram_receiver -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_datagram_sender: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_datagram_sender -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_dump_pktfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_dump_pktfile -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_rtp_decoder: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_rtp_decoder -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_stream_client: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_stream_client -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_stream_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_stream_server -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_test -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_test_bits: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_test_bits -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_test_uri: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_test_uri -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/containers_uri_pipe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/containers_uri_pipe -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/dtmerge: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/dtmerge -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/dtoverlay: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/dtoverlay -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/dtoverlay-post: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$DISPLAY" == "" ]; then 3 | export DISPLAY=":0.0" 4 | fi 5 | CMD="which lxpanelctl >/dev/null 2>&1 && lxpanelctl alsastart >/dev/null" 6 | if [ $EUID -eq 0 ]; then 7 | exec su pi -c "$CMD" 8 | else 9 | exec $CMD 10 | fi 11 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/dtoverlay-pre: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | if [ "$DISPLAY" == "" ]; then 3 | export DISPLAY=":0.0" 4 | fi 5 | CMD="which lxpanelctl >/dev/null 2>&1 && lxpanelctl alsastop >/dev/null" 6 | if [ $EUID -eq 0 ]; then 7 | exec su pi -c "$CMD" 8 | else 9 | exec $CMD 10 | fi 11 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/dtparam: -------------------------------------------------------------------------------- 1 | dtoverlay -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/edidparser: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/edidparser -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/mmal_vc_diag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/mmal_vc_diag -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/raspistill: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/raspistill -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/raspivid: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/raspivid -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/raspividyuv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/raspividyuv -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/raspiyuv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/raspiyuv -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/tvservice: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/tvservice -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/vcdbg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/vcdbg -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/vcgencmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/vcgencmd -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/vchiq_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/vchiq_test -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/vcmailbox: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/vcmailbox -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/bin/vcsmem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/bin/vcsmem -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/include/IL/OMX_Other.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/include/IL/OMX_Other.h -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/include/WF/wfcplatform.h: -------------------------------------------------------------------------------- 1 | /********************************************************************* 2 | * * 3 | * Sample implementation of wfcplatform.h, version 1.0, draft 19 * 4 | * * 5 | * Copyright (c) 2007-2009 The Khronos Group * 6 | * * 7 | *********************************************************************/ 8 | 9 | #ifndef _WFCPLATFORM_H_ 10 | #define _WFCPLATFORM_H_ 11 | 12 | #include "../KHR/khrplatform.h" 13 | #include "../EGL/egl.h" 14 | 15 | #ifdef __cplusplus 16 | extern "C" { 17 | #endif 18 | 19 | #ifndef WFC_API_CALL 20 | #define WFC_API_CALL KHRONOS_APICALL 21 | #endif 22 | #ifndef WFC_APIENTRY 23 | #define WFC_APIENTRY KHRONOS_APIENTRY 24 | #endif 25 | #ifndef WFC_APIEXIT 26 | #define WFC_APIEXIT KHRONOS_APIATTRIBUTES 27 | #endif 28 | 29 | #ifndef WFC_DEFAULT_SCREEN_NUMBER 30 | #define WFC_DEFAULT_SCREEN_NUMBER (0) 31 | #endif 32 | 33 | typedef enum { 34 | WFC_FALSE = 0, 35 | WFC_TRUE = 1, 36 | WFC_BOOLEAN_FORCE_32BIT = 0x7FFFFFFF 37 | } WFCboolean; 38 | 39 | typedef khronos_int32_t WFCint; 40 | typedef khronos_float_t WFCfloat; 41 | typedef khronos_uint32_t WFCbitfield; 42 | typedef khronos_uint32_t WFCHandle; 43 | 44 | typedef EGLDisplay WFCEGLDisplay; 45 | typedef void *WFCEGLSync; /* An opaque handle to an EGLSyncKHR */ 46 | typedef WFCHandle WFCNativeStreamType; 47 | 48 | #ifdef __cplusplus 49 | } 50 | #endif 51 | 52 | #endif /* _WFCPLATFORM_H_ */ 53 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/include/interface/vcos/vcos_logging_control.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2012, Broadcom Europe Ltd 3 | All rights reserved. 4 | 5 | Redistribution and use in source and binary forms, with or without 6 | modification, are permitted provided that the following conditions are met: 7 | * Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | * Redistributions in binary form must reproduce the above copyright 10 | notice, this list of conditions and the following disclaimer in the 11 | documentation and/or other materials provided with the distribution. 12 | * Neither the name of the copyright holder nor the 13 | names of its contributors may be used to endorse or promote products 14 | derived from this software without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 17 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY 20 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 25 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 | */ 27 | 28 | 29 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Other.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/include/interface/vmcs_host/khronos/IL/OMX_Other.h -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libEGL.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libEGL.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libEGL_static.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libEGL_static.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libGLESv1_CM.so: -------------------------------------------------------------------------------- 1 | libGLESv2.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libGLESv2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libGLESv2.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libGLESv2_static.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libGLESv2_static.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libOpenVG.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libOpenVG.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libWFC.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libWFC.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libbcm_host.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libbcm_host.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libbrcmEGL.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libbrcmEGL.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libbrcmGLESv2.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libbrcmGLESv2.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libbrcmOpenVG.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libbrcmOpenVG.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libbrcmWFC.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libbrcmWFC.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libcontainers.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libcontainers.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libdebug_sym.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libdebug_sym.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libdebug_sym_static.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libdebug_sym_static.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libdtovl.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libdtovl.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libelftoolchain.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libelftoolchain.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libkhrn_client.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libkhrn_client.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libkhrn_static.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libkhrn_static.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libmmal.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libmmal.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libmmal_components.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libmmal_components.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libmmal_core.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libmmal_core.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libmmal_util.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libmmal_util.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libmmal_vc_client.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libmmal_vc_client.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libopenmaxil.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libopenmaxil.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libvcfiled_check.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libvcfiled_check.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libvchiq_arm.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libvchiq_arm.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libvchostif.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libvchostif.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libvcilcs.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libvcilcs.a -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libvcos.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libvcos.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/libvcsm.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/libvcsm.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/bcm_host.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: bcm_host 7 | Description: Broadcom VideoCore host API library 8 | Version: 1 9 | Libs: -L${libdir} -lbcm_host -lvcos -lvchiq_arm -pthread 10 | Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux -I${includedir}/interface/vcos/pthreads -DUSE_VCHIQ_ARM 11 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/brcmegl.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: brcmEGL 7 | Description: Fake brcmEGL package for RPi 8 | Version: 10 9 | Requires: bcm_host 10 | Libs: -L${libdir} -lbrcmEGL -lbrcmGLESv2 -lbcm_host -lvchostif 11 | Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux \ 12 | -I${includedir}/interface/vcos/pthreads 13 | 14 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/brcmglesv2.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: brcmGLESv2 7 | Description: Fake brcmGLES2 package for RPi 8 | Version: 10 9 | Requires: bcm_host 10 | Libs: -L${libdir} -lbrcmGLESv2 11 | Cflags: -I${includedir} 12 | 13 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/brcmvg.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: brcmOpenVG 7 | Description: Fake brcmOpenVG package for RPi 8 | Version: 10 9 | Requires: bcm_host 10 | Libs: -L${libdir} -lbrcmOpenVG 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/egl.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: EGL 7 | Description: Fake EGL package for RPi 8 | Version: 10 9 | Requires: bcm_host 10 | Libs: -L${libdir} -lEGL -lGLESv2 -lbcm_host -lvchostif 11 | Cflags: -I${includedir} -I${includedir}/interface/vmcs_host/linux \ 12 | -I${includedir}/interface/vcos/pthreads 13 | 14 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/glesv2.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: GLESv2 7 | Description: Fake GL ES 2 package for RPi 8 | Version: 10 9 | Requires: bcm_host 10 | Libs: -L${libdir} -lGLESv2 11 | Cflags: -I${includedir} 12 | 13 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/mmal.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: MMAL 7 | Description: Multi-Media Abstraction Layer library for RPi 8 | Version: 1 9 | Requires: vcsm 10 | Libs: -L${libdir} -lmmal -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/vcsm.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: VCSM 7 | Description: VideoCore Shared Memory library for RPi 8 | Version: 1 9 | Libs: -L${libdir} -lvcsm 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/pkgconfig/vg.pc: -------------------------------------------------------------------------------- 1 | prefix=/opt/vc 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: OpenVG 7 | Description: Fake OpenVG package for RPi 8 | Version: 10 9 | Requires: bcm_host 10 | Libs: -L${libdir} -lOpenVG 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_asf.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_asf.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_avi.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_avi.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_binary.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_binary.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_flv.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_flv.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_metadata_id3.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_metadata_id3.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_mkv.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_mkv.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_mp4.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_mp4.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_mpga.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_mpga.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_ps.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_ps.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_qsynth.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_qsynth.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_raw_video.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_raw_video.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rcv.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rcv.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rtp.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rtp.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rtsp.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rtsp.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rv9.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_rv9.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_simple.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_simple.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_wav.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/reader_wav.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_asf.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_asf.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_avi.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_avi.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_binary.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_binary.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_dummy.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_dummy.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_mp4.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_mp4.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_raw_video.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_raw_video.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_simple.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/lib/plugins/writer_simple.so -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/sbin/vcfiled: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/sbin/vcfiled -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/Makefile.include: -------------------------------------------------------------------------------- 1 | 2 | CFLAGS+=-DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi 3 | 4 | LDFLAGS+=-L$(SDKSTAGE)/opt/vc/lib/ -lbrcmGLESv2 -lbrcmEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt -lm -L$(SDKSTAGE)/opt/vc/src/hello_pi/libs/ilclient -L$(SDKSTAGE)/opt/vc/src/hello_pi/libs/vgfont 5 | 6 | INCLUDES+=-I$(SDKSTAGE)/opt/vc/include/ -I$(SDKSTAGE)/opt/vc/include/interface/vcos/pthreads -I$(SDKSTAGE)/opt/vc/include/interface/vmcs_host/linux -I./ -I$(SDKSTAGE)/opt/vc/src/hello_pi/libs/ilclient -I$(SDKSTAGE)/opt/vc/src/hello_pi/libs/vgfont 7 | 8 | all: $(BIN) $(LIB) 9 | 10 | %.o: %.c 11 | @rm -f $@ 12 | $(CC) $(CFLAGS) $(INCLUDES) -g -c $< -o $@ -Wno-deprecated-declarations 13 | 14 | %.o: %.cpp 15 | @rm -f $@ 16 | $(CXX) $(CFLAGS) $(INCLUDES) -g -c $< -o $@ -Wno-deprecated-declarations 17 | 18 | %.bin: $(OBJS) 19 | $(CC) -o $@ -Wl,--whole-archive $(OBJS) $(LDFLAGS) -Wl,--no-whole-archive -rdynamic 20 | 21 | %.a: $(OBJS) 22 | $(AR) r $@ $^ 23 | 24 | clean: 25 | for i in $(OBJS); do (if test -e "$$i"; then ( rm $$i ); fi ); done 26 | @rm -f $(BIN) $(LIB) 27 | 28 | 29 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/README: -------------------------------------------------------------------------------- 1 | Building on Pi 2 | ++++++++++++++ 3 | 4 | To build the test apps on the pi, first build the libs: 5 | make -C libs/ilclient 6 | make -C libs/vgfont 7 | 8 | then by entering each test app directory and run make. E.g. 9 | cd hello_world 10 | make 11 | ./hello_world.bin 12 | 13 | Running ./rebuild.sh will rebuild the all libs and and apps. 14 | 15 | 16 | Building on a different PC 17 | ++++++++++++++++++++++++++ 18 | 19 | If you want to build the samples on a different machine (cross-compile) then set: 20 | SDKSTAGE= and CC= 21 | before running make. 22 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_audio/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=audio.o sinewave.o 2 | BIN=hello_audio.bin 3 | LDFLAGS+=-lilclient 4 | 5 | include ../Makefile.include 6 | 7 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_dispmanx/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=dispmanx.o 2 | BIN=hello_dispmanx.bin 3 | 4 | include ../Makefile.include 5 | 6 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_encode/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=encode.o 2 | BIN=hello_encode.bin 3 | LDFLAGS+=-lilclient 4 | 5 | include ../Makefile.include 6 | 7 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_fft/makefile: -------------------------------------------------------------------------------- 1 | S = hex/shader_256.hex \ 2 | hex/shader_512.hex \ 3 | hex/shader_1k.hex \ 4 | hex/shader_2k.hex \ 5 | hex/shader_4k.hex \ 6 | hex/shader_8k.hex \ 7 | hex/shader_16k.hex \ 8 | hex/shader_32k.hex \ 9 | hex/shader_64k.hex \ 10 | hex/shader_128k.hex \ 11 | hex/shader_256k.hex \ 12 | hex/shader_512k.hex \ 13 | hex/shader_1024k.hex \ 14 | hex/shader_2048k.hex \ 15 | hex/shader_4096k.hex 16 | 17 | C = mailbox.c gpu_fft.c gpu_fft_base.c gpu_fft_twiddles.c gpu_fft_shaders.c 18 | 19 | C1D = $(C) hello_fft.c 20 | C2D = $(C) hello_fft_2d.c gpu_fft_trans.c 21 | 22 | H1D = gpu_fft.h mailbox.h 23 | H2D = gpu_fft.h mailbox.h gpu_fft_trans.h hello_fft_2d_bitmap.h 24 | 25 | F = -lrt -lm -ldl 26 | 27 | all: hello_fft.bin hello_fft_2d.bin 28 | 29 | hello_fft.bin: $(S) $(C1D) $(H1D) 30 | gcc -o hello_fft.bin $(F) $(C1D) 31 | 32 | hello_fft_2d.bin: $(S) hex/shader_trans.hex $(C2D) $(H2D) 33 | gcc -o hello_fft_2d.bin $(F) $(C2D) 34 | 35 | clean: 36 | rm -f *.bin 37 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_font/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=main.o 2 | BIN=hello_font.bin 3 | 4 | LDFLAGS+=-lvgfont -lfreetype -lz 5 | 6 | include ../Makefile.include 7 | 8 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_font/Vera.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_font/Vera.ttf -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_jpeg/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=jpeg.o 2 | BIN=hello_jpeg.bin 3 | LDFLAGS+=-lilclient 4 | 5 | include ../Makefile.include 6 | 7 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_mmal_encode/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=mmal_encode.o 2 | BIN=hello_mmal_encode.bin 3 | LDFLAGS+=-lmmal -lmmal_core -lmmal_components -lmmal_util -lmmal_vc_client 4 | 5 | include ../Makefile.include 6 | 7 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_teapot/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=triangle.o video.o models.o 2 | BIN=hello_teapot.bin 3 | LDFLAGS+=-lilclient 4 | 5 | include ../Makefile.include 6 | 7 | 8 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_teapot/README.md: -------------------------------------------------------------------------------- 1 | hello_videocube 2 | =============== 3 | 4 | Sample for Raspberry Pi that uses egl_render to display video on an animated cube. -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_teapot/teapot.obj.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_teapot/teapot.obj.dat -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_tiger/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=main.o tiger.o 2 | BIN=hello_tiger.bin 3 | 4 | #LDFLAGS+= 5 | CFLAGS+=-D__RASPBERRYPI__ 6 | 7 | include ../Makefile.include 8 | 9 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Djenne_128_128.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Djenne_128_128.raw -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Gaudi_128_128.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Gaudi_128_128.raw -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Lucca_128_128.raw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Lucca_128_128.raw -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=triangle.o 2 | BIN=hello_triangle.bin 3 | 4 | include ../Makefile.include 5 | 6 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_triangle2/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=triangle2.o 2 | BIN=hello_triangle2.bin 3 | 4 | include ../Makefile.include 5 | 6 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_video/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=video.o 2 | BIN=hello_video.bin 3 | LDFLAGS+=-lilclient 4 | 5 | include ../Makefile.include 6 | 7 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_video/README: -------------------------------------------------------------------------------- 1 | The video clip test.h264 is (c) copyright 2008, Blender Foundation / www.bigbuckbunny.org 2 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_video/test.h264: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_video/test.h264 -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_videocube/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=triangle.o video.o 2 | BIN=hello_videocube.bin 3 | LDFLAGS+=-lilclient 4 | 5 | include ../Makefile.include 6 | 7 | 8 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_videocube/README.md: -------------------------------------------------------------------------------- 1 | hello_videocube 2 | =============== 3 | 4 | Sample for Raspberry Pi that uses egl_render to display video on an animated cube. -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/hello_world/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=world.o 2 | BIN=hello_world.bin 3 | 4 | include ../Makefile.include 5 | 6 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/libs/ilclient/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=ilclient.o ilcore.o 2 | LIB=libilclient.a 3 | 4 | include ../../Makefile.include 5 | 6 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/libs/vgfont/Makefile: -------------------------------------------------------------------------------- 1 | OBJS=font.o vgft.o graphics.o 2 | LIB=libvgfont.a 3 | 4 | INCLUDES+=-I$(SDKSTAGE)/usr/include/freetype2 -I$(SDKSTAGE)/usr/include -I$(SDKSTAGE)/usr/include/arm-linux-gnueabi 5 | 6 | include ../../Makefile.include 7 | 8 | -------------------------------------------------------------------------------- /device/raspberrypi/hardfp/opt/vc/src/hello_pi/rebuild.sh: -------------------------------------------------------------------------------- 1 | make -C libs/ilclient clean 2 | make -C libs/vgfont clean 3 | make -C hello_world clean 4 | make -C hello_triangle clean 5 | make -C hello_triangle2 clean 6 | make -C hello_video clean 7 | make -C hello_audio clean 8 | make -C hello_font clean 9 | make -C hello_dispmanx clean 10 | make -C hello_tiger clean 11 | make -C hello_encode clean 12 | make -C hello_jpeg clean 13 | make -C hello_videocube clean 14 | make -C hello_teapot clean 15 | make -C hello_fft clean 16 | make -C hello_mmal_encode clean 17 | 18 | make -C libs/ilclient 19 | make -C libs/vgfont 20 | make -C hello_world 21 | make -C hello_triangle 22 | make -C hello_triangle2 23 | make -C hello_video 24 | make -C hello_audio 25 | make -C hello_font 26 | make -C hello_dispmanx 27 | make -C hello_tiger 28 | make -C hello_encode 29 | make -C hello_jpeg 30 | make -C hello_videocube 31 | make -C hello_teapot 32 | make -C hello_fft 33 | make -C hello_mmal_encode 34 | 35 | -------------------------------------------------------------------------------- /device/raspberrypi/raspberrypi.cfg: -------------------------------------------------------------------------------- 1 | image boot.vfat { 2 | vfat { 3 | files = { 4 | "bcm2708-rpi-b.dtb", 5 | "bcm2708-rpi-b-plus.dtb", 6 | "bcm2708-rpi-cm.dtb", 7 | "rpi-firmware/bootcode.bin", 8 | "rpi-firmware/cmdline.txt", 9 | "rpi-firmware/config.txt", 10 | "rpi-firmware/fixup.dat", 11 | "rpi-firmware/start.elf", 12 | "kernel-marked/zImage" 13 | } 14 | } 15 | size = 32M 16 | } 17 | 18 | image sdcard.img { 19 | hdimage { 20 | } 21 | 22 | partition boot { 23 | partition-type = 0xC 24 | bootable = "true" 25 | image = "boot.vfat" 26 | } 27 | 28 | partition rootfs { 29 | partition-type = 0x83 30 | image = "rootfs.ext4" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /device/raspberrypi/raspberrypi0.cfg: -------------------------------------------------------------------------------- 1 | image boot.vfat { 2 | vfat { 3 | files = { 4 | "bcm2708-rpi-b-plus.dtb", 5 | "rpi-firmware/bootcode.bin", 6 | "rpi-firmware/cmdline.txt", 7 | "rpi-firmware/config.txt", 8 | "rpi-firmware/fixup.dat", 9 | "rpi-firmware/start.elf", 10 | "kernel-marked/zImage" 11 | } 12 | } 13 | size = 32M 14 | } 15 | 16 | image sdcard.img { 17 | hdimage { 18 | } 19 | 20 | partition boot { 21 | partition-type = 0xC 22 | bootable = "true" 23 | image = "boot.vfat" 24 | } 25 | 26 | partition rootfs { 27 | partition-type = 0x83 28 | image = "rootfs.ext4" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /device/raspberrypi/raspberrypi2.cfg: -------------------------------------------------------------------------------- 1 | image boot.vfat { 2 | vfat { 3 | files = { 4 | "bcm2709-rpi-2-b.dtb", 5 | "rpi-firmware/bootcode.bin", 6 | "rpi-firmware/cmdline.txt", 7 | "rpi-firmware/config.txt", 8 | "rpi-firmware/fixup.dat", 9 | "rpi-firmware/start.elf", 10 | "kernel-marked/zImage" 11 | } 12 | } 13 | size = 32M 14 | } 15 | 16 | image sdcard.img { 17 | hdimage { 18 | } 19 | 20 | partition boot { 21 | partition-type = 0xC 22 | bootable = "true" 23 | image = "boot.vfat" 24 | } 25 | 26 | partition rootfs { 27 | partition-type = 0x83 28 | image = "rootfs.ext4" 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /device/raspberrypi/raspberrypi3.cfg: -------------------------------------------------------------------------------- 1 | image boot.vfat { 2 | vfat { 3 | files = { 4 | "bcm2710-rpi-3-b.dtb", 5 | "bcm2837-rpi-3-b.dtb", 6 | "rpi-firmware/bootcode.bin", 7 | "rpi-firmware/cmdline.txt", 8 | "rpi-firmware/config.txt", 9 | "rpi-firmware/fixup.dat", 10 | "rpi-firmware/start.elf", 11 | "rpi-firmware/overlays", 12 | "kernel-marked/zImage" 13 | } 14 | } 15 | size = 32M 16 | } 17 | 18 | image sdcard.img { 19 | hdimage { 20 | } 21 | 22 | partition boot { 23 | partition-type = 0xC 24 | bootable = "true" 25 | image = "boot.vfat" 26 | } 27 | 28 | partition rootfs { 29 | partition-type = 0x83 30 | image = "rootfs.ext4" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /packages/acl/support-static-installation.patch: -------------------------------------------------------------------------------- 1 | Support installation of .a file when doing static linking 2 | 3 | When doing static linking (i.e ENABLE_SHARED != yes), the acl build 4 | logic wasn't installing any library at all, not even the .a file which 5 | is needed for static linking. This patch fixes that. 6 | 7 | Signed-off-by: Thomas Petazzoni 8 | 9 | Index: b/include/buildmacros 10 | =================================================================== 11 | --- a/include/buildmacros 12 | +++ b/include/buildmacros 13 | @@ -97,7 +97,15 @@ 14 | 15 | INSTALL_LTLIB_STATIC = \ 16 | cd $(TOPDIR)/$(LIBNAME)/.libs; \ 17 | - ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); 18 | + ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \ 19 | + ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).la $(PKG_DEVLIB_DIR); \ 20 | + ../$(INSTALL) -m 644 $(LIBNAME).la $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \ 21 | + ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ 22 | + ../$(INSTALL) -T so_base $(LIBNAME).la $(PKG_LIB_DIR); \ 23 | + if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \ 24 | + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ 25 | + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ 26 | + fi 27 | 28 | INSTALL_MAN = \ 29 | @for d in $(MAN_PAGES); do \ 30 | -------------------------------------------------------------------------------- /packages/attr/avoid-glibc-specific-decls-defines.patch: -------------------------------------------------------------------------------- 1 | From 667137acaffb8d0cc62b47821a67a52ba0637d5c Mon Sep 17 00:00:00 2001 2 | From: Mike Frysinger 3 | Date: Fri, 10 Jan 2014 13:56:37 +0000 4 | Subject: avoid glibc-specific DECLS defines 5 | 6 | This matches what we do in all the other headers. 7 | 8 | Signed-off-by: Thomas Petazzoni 9 | --- 10 | diff --git a/include/xattr.h b/include/xattr.h 11 | index 70a84be..070d7c5 100644 12 | --- a/include/xattr.h 13 | +++ b/include/xattr.h 14 | @@ -30,8 +30,9 @@ 15 | #define XATTR_CREATE 0x1 /* set value, fail if attr already exists */ 16 | #define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */ 17 | 18 | - 19 | -__BEGIN_DECLS 20 | +#ifdef __cplusplus 21 | +extern "C" { 22 | +#endif 23 | 24 | extern int setxattr (const char *__path, const char *__name, 25 | const void *__value, size_t __size, int __flags) __THROW; 26 | @@ -58,6 +59,8 @@ extern int removexattr (const char *__path, const char *__name) __THROW; 27 | extern int lremovexattr (const char *__path, const char *__name) __THROW; 28 | extern int fremovexattr (int __filedes, const char *__name) __THROW; 29 | 30 | -__END_DECLS 31 | +#ifdef __cplusplus 32 | +} 33 | +#endif 34 | 35 | #endif /* __XATTR_H__ */ 36 | -- 37 | cgit v0.9.0.2 38 | -------------------------------------------------------------------------------- /packages/attr/portability-fixes.patch: -------------------------------------------------------------------------------- 1 | From 92247401984dd9a80d9d0c8c030692323f980678 Mon Sep 17 00:00:00 2001 2 | From: Emmanuel Dreyfus 3 | Date: Mon, 30 Jun 2014 13:06:05 +0000 4 | Subject: Portability fixes 5 | 6 | - is Linux specific 7 | - Define __THROW for non glibc based systems 8 | 9 | Signed-off-by: Thomas Petazzoni 10 | --- 11 | (limited to 'include/xattr.h') 12 | 13 | diff --git a/include/xattr.h b/include/xattr.h 14 | index 070d7c5..fd1f268 100644 15 | --- a/include/xattr.h 16 | +++ b/include/xattr.h 17 | @@ -20,7 +20,18 @@ 18 | #ifndef __XATTR_H__ 19 | #define __XATTR_H__ 20 | 21 | +#if defined(linux) 22 | #include 23 | +#endif 24 | + 25 | +/* Portability non glibc c++ build systems */ 26 | +#ifndef __THROW 27 | +# if defined __cplusplus 28 | +# define __THROW throw () 29 | +# else 30 | +# define __THROW 31 | +# endif 32 | +#endif 33 | 34 | #include 35 | #ifndef ENOATTR 36 | -- 37 | cgit v0.9.0.2 38 | -------------------------------------------------------------------------------- /packages/attr/support-static-installation.patch: -------------------------------------------------------------------------------- 1 | Support installation of .a file when doing static linking 2 | 3 | When doing static linking (i.e ENABLE_SHARED != yes), the attr build 4 | logic wasn't installing any library at all, not even the .a file which 5 | is needed for static linking. This patch fixes that. 6 | 7 | Signed-off-by: Thomas Petazzoni 8 | 9 | Index: b/include/buildmacros 10 | =================================================================== 11 | --- a/include/buildmacros 12 | +++ b/include/buildmacros 13 | @@ -97,7 +97,15 @@ 14 | 15 | INSTALL_LTLIB_STATIC = \ 16 | cd $(TOPDIR)/$(LIBNAME)/.libs; \ 17 | - ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); 18 | + ../$(INSTALL) -m 755 -d $(PKG_DEVLIB_DIR); \ 19 | + ../$(INSTALL) -m 644 -T old_lib $(LIBNAME).la $(PKG_DEVLIB_DIR); \ 20 | + ../$(INSTALL) -m 644 $(LIBNAME).la $(PKG_DEVLIB_DIR)/$(LIBNAME).la ; \ 21 | + ../$(INSTALL) -m 755 -d $(PKG_LIB_DIR); \ 22 | + ../$(INSTALL) -T so_base $(LIBNAME).la $(PKG_LIB_DIR); \ 23 | + if test "x$(PKG_DEVLIB_DIR)" != "x$(PKG_LIB_DIR)" ; then \ 24 | + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).a $(PKG_LIB_DIR)/$(LIBNAME).a; \ 25 | + ../$(INSTALL) -S $(PKG_DEVLIB_DIR)/$(LIBNAME).la $(PKG_LIB_DIR)/$(LIBNAME).la; \ 26 | + fi 27 | 28 | INSTALL_MAN = \ 29 | @for d in $(MAN_PAGES); do \ 30 | -------------------------------------------------------------------------------- /packages/automake/automake-fix-help2man.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- Makefile.in.orig 2017-06-19 02:35:04.000000000 +0900 4 | +++ Makefile.in 2017-10-03 15:23:04.603772413 +0900 5 | @@ -710,7 +710,7 @@ 6 | $(AM_V_GEN): \ 7 | && $(MKDIR_P) doc \ 8 | && $(extend_PATH) \ 9 | - && $(PERL) $(srcdir)/doc/help2man --output=$@ 10 | + && $(PERL) $(srcdir)/doc/help2man --output=$@ --no-discard-stderr 11 | 12 | amhello_sources = \ 13 | doc/amhello/configure.ac \ 14 | -------------------------------------------------------------------------------- /packages/bc/array_initialize.patch: -------------------------------------------------------------------------------- 1 | Description: Fix array initialization bug 2 | Author: Phil Nelson 3 | Origin: upstream 4 | Bug-Debian: http://bugs.debian.org/586969 5 | Bug-Debian: http://bugs.debian.org/671513 6 | --- 7 | This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ 8 | Index: bc/bc/storage.c 9 | =================================================================== 10 | --- bc.orig/bc/storage.c 2013-06-02 20:34:09.401273864 -0400 11 | +++ bc/bc/storage.c 2013-06-02 20:34:11.000000000 -0400 12 | @@ -179,7 +179,7 @@ 13 | 14 | 15 | /* Initialize the new elements. */ 16 | - for (; indx < v_count; indx++) 17 | + for (; indx < a_count; indx++) 18 | arrays[indx] = NULL; 19 | 20 | /* Free the old elements. */ 21 | -------------------------------------------------------------------------------- /packages/bc/use_appropiate_makeinfo.patch: -------------------------------------------------------------------------------- 1 | Use the appropiate MAKEINFO variable rather than the hardcoded makeinfo 2 | command directly, otherwise missing logic never works. 3 | 4 | Signed-off-by: Gustavo Zacarias 5 | 6 | diff -Nura bc-1.06.95.orig/doc/Makefile.in bc-1.06.95/doc/Makefile.in 7 | --- bc-1.06.95.orig/doc/Makefile.in 2015-06-13 09:39:46.946620294 -0300 8 | +++ bc-1.06.95/doc/Makefile.in 2015-06-13 09:40:10.019407630 -0300 9 | @@ -96,7 +96,7 @@ 10 | LIBOBJS = @LIBOBJS@ 11 | LIBS = @LIBS@ 12 | LTLIBOBJS = @LTLIBOBJS@ 13 | -MAKEINFO = makeinfo --no-split 14 | +MAKEINFO = @MAKEINFO@ --no-split 15 | OBJEXT = @OBJEXT@ 16 | PACKAGE = @PACKAGE@ 17 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 18 | -------------------------------------------------------------------------------- /packages/binutils/Fixes-LINKER-BUG-.rofixup-section-size-mismatch.patch: -------------------------------------------------------------------------------- 1 | From 122de3b633f4273826a2d01702d7c515f93ec2be Mon Sep 17 00:00:00 2001 2 | From: Waldemar Brodkorb 3 | Date: Sat, 29 Jul 2017 14:08:20 +0200 4 | Subject: [PATCH] Fixes: LINKER BUG: .rofixup section size mismatch 5 | 6 | Workaround from adi-toolchain commit: 7 | af414ec1fb628ddb1562f062f3db49823ca14ca2 8 | [#6798] binutils-2.21/bfd: temp workaround for rofixup mismatch errors. 9 | 10 | Signed-off-by: Waldemar Brodkorb 11 | --- 12 | bfd/elf32-bfin.c | 3 ++- 13 | 1 file changed, 2 insertions(+), 1 deletion(-) 14 | 15 | diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c 16 | index b3e09bd..660eec5 100644 17 | --- a/bfd/elf32-bfin.c 18 | +++ b/bfd/elf32-bfin.c 19 | @@ -4845,7 +4845,8 @@ bfinfdpic_check_relocs (bfd *abfd, struct bfd_link_info *info, 20 | 21 | case R_BFIN_FUNCDESC: 22 | picrel->fd++; 23 | - picrel->relocsfd++; 24 | + if (bfd_get_section_flags (abfd, sec) & SEC_ALLOC) 25 | + picrel->relocsfd++; 26 | break; 27 | 28 | /* This relocation describes the C++ object vtable hierarchy. 29 | -- 30 | 2.9.4 31 | 32 | -------------------------------------------------------------------------------- /packages/binutils/check-ldrunpath-length.patch: -------------------------------------------------------------------------------- 1 | From 3bd211025c890ef2971958915d500a9bb2913a2a Mon Sep 17 00:00:00 2001 2 | From: Romain Naour 3 | Date: Fri, 25 Dec 2015 11:41:47 +0100 4 | Subject: [PATCH] check-ldrunpath-length 5 | 6 | [Romain: rebase on top of 2.26] 7 | Signed-off-by: Romain Naour 8 | --- 9 | ld/emultempl/elf32.em | 4 ++++ 10 | 1 file changed, 4 insertions(+) 11 | 12 | diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em 13 | index d2551b6..70fcb56 100644 14 | --- a/ld/emultempl/elf32.em 15 | +++ b/ld/emultempl/elf32.em 16 | @@ -1463,6 +1463,8 @@ fragment <link.next) 33 | if (bfd_get_flavour (abfd) == bfd_target_elf_flavour) 34 | -- 35 | 2.9.4 36 | 37 | -------------------------------------------------------------------------------- /packages/binutils/ld-makefile.patch: -------------------------------------------------------------------------------- 1 | From d4e18ebc6ad810167a2de84b185a5f0d65b9ec2d Mon Sep 17 00:00:00 2001 2 | From: Romain Naour 3 | Date: Fri, 25 Dec 2015 11:40:53 +0100 4 | Subject: [PATCH] ld-makefile 5 | 6 | [Romain: rebase on top of 2.26] 7 | Signed-off-by: Romain Naour 8 | --- 9 | ld/Makefile.am | 2 +- 10 | ld/Makefile.in | 2 +- 11 | 2 files changed, 2 insertions(+), 2 deletions(-) 12 | 13 | diff --git a/ld/Makefile.am b/ld/Makefile.am 14 | index 625347f..d5334d2 100644 15 | --- a/ld/Makefile.am 16 | +++ b/ld/Makefile.am 17 | @@ -57,7 +57,7 @@ endif 18 | # We put the scripts in the directory $(scriptdir)/ldscripts. 19 | # We can't put the scripts in $(datadir) because the SEARCH_DIR 20 | # directives need to be different for native and cross linkers. 21 | -scriptdir = $(tooldir)/lib 22 | +scriptdir = $(libdir) 23 | 24 | EMUL = @EMUL@ 25 | EMULATION_OFILES = @EMULATION_OFILES@ 26 | diff --git a/ld/Makefile.in b/ld/Makefile.in 27 | index ba25177..a2cf228 100644 28 | --- a/ld/Makefile.in 29 | +++ b/ld/Makefile.in 30 | @@ -446,7 +446,7 @@ AM_CFLAGS = $(WARN_CFLAGS) $(ELF_CLFAGS) 31 | # We put the scripts in the directory $(scriptdir)/ldscripts. 32 | # We can't put the scripts in $(datadir) because the SEARCH_DIR 33 | # directives need to be different for native and cross linkers. 34 | -scriptdir = $(tooldir)/lib 35 | +scriptdir = $(libdir) 36 | BASEDIR = $(srcdir)/.. 37 | BFDDIR = $(BASEDIR)/bfd 38 | INCDIR = $(BASEDIR)/include 39 | -- 40 | 2.9.4 41 | 42 | -------------------------------------------------------------------------------- /packages/binutils/sh-conf.patch: -------------------------------------------------------------------------------- 1 | From fdb0d1d63d8dc30b319db174f2a90e681d8cd2ed Mon Sep 17 00:00:00 2001 2 | From: Romain Naour 3 | Date: Fri, 25 Dec 2015 11:38:13 +0100 4 | Subject: [PATCH] sh-conf 5 | 6 | Likewise, binutils has no idea about any of these new targets either, so we 7 | fix that up too.. now we're able to actually build a real toolchain for 8 | sh2a_nofpu- and other more ineptly named toolchains (and yes, there are more 9 | inept targets than that one, really. Go look, I promise). 10 | 11 | [Romain: rebase on top of 2.26] 12 | Signed-off-by: Romain Naour 13 | [Thomas: rebase on top of 2.29, in which sh64 support was removed.] 14 | Signed-off-by: Thomas Petazzoni 15 | --- 16 | configure | 2 +- 17 | configure.ac | 2 +- 18 | 2 files changed, 2 insertions(+), 2 deletions(-) 19 | 20 | diff --git a/configure b/configure 21 | index be9dd89..3c0f4c6 100755 22 | --- a/configure 23 | +++ b/configure 24 | @@ -3844,7 +3844,7 @@ case "${target}" in 25 | or1k*-*-*) 26 | noconfigdirs="$noconfigdirs gdb" 27 | ;; 28 | - sh-*-*) 29 | + sh*-*-*) 30 | case "${target}" in 31 | sh*-*-elf) 32 | ;; 33 | diff --git a/configure.ac b/configure.ac 34 | index 532c5c2..4f40318 100644 35 | --- a/configure.ac 36 | +++ b/configure.ac 37 | @@ -1178,7 +1178,7 @@ case "${target}" in 38 | or1k*-*-*) 39 | noconfigdirs="$noconfigdirs gdb" 40 | ;; 41 | - sh-*-*) 42 | + sh*-*-*) 43 | case "${target}" in 44 | sh*-*-elf) 45 | ;; 46 | -- 47 | 2.9.4 48 | 49 | -------------------------------------------------------------------------------- /packages/binutils/xtensa-fix-memory-corruption-by-broken-sysregs.patch: -------------------------------------------------------------------------------- 1 | From 3c8788dbb70b40e737d4b8e30cab81406e5c5091 Mon Sep 17 00:00:00 2001 2 | From: Max Filippov 3 | Date: Wed, 2 Aug 2017 00:36:05 -0700 4 | Subject: [PATCH] xtensa: fix memory corruption by broken sysregs 5 | 6 | In some xtensa configurations there may be system/user registers in 7 | xtensa-modules with negative index. ISA initialization for such config 8 | may clobber heap and result in program termination. 9 | Don't update lookup table entries for register with negative indices. 10 | They are not directly accessible via RSR/WSR/XSR or RUR/WUR, so this 11 | change should not affect processing of valid assembly/binary code. 12 | 13 | bfd/ 14 | 2017-08-02 Max Filippov 15 | 16 | * xtensa-isa.c (xtensa_isa_init): Don't update lookup table 17 | entries for sysregs with negative indices. 18 | 19 | Signed-off-by: Max Filippov 20 | --- 21 | Backported from: d84ed528d4817b0ff854006b65a9f6ec75f0407a 22 | 23 | bfd/xtensa-isa.c | 3 ++- 24 | 1 file changed, 2 insertions(+), 1 deletion(-) 25 | 26 | diff --git a/bfd/xtensa-isa.c b/bfd/xtensa-isa.c 27 | index 8da75bea8109..8c6ee88fdeae 100644 28 | --- a/bfd/xtensa-isa.c 29 | +++ b/bfd/xtensa-isa.c 30 | @@ -292,7 +292,8 @@ xtensa_isa_init (xtensa_isa_status *errno_p, char **error_msg_p) 31 | xtensa_sysreg_internal *sreg = &isa->sysregs[n]; 32 | is_user = sreg->is_user; 33 | 34 | - isa->sysreg_table[is_user][sreg->number] = n; 35 | + if (sreg->number >= 0) 36 | + isa->sysreg_table[is_user][sreg->number] = n; 37 | } 38 | 39 | /* Set up the interface lookup table. */ 40 | -- 41 | 2.1.4 42 | 43 | -------------------------------------------------------------------------------- /packages/cacerts/ca-certificates_20161130.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/cacerts/ca-certificates_20161130.tar.xz -------------------------------------------------------------------------------- /packages/debianutils/debianutils_4.8.1.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/debianutils/debianutils_4.8.1.tar.xz -------------------------------------------------------------------------------- /packages/dhcpcd/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := dhcpcd 4 | SOURCE := $(PACKAGES_DIR)/dhcpcd/dhcpcd-6.11.5.tar.xz 5 | SOURCE_URL := http://roy.marples.name/downloads/dhcpcd/dhcpcd-6.11.5.tar.xz 6 | MD5 := 2465624b62c1154f0e89dc69c42c849b 7 | 8 | system: 9 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 10 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 11 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 12 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 13 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 14 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 15 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 16 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 17 | @$(STEP) "dhcpcd 6.11.5" 18 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 19 | @$(call system_dependencies, $(TARGET_DEPENDENCIES)) 20 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 21 | @( cd $(BUILD_DIR)/dhcpcd-6.11.5 && \ 22 | CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc \ 23 | CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ \ 24 | AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar \ 25 | AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as \ 26 | LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld \ 27 | RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib \ 28 | READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf \ 29 | STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip \ 30 | CXX=false \ 31 | ./configure \ 32 | --os=linux \ 33 | --libexecdir=/lib/dhcpcd ) 34 | @make -j$(CONFIG_PARALLEL_JOBS) all -C $(BUILD_DIR)/dhcpcd-6.11.5 35 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/dhcpcd-6.11.5 36 | @rm -rf $(BUILD_DIR)/dhcpcd-6.11.5 37 | @echo $(NAME) >> $(SYSTEM_DEPENDENCIES) 38 | -------------------------------------------------------------------------------- /packages/dhcpcd/dhcpcd-6.11.5.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/dhcpcd/dhcpcd-6.11.5.tar.xz -------------------------------------------------------------------------------- /packages/diffutils/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/diffutils-3.6.tar.xz 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/diffutils/diffutils-3.6.tar.xz 5 | MD5 := 07cf286672ced26fba54cd0313bdc071 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "diffutils 3.6" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/diffutils-3.6 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr ) 25 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/diffutils-3.6 26 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/diffutils-3.6 27 | @rm -rf $(BUILD_DIR)/diffutils-3.6 28 | -------------------------------------------------------------------------------- /packages/epdfview/epdfview-0.1.8.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/epdfview/epdfview-0.1.8.tar.bz2 -------------------------------------------------------------------------------- /packages/epdfview/epdfview-aarch64-system-support.patch: -------------------------------------------------------------------------------- 1 | --- config.sub.orig 2011-05-28 19:25:30.000000000 +0900 2 | +++ config.sub 2017-10-06 22:45:34.972291318 +0900 3 | @@ -247,6 +247,7 @@ 4 | # Some are omitted here because they have special meanings below. 5 | 1750a | 580 \ 6 | | a29k \ 7 | + | aarch64 | aarch64_be \ 8 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 9 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 10 | | am33_2.0 \ 11 | @@ -339,6 +340,7 @@ 12 | # Recognize the basic CPU types with company name. 13 | 580-* \ 14 | | a29k-* \ 15 | + | aarch64-* | aarch64_be-* \ 16 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 17 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 18 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 19 | 20 | --- config.guess.orig 2011-05-28 19:25:30.000000000 +0900 21 | +++ config.guess 2017-10-06 22:45:59.544104682 +0900 22 | @@ -881,6 +881,13 @@ 23 | i*86:Minix:*:*) 24 | echo ${UNAME_MACHINE}-pc-minix 25 | exit ;; 26 | + aarch64:Linux:*:*) 27 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 28 | + exit ;; 29 | + aarch64_be:Linux:*:*) 30 | + UNAME_MACHINE=aarch64_be 31 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 32 | + exit ;; 33 | alpha:Linux:*:*) 34 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 35 | EV5) UNAME_MACHINE=alphaev5 ;; 36 | -------------------------------------------------------------------------------- /packages/epiphany/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/epiphany-3.24.2.tar.xz 4 | SOURCE_URL := ftp://ftp.gnome.org/pub/gnome/sources/epiphany/3.24/epiphany-3.24.2.tar.xz 5 | MD5 := e035dc6f64f0c1909de823e03f16b2f3 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "epiphany 3.24.2" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/epiphany-3.24.2 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr ) 25 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/epiphany-3.24.2 26 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/epiphany-3.24.2 27 | @rm -rf $(BUILD_DIR)/epiphany-3.24.2 28 | -------------------------------------------------------------------------------- /packages/exo/exo-0.10.7-build-system-fixes-for-cross-compilation.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- configure.orig 2017-08-25 03:02:19.860858131 +0900 4 | +++ configure 2017-08-25 03:04:52.194451310 +0900 5 | @@ -13885,7 +13885,7 @@ 6 | fi 7 | rm -f conftest.mmap conftest.txt 8 | 9 | - 10 | +cross_compiling=no 11 | if test "$cross_compiling" = yes; then : 12 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14 | -------------------------------------------------------------------------------- /packages/fakeroot/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := fakeroot 4 | SOURCE := $(PACKAGES_DIR)/fakeroot/fakeroot_1.20.2.orig.tar.bz2 5 | SOURCE_URL := http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.20.2.orig.tar.bz2 6 | MD5 := a4b4564a75024aa96c86e4d1017ac786 7 | 8 | toolchain: 9 | @$(STEP) "fakeroot 1.20.2" 10 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 11 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 12 | @( cd $(BUILD_DIR)/fakeroot-1.20.2 && \ 13 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 14 | PKG_CONFIG_SYSROOT_DIR="/" \ 15 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 16 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 17 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 18 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 19 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 20 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 22 | CONFIG_SITE=/dev/null \ 23 | ./configure \ 24 | --prefix=$(TOOLS_DIR) \ 25 | --sysconfdir=$(TOOLS_DIR)/etc \ 26 | --localstatedir=$(TOOLS_DIR)/var \ 27 | --enable-shared \ 28 | --disable-static ) 29 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/fakeroot-1.20.2 30 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/fakeroot-1.20.2 31 | @rm -rf $(BUILD_DIR)/fakeroot-1.20.2 32 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 33 | -------------------------------------------------------------------------------- /packages/fakeroot/fakeroot_1.20.2.orig.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/fakeroot/fakeroot_1.20.2.orig.tar.bz2 -------------------------------------------------------------------------------- /packages/findutils/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/findutils-4.6.0.tar.gz 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/findutils/findutils-4.6.0.tar.gz 5 | MD5 := 9936aa8009438ce185bea2694a997fc1 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "findutils 4.6.0" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/findutils-4.6.0 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr \ 25 | --localstatedir=/var/lib/locate ) 26 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/findutils-4.6.0 27 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/findutils-4.6.0 28 | @mv -v $(ROOTFS_DIR)/usr/bin/find $(ROOTFS_DIR)/bin 29 | @sed -i 's/find:=${BINDIR}/find:=\/bin/' $(ROOTFS_DIR)/usr/bin/updatedb 30 | @rm -rf $(BUILD_DIR)/findutils-4.6.0 31 | -------------------------------------------------------------------------------- /packages/flex/flex-disable-documentation.patch: -------------------------------------------------------------------------------- 1 | flex: disable documentation 2 | 3 | Since we prevent the flex binary to be built, we also need to prevent 4 | the documentation to be built, otherwise it will fail like this: 5 | 6 | Making all in doc 7 | make[2]: Entering directory '/br/output/build/flex-2.6.4/doc' 8 | make[2]: *** No rule to make target '../src/flex', needed by 'flex.1'. 9 | Stop. 10 | 11 | Signed-off-by: Vicente Olivert Riera 12 | 13 | diff -rup a/Makefile.in b/Makefile.in 14 | --- a/Makefile.in 2017-05-06 15:49:09.000000000 +0100 15 | +++ b/Makefile.in 2017-05-10 14:35:20.152794902 +0100 16 | @@ -450,7 +450,6 @@ EXTRA_DIST = \ 17 | 18 | SUBDIRS = \ 19 | src \ 20 | - doc \ 21 | examples \ 22 | po \ 23 | tests \ 24 | -------------------------------------------------------------------------------- /packages/gcc/arm-softfloat-libgcc.patch: -------------------------------------------------------------------------------- 1 | From 420a304ac0daa29d66da6ed5b0b49fc4c482d522 Mon Sep 17 00:00:00 2001 2 | From: Romain Naour 3 | Date: Tue, 2 May 2017 22:46:18 +0200 4 | Subject: [PATCH] arm softfloat libgcc 5 | 6 | [Romain: convert to git patch] 7 | Signed-off-by: Romain Naour 8 | --- 9 | gcc/config/arm/linux-elf.h | 2 +- 10 | libgcc/config/arm/t-linux | 7 ++++++- 11 | 2 files changed, 7 insertions(+), 2 deletions(-) 12 | 13 | diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h 14 | index 3d62367..dad0b97 100644 15 | --- a/gcc/config/arm/linux-elf.h 16 | +++ b/gcc/config/arm/linux-elf.h 17 | @@ -58,7 +58,7 @@ 18 | %{shared:-lc} \ 19 | %{!shared:%{profile:-lc_p}%{!profile:-lc}}" 20 | 21 | -#define LIBGCC_SPEC "%{mfloat-abi=soft*:-lfloat} -lgcc" 22 | +#define LIBGCC_SPEC "-lgcc" 23 | 24 | #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2" 25 | 26 | diff --git a/libgcc/config/arm/t-linux b/libgcc/config/arm/t-linux 27 | index 3d520de..e7bc042 100644 28 | --- a/libgcc/config/arm/t-linux 29 | +++ b/libgcc/config/arm/t-linux 30 | @@ -1,6 +1,11 @@ 31 | LIB1ASMSRC = arm/lib1funcs.S 32 | LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx _clzsi2 _clzdi2 \ 33 | - _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 34 | + _ctzsi2 _arm_addsubdf3 _arm_addsubsf3 \ 35 | + _arm_addsubdf3 _arm_addsubsf3 \ 36 | + _arm_negdf2 _arm_muldivdf3 _arm_cmpdf2 _arm_unorddf2 \ 37 | + _arm_fixdfsi _arm_fixunsdfsi _arm_truncdfsf2 \ 38 | + _arm_negsf2 _arm_muldivsf3 _arm_cmpsf2 _arm_unordsf2 \ 39 | + _arm_fixsfsi _arm_fixunssfsi 40 | 41 | # Just for these, we omit the frame pointer since it makes such a big 42 | # difference. 43 | -- 44 | 2.9.3 45 | 46 | -------------------------------------------------------------------------------- /packages/gcc/microblaze-Revert.patch: -------------------------------------------------------------------------------- 1 | From 707a69dfb56a2976e2b5c010f0e5cb2ac9905a07 Mon Sep 17 00:00:00 2001 2 | From: eager 3 | Date: Sat, 27 May 2017 18:29:40 +0000 4 | Subject: [PATCH] Revert: 2016-01-21 Ajit Agarwal 5 | 6 | 7 | See https://gcc.gnu.org/ml/gcc/2017-05/msg00221.html. 8 | 9 | * config/microblaze/microblaze.h 10 | (FIXED_REGISTERS): Update in macro. 11 | (CALL_USED_REGISTERS): Update in macro. 12 | 13 | 14 | 15 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248540 138bc75d-0d04-0410-961f-82ee72b054a4 16 | Signed-off-by: Waldemar Brodkorb 17 | diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h 18 | index 66e4ef5..2c9ece1 100644 19 | --- a/gcc/config/microblaze/microblaze.h 20 | +++ b/gcc/config/microblaze/microblaze.h 21 | @@ -269,14 +269,14 @@ extern enum pipeline_type microblaze_pipe; 22 | #define FIXED_REGISTERS \ 23 | { \ 24 | 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, \ 25 | - 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 26 | + 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 27 | 1, 1, 1, 1 \ 28 | } 29 | 30 | #define CALL_USED_REGISTERS \ 31 | { \ 32 | 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 33 | - 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 34 | + 1, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, \ 35 | 1, 1, 1, 1 \ 36 | } 37 | #define GP_REG_FIRST 0 38 | -- 39 | 2.1.4 40 | 41 | -------------------------------------------------------------------------------- /packages/genimage/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := genimage 4 | HOST_DEPENDENCIES := pkgconf libconfuse 5 | SOURCE := $(SOURCES_DIR)/genimage-9.tar.xz 6 | SOURCE_URL := http://public.pengutronix.de/software/genimage/genimage-9.tar.xz 7 | MD5 := 5ad1f651ea9b5678d55c18c693c73e7d 8 | 9 | toolchain: 10 | @$(STEP) "genimage 9" 11 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 12 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 14 | @( cd $(BUILD_DIR)/genimage-9 && \ 15 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 16 | PKG_CONFIG_SYSROOT_DIR="/" \ 17 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 18 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 19 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 20 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 21 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 23 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 24 | CONFIG_SITE=/dev/null \ 25 | ./configure \ 26 | --prefix=$(TOOLS_DIR) \ 27 | --sysconfdir=$(TOOLS_DIR)/etc \ 28 | --localstatedir=$(TOOLS_DIR)/var \ 29 | --enable-shared \ 30 | --disable-static ) 31 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/genimage-9 32 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/genimage-9 33 | @rm -rf $(BUILD_DIR)/genimage-9 34 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 35 | -------------------------------------------------------------------------------- /packages/glibc/CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch: -------------------------------------------------------------------------------- 1 | From f6110a8fee2ca36f8e2d2abecf3cba9fa7b8ea7d Mon Sep 17 00:00:00 2001 2 | From: Florian Weimer 3 | Date: Mon, 19 Jun 2017 17:09:55 +0200 4 | Subject: [PATCH] CVE-2017-1000366: Ignore LD_LIBRARY_PATH for AT_SECURE=1 5 | programs [BZ #21624] 6 | 7 | LD_LIBRARY_PATH can only be used to reorder system search paths, which 8 | is not useful functionality. 9 | 10 | This makes an exploitable unbounded alloca in _dl_init_paths unreachable 11 | for AT_SECURE=1 programs. 12 | 13 | [Peter: Drop ChangeLog modification] 14 | Signed-off-by: Peter Korsgaard 15 | --- 16 | elf/rtld.c | 3 ++- 17 | 1 file changed, 8 insertions(+), 1 deletion(-) 18 | 19 | diff --git a/elf/rtld.c b/elf/rtld.c 20 | index 2446a87680..2269dbec81 100644 21 | --- a/elf/rtld.c 22 | +++ b/elf/rtld.c 23 | @@ -2422,7 +2422,8 @@ process_envvars (enum mode *modep) 24 | 25 | case 12: 26 | /* The library search path. */ 27 | - if (memcmp (envline, "LIBRARY_PATH", 12) == 0) 28 | + if (!__libc_enable_secure 29 | + && memcmp (envline, "LIBRARY_PATH", 12) == 0) 30 | { 31 | library_path = &envline[13]; 32 | break; 33 | -- 34 | 2.11.0 35 | 36 | -------------------------------------------------------------------------------- /packages/glibc/ld.so.conf: -------------------------------------------------------------------------------- 1 | # Begin /etc/ld.so.conf 2 | /usr/local/lib 3 | /opt/lib 4 | 5 | # Add an include directory 6 | include /etc/ld.so.conf.d/*.conf 7 | -------------------------------------------------------------------------------- /packages/glibc/nsswitch.conf: -------------------------------------------------------------------------------- 1 | # Begin /etc/nsswitch.conf 2 | 3 | passwd: files 4 | group: files 5 | shadow: files 6 | 7 | hosts: files dns 8 | networks: files 9 | 10 | protocols: files 11 | services: files 12 | ethers: files 13 | rpc: files 14 | 15 | # End /etc/nsswitch.conf 16 | -------------------------------------------------------------------------------- /packages/grep/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/grep-3.0.tar.xz 4 | SOURCE_URL := http://ftp.gnu.org/gnu/grep/grep-3.0.tar.xz 5 | MD5 := fa07c1616adeb9c3262be5177d10ad4a 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "grep 3.0" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/grep-3.0 && \ 20 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 21 | ac_cv_lbl_unaligned_fail=yes \ 22 | ac_cv_func_mmap_fixed_mapped=yes \ 23 | ac_cv_func_memcmp_working=yes \ 24 | ac_cv_have_decl_malloc=yes \ 25 | gl_cv_func_malloc_0_nonnull=yes \ 26 | ac_cv_func_malloc_0_nonnull=yes \ 27 | ac_cv_func_calloc_0_nonnull=yes \ 28 | ac_cv_func_realloc_0_nonnull=yes \ 29 | lt_cv_sys_lib_search_path_spec="" \ 30 | ac_cv_c_bigendian=no \ 31 | CONFIG_SITE=/dev/null \ 32 | ./configure \ 33 | --target=$(CONFIG_TARGET) \ 34 | --host=$(CONFIG_TARGET) \ 35 | --build=$(CONFIG_HOST) \ 36 | --prefix=/usr \ 37 | --bindir=/bin \ 38 | --disable-static \ 39 | --enable-shared ) 40 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/grep-3.0 41 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/grep-3.0 42 | @rm -rf $(BUILD_DIR)/grep-3.0 43 | -------------------------------------------------------------------------------- /packages/help2man/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/help2man-1.47.5.tar.xz 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/help2man/help2man-1.47.5.tar.xz 5 | MD5 := 1c886063c9e0ab463906de804596aa2f 6 | 7 | toolchain: 8 | @$(STEP) "help2man 1.47.5" 9 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 10 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 11 | @( cd $(BUILD_DIR)/help2man-1.47.5 && \ 12 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 13 | PKG_CONFIG_SYSROOT_DIR="/" \ 14 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 15 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 16 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 17 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 18 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 19 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 20 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 21 | MAKEINFO=true \ 22 | CONFIG_SITE=/dev/null \ 23 | ./configure \ 24 | --prefix=$(TOOLS_DIR) \ 25 | --sysconfdir=$(TOOLS_DIR)/etc \ 26 | --localstatedir=$(TOOLS_DIR)/var \ 27 | --enable-shared \ 28 | --disable-static ) 29 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/help2man-1.47.5 30 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/help2man-1.47.5 31 | @rm -rf $(BUILD_DIR)/help2man-1.47.5 32 | -------------------------------------------------------------------------------- /packages/iana-etc/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := iana-etc 4 | SOURCE := $(PACKAGES_DIR)/iana-etc/iana-etc-2.30.tar.bz2 5 | SOURCE_URL := http://anduin.linuxfromscratch.org/LFS/iana-etc-2.30.tar.bz2 6 | MD5 := 3ba3afb1d1b261383d247f46cb135ee8 7 | 8 | system: 9 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 10 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 11 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 12 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 13 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 14 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 15 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 16 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 17 | @$(STEP) "iana-etc 2.30" 18 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 19 | @$(call system_dependencies, $(TARGET_DEPENDENCIES)) 20 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 21 | @patch -Np1 -i $(PACKAGES_DIR)/iana-etc/iana-etc-2.30-update-2.patch -d $(BUILD_DIR)/iana-etc-2.30 22 | @make -j$(CONFIG_PARALLEL_JOBS) get -C $(BUILD_DIR)/iana-etc-2.30 23 | @make -j$(CONFIG_PARALLEL_JOBS) STRIP=yes -C $(BUILD_DIR)/iana-etc-2.30 24 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/iana-etc-2.30 25 | @rm -rf $(BUILD_DIR)/iana-etc-2.30 26 | @echo $(NAME) >> $(SYSTEM_DEPENDENCIES) 27 | -------------------------------------------------------------------------------- /packages/iana-etc/iana-etc-2.30.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/iana-etc/iana-etc-2.30.tar.bz2 -------------------------------------------------------------------------------- /packages/icu/dont-build-static-dynamic-twice.patch: -------------------------------------------------------------------------------- 1 | Don't build object files twice 2 | 3 | When passed --enable-static and --enable-shared, icu will generate 4 | both a shared and a static version of its libraries. 5 | 6 | However, in order to do so, it builds each and every object file 7 | twice: once with -fPIC (for the shared library), and once without 8 | -fPIC (for the static library). While admittedly building -fPIC for a 9 | static library generates a slightly suboptimal code, this is what all 10 | the autotools-based project are doing. They build each object file 11 | once, and they use it for both the static and shared libraries. 12 | 13 | icu builds the object files for the shared library as .o files, and 14 | the object files for static library as .ao files. By simply changing 15 | the suffix of object files used for static libraries to ".o", we tell 16 | icu to use the ones built for the shared library (i.e, with -fPIC), 17 | and avoid the double build of icu. 18 | 19 | On a fast build server, this brings the target icu build from 20 | 3m41.302s down to 1m43.926s (approximate numbers: some other builds 21 | are running on the system at the same time). 22 | 23 | Signed-off-by: Thomas Petazzoni 24 | 25 | Index: b/source/config/mh-linux 26 | =================================================================== 27 | --- a/source/config/mh-linux 28 | +++ b/source/config/mh-linux 29 | @@ -35,7 +35,7 @@ 30 | ## Shared object suffix 31 | SO = so 32 | ## Non-shared intermediate object suffix 33 | -STATIC_O = ao 34 | +STATIC_O = o 35 | 36 | ## Compilation rules 37 | %.$(STATIC_O): $(srcdir)/%.c 38 | -------------------------------------------------------------------------------- /packages/icu/fix-static-linking-with-icu-uc.patch: -------------------------------------------------------------------------------- 1 | From ffff12fd321c7a056e796e74cc508726b0626ae0 Mon Sep 17 00:00:00 2001 2 | From: Romain Naour 3 | Date: Wed, 22 Jul 2015 22:43:25 +0200 4 | Subject: [PATCH] fix static linking with icu-uc 5 | 6 | During static linking with a C application and libicuuc.a, 7 | -lstdc++ is required. 8 | 9 | Add -lstdc++ in Libs.private of icu-uc.pc. 10 | 11 | Fixes: 12 | http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/ 13 | 14 | Signed-off-by: Romain Naour 15 | --- 16 | source/Makefile.in | 2 +- 17 | 1 file changed, 1 insertion(+), 1 deletion(-) 18 | 19 | diff --git a/source/Makefile.in b/source/Makefile.in 20 | index 9db6c52..ca48e16 100644 21 | --- a/source/Makefile.in 22 | +++ b/source/Makefile.in 23 | @@ -264,7 +264,7 @@ config/icu-uc.pc: config/icu.pc Makefile icudefs.mk 24 | @echo "Description: $(PACKAGE_ICU_DESCRIPTION): Common and Data libraries" >> $@ 25 | @echo "Name: $(PACKAGE)-uc" >> $@ 26 | @echo "Libs:" '-L$${libdir}' "${ICULIBS_UC}" "${ICULIBS_DT}" >> $@ 27 | - @echo "Libs.private:" '$${baselibs}' >> $@ 28 | + @echo "Libs.private:" '$${baselibs}' -lstdc++ >> $@ 29 | @echo $@ updated. 30 | 31 | config/icu-i18n.pc: config/icu.pc Makefile icudefs.mk 32 | -- 33 | 2.4.3 34 | 35 | -------------------------------------------------------------------------------- /packages/icu/link-icudata-as-data-only.patch: -------------------------------------------------------------------------------- 1 | From d5d0c4bb7cc9aa4a132ec0bea13255aee50c1cf9 Mon Sep 17 00:00:00 2001 2 | From: Maxime Hadjinlian 3 | Date: Fri, 6 Jun 2014 14:55:58 +0200 4 | Subject: [PATCH] Don't link icudata as a data only library 5 | 6 | This patch cames straight from Debian. It fixes an issue when 7 | libicudata would not have some flags indicating it's EABIhf, causing 8 | applications linked against libicudata to not start on EABIhf 9 | systems. Getting rid of the -nodefaultlibs -nostdlib flags solves the 10 | problem, and is the solution that is used by Debian, see 11 | https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457. 12 | 13 | Signed-off-by: Maxime Hadjinlian 14 | --- 15 | source/config/mh-linux | 4 +++- 16 | 1 file changed, 3 insertions(+), 1 deletion(-) 17 | 18 | diff --git a/source/config/mh-linux b/source/config/mh-linux 19 | index 531a3b2..5a2a7c4 100644 20 | --- a/source/config/mh-linux 21 | +++ b/source/config/mh-linux 22 | @@ -21,7 +21,9 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN 23 | LD_RPATH_PRE = -Wl,-rpath, 24 | 25 | ## These are the library specific LDFLAGS 26 | -LDFLAGSICUDT=-nodefaultlibs -nostdlib 27 | +#LDFLAGSICUDT=-nodefaultlibs -nostdlib 28 | +# Debian change: linking icudata as data only causes too many problems. 29 | +LDFLAGSICUDT= 30 | 31 | ## Compiler switch to embed a library name 32 | # The initial tab in the next line is to prevent icu-config from reading it. 33 | -- 34 | 2.0.0.rc2 35 | 36 | -------------------------------------------------------------------------------- /packages/ifupdown/dont-use-dpkg-architecture.patch: -------------------------------------------------------------------------------- 1 | Drop the need for dpkg-architecture, we only build for linux. 2 | Thanks to Károly Kasza for catching this one. 3 | 4 | Signed-off-by: Gustavo Zacarias 5 | 6 | diff -Nura ifupdown.orig/defn2c.pl ifupdown/defn2c.pl 7 | --- ifupdown.orig/defn2c.pl 2014-11-18 16:39:28.878772655 -0300 8 | +++ ifupdown/defn2c.pl 2014-11-18 16:43:41.120456676 -0300 9 | @@ -2,7 +2,7 @@ 10 | 11 | use strict; 12 | 13 | -my $DEB_HOST_ARCH_OS = `dpkg-architecture -qDEB_HOST_ARCH_OS`; 14 | +my $DEB_HOST_ARCH_OS = "linux"; 15 | 16 | $DEB_HOST_ARCH_OS =~ s/\n//; 17 | 18 | -------------------------------------------------------------------------------- /packages/ifupdown/ifupdown_0.8.16.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/ifupdown/ifupdown_0.8.16.tar.xz -------------------------------------------------------------------------------- /packages/imlib2/imlib2-1.4.10.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/imlib2/imlib2-1.4.10.tar.bz2 -------------------------------------------------------------------------------- /packages/inetutils/inetutils-1.9-PATH_PROCNET_DEV.patch: -------------------------------------------------------------------------------- 1 | inetutils: define PATH_PROCNET_DEV if not already defined 2 | 3 | this prevents the following compilation error : 4 | system/linux.c:401:15: error: 'PATH_PROCNET_DEV' undeclared (first use in this function) 5 | 6 | this patch comes from : 7 | http://repository.timesys.com/buildsources/i/inetutils/inetutils-1.9/ 8 | 9 | Upstream-Status: Inappropriate [not author] 10 | 11 | Signed-of-by: Eric Bénard 12 | --- 13 | diff -Naur inetutils-1.9.orig/ifconfig/system/linux.c inetutils-1.9/ifconfig/system/linux.c 14 | --- inetutils-1.9.orig/ifconfig/system/linux.c 2012-01-04 16:31:36.000000000 -0500 15 | +++ inetutils-1.9/ifconfig/system/linux.c 2012-01-04 16:40:53.000000000 -0500 16 | @@ -49,6 +49,10 @@ 17 | #include "../ifconfig.h" 18 | 19 | 20 | +#ifndef PATH_PROCNET_DEV 21 | + #define PATH_PROCNET_DEV "/proc/net/dev" 22 | +#endif 23 | + 24 | /* ARPHRD stuff. */ 25 | 26 | static void 27 | -------------------------------------------------------------------------------- /packages/intltool/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := intltool 4 | HOST_DEPENDENCIES := gettext libxml-parser-perl 5 | SOURCE := $(SOURCES_DIR)/intltool-0.51.0.tar.gz 6 | SOURCE_URL := https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz 7 | MD5 := 12e517cac2b57a0121cda351570f1e63 8 | 9 | toolchain: 10 | @$(STEP) "intltool 0.51.0" 11 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 12 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 14 | @patch -Np1 -i $(PACKAGES_DIR)/intltool/perl-5.26-compatibility.patch -d $(BUILD_DIR)/intltool-0.51.0 15 | @( cd $(BUILD_DIR)/intltool-0.51.0 && \ 16 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 17 | PKG_CONFIG_SYSROOT_DIR="/" \ 18 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 19 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 20 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 21 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 22 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 23 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 24 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 25 | CONFIG_SITE=/dev/null \ 26 | ./configure \ 27 | --prefix=$(TOOLS_DIR) \ 28 | --sysconfdir=$(TOOLS_DIR)/etc \ 29 | --localstatedir=$(TOOLS_DIR)/var \ 30 | --enable-shared \ 31 | --disable-static ) 32 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/intltool-0.51.0 33 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/intltool-0.51.0 34 | @rm -rf $(BUILD_DIR)/intltool-0.51.0 35 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 36 | -------------------------------------------------------------------------------- /packages/iproute2/include-stdint.h-explicitly-for-UINT16_MAX.patch: -------------------------------------------------------------------------------- 1 | From 3c885d87befc706bb923933b9819de6fe2de897e Mon Sep 17 00:00:00 2001 2 | From: Khem Raj 3 | Date: Sat, 20 May 2017 14:03:19 -0700 4 | Subject: [PATCH] include stdint.h explicitly for UINT16_MAX) 5 | 6 | Fixes 7 | | tc_core.c:190:29: error: 'UINT16_MAX' undeclared (first use in this function); did you mean '__INT16_MAX__'? 8 | | if ((sz >> s->size_log) > UINT16_MAX) { 9 | | ^~~~~~~~~~ 10 | 11 | Signed-off-by: Khem Raj 12 | --- 13 | Upstream-Status: Pending 14 | 15 | tc/tc_core.c | 1 + 16 | 1 file changed, 1 insertion(+) 17 | 18 | diff --git a/tc/tc_core.c b/tc/tc_core.c 19 | index 7bbe0d7..821b741 100644 20 | --- a/tc/tc_core.c 21 | +++ b/tc/tc_core.c 22 | @@ -12,6 +12,7 @@ 23 | 24 | #include 25 | #include 26 | +#include 27 | #include 28 | #include 29 | #include 30 | -- 31 | 2.13.0 32 | 33 | -------------------------------------------------------------------------------- /packages/kmod/fix-O_CLOEXEC.patch: -------------------------------------------------------------------------------- 1 | From b39a62f6682463bcd47480348fac3dcd209a19a5 Mon Sep 17 00:00:00 2001 2 | From: Robert Yang 3 | Date: Wed, 22 Jan 2014 01:06:40 -0500 4 | Subject: [PATCH] Add dummy definition of O_CLOEXEC 5 | 6 | O_CLOEXEC is introduced from Linux 2.6.23, so old kernel doesn't have 7 | it, we need check before use. 8 | 9 | This patch is much more like a workaround, since it may need fcntl() use 10 | FD_CLOEXEC to replace. 11 | 12 | This problem was reported by "Ting Liu " 13 | 14 | [Thomas De Schampheleire 21 | Signed-off-by: Vicente Olivert Riera 22 | 23 | Upstream-status: rejected, suggests to add in buildroot instead [1] 24 | 25 | [1] http://news.gmane.org/find-root.php?message_id=1412062906%2d27378%2d1%2dgit%2dsend%2demail%2dpatrickdepinguin%40gmail.com 26 | 27 | --- 28 | shared/missing.h | 4 ++++ 29 | 1 files changed, 4 insertions(+), 0 deletions(-) 30 | 31 | diff --git a/shared/missing.h b/shared/missing.h 32 | index 4c0d136..e123e98 100644 33 | --- a/shared/missing.h 34 | +++ b/shared/missing.h 35 | @@ -19,6 +19,10 @@ 36 | # define __NR_finit_module -1 37 | #endif 38 | 39 | +#ifndef O_CLOEXEC 40 | +#define O_CLOEXEC 0 41 | +#endif 42 | + 43 | #ifndef HAVE_FINIT_MODULE 44 | #include 45 | 46 | -- 47 | 1.7.1 48 | 49 | -------------------------------------------------------------------------------- /packages/less/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/less-487.tar.gz 4 | SOURCE_URL := http://www.greenwoodsoftware.com/less/less-487.tar.gz 5 | MD5 := dcc8bf183a83b362d37fe9ef8df1fb60 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "less 487" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/less-487 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr \ 25 | --sysconfdir=/etc ) 26 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/less-487 27 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/less-487 28 | @rm -rf $(BUILD_DIR)/less-487 29 | -------------------------------------------------------------------------------- /packages/libarchive/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := libarchive 4 | SOURCE := $(SOURCES_DIR)/libarchive-3.3.1.tar.gz 5 | SOURCE_URL := http://www.libarchive.org/downloads/libarchive-3.3.1.tar.gz 6 | MD5 := d2af45480aa5b0db5b5f3919cd0ea65e 7 | 8 | toolchain: 9 | @$(STEP) "libarchive 3.3.1" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @( cd $(BUILD_DIR)/libarchive-3.3.1 && \ 14 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 15 | PKG_CONFIG_SYSROOT_DIR="/" \ 16 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 17 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 18 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 19 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 20 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 23 | CONFIG_SITE=/dev/null \ 24 | ./configure \ 25 | --prefix=$(TOOLS_DIR) \ 26 | --sysconfdir=$(TOOLS_DIR)/etc \ 27 | --localstatedir=$(TOOLS_DIR)/var \ 28 | --enable-shared \ 29 | --disable-static ) 30 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/libarchive-3.3.1 31 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/libarchive-3.3.1 32 | @rm -rf $(BUILD_DIR)/libarchive-3.3.1 33 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 34 | -------------------------------------------------------------------------------- /packages/libconfuse/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := libconfuse 4 | SOURCE := $(SOURCES_DIR)/confuse-3.0.tar.xz 5 | SOURCE_URL := https://github.com/martinh/libconfuse/releases/download/v3.0/confuse-3.0.tar.xz 6 | MD5 := c534b51a2118ed57031dc548032304a3 7 | 8 | toolchain: 9 | @$(STEP) "libconfuse 3.0" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @( cd $(BUILD_DIR)/confuse-3.0 && \ 14 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 15 | PKG_CONFIG_SYSROOT_DIR="/" \ 16 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 17 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 18 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 19 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 20 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 23 | CONFIG_SITE=/dev/null \ 24 | ./configure \ 25 | --prefix=$(TOOLS_DIR) \ 26 | --sysconfdir=$(TOOLS_DIR)/etc \ 27 | --localstatedir=$(TOOLS_DIR)/var \ 28 | --enable-shared \ 29 | --disable-static ) 30 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/confuse-3.0 31 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/confuse-3.0 32 | @rm -rf $(BUILD_DIR)/confuse-3.0 33 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 34 | -------------------------------------------------------------------------------- /packages/libdrm/xf86atomic-require-CAS-support-in-libatomic_ops.patch: -------------------------------------------------------------------------------- 1 | From 7384f79f69fdb7b691cc5b0c28c301b3fe8b633e Mon Sep 17 00:00:00 2001 2 | From: Thomas Petazzoni 3 | Date: Thu, 26 May 2016 10:46:57 +0200 4 | Subject: [PATCH] xf86atomic: require CAS support in libatomic_ops 5 | 6 | Since AO_compare_and_swap_full() is used by libdrm, AO_REQUIRE_CAS 7 | must be defined before including so that we are sure 8 | that CAS support will be provided. This is necessary to make sure that 9 | the AO_compare_and_swap_full() function will be provided on all 10 | architectures, including the ones that don't have built-in CAS support 11 | such as SPARCv8. 12 | 13 | Signed-off-by: Thomas Petazzoni 14 | --- 15 | xf86atomic.h | 1 + 16 | 1 file changed, 1 insertion(+) 17 | 18 | diff --git a/xf86atomic.h b/xf86atomic.h 19 | index 922b37d..d7017a5 100644 20 | --- a/xf86atomic.h 21 | +++ b/xf86atomic.h 22 | @@ -58,6 +58,7 @@ typedef struct { 23 | #endif 24 | 25 | #if HAVE_LIB_ATOMIC_OPS 26 | +#define AO_REQUIRE_CAS 27 | #include 28 | 29 | #define HAS_ATOMIC_OPS 1 30 | -- 31 | 2.7.4 32 | 33 | -------------------------------------------------------------------------------- /packages/libgtk2/gtkrc: -------------------------------------------------------------------------------- 1 | include "/usr/share/themes/Clearlooks/gtk-2.0/gtkrc" 2 | gtk-icon-theme-name = "hicolor" 3 | -------------------------------------------------------------------------------- /packages/libgtk3/settings.ini: -------------------------------------------------------------------------------- 1 | [Settings] 2 | gtk-theme-name = Adwaita 3 | gtk-icon-theme-name = oxygen 4 | gtk-font-name = DejaVu Sans 12 5 | gtk-cursor-theme-size = 18 6 | gtk-toolbar-style = GTK_TOOLBAR_BOTH_HORIZ 7 | gtk-xft-antialias = 1 8 | gtk-xft-hinting = 1 9 | gtk-xft-hintstyle = hintslight 10 | gtk-xft-rgba = rgb 11 | gtk-cursor-theme-name = Adwaita 12 | -------------------------------------------------------------------------------- /packages/libsha1/libsha1-0.3.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/libsha1/libsha1-0.3.tar.gz -------------------------------------------------------------------------------- /packages/libstartup-notification/libstartup-notification-aarch64-system-support.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- config.sub.orig 2011-05-11 16:48:52.000000000 +0900 4 | +++ config.sub 2017-10-06 22:19:37.327895532 +0900 5 | @@ -247,6 +247,7 @@ 6 | # Some are omitted here because they have special meanings below. 7 | 1750a | 580 \ 8 | | a29k \ 9 | + | aarch64 | aarch64_be \ 10 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 11 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 12 | | am33_2.0 \ 13 | @@ -352,6 +353,7 @@ 14 | # Recognize the basic CPU types with company name. 15 | 580-* \ 16 | | a29k-* \ 17 | + | aarch64-* | aarch64_be-* \ 18 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 19 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 20 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 21 | 22 | --- config.guess.orig 2011-05-11 16:48:52.000000000 +0900 23 | +++ config.guess 2017-10-06 22:19:18.945032642 +0900 24 | @@ -861,6 +861,13 @@ 25 | i*86:Minix:*:*) 26 | echo ${UNAME_MACHINE}-pc-minix 27 | exit ;; 28 | + aarch64:Linux:*:*) 29 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 30 | + exit ;; 31 | + aarch64_be:Linux:*:*) 32 | + UNAME_MACHINE=aarch64_be 33 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 34 | + exit ;; 35 | alpha:Linux:*:*) 36 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 37 | EV5) UNAME_MACHINE=alphaev5 ;; 38 | -------------------------------------------------------------------------------- /packages/libstartup-notification/libstartup-notification-build-system-fixes-for-cross-compilation.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- configure.orig 2017-09-27 02:27:29.493509367 +0900 4 | +++ configure 2017-09-27 02:29:24.324509456 +0900 5 | @@ -12391,7 +12391,7 @@ 6 | if ${lf_cv_sane_realloc+:} false; then : 7 | $as_echo_n "(cached) " >&6 8 | else 9 | - 10 | +cross_compiling=no 11 | if test "$cross_compiling" = yes; then : 12 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 14 | -------------------------------------------------------------------------------- /packages/libtiff/libtiff-aarch64-system-support.patch: -------------------------------------------------------------------------------- 1 | --- config/config.sub.orig 2008-05-10 01:15:42.235309000 +0900 2 | +++ config/config.sub 2017-10-13 02:17:50.818644135 +0900 3 | @@ -238,6 +238,7 @@ 4 | # Some are omitted here because they have special meanings below. 5 | 1750a | 580 \ 6 | | a29k \ 7 | + | aarch64 | aarch64_be \ 8 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 9 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 10 | | am33_2.0 \ 11 | @@ -314,6 +315,7 @@ 12 | # Recognize the basic CPU types with company name. 13 | 580-* \ 14 | | a29k-* \ 15 | + | aarch64-* | aarch64_be-* \ 16 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 17 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 18 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 19 | 20 | --- config/config.guess.orig 2008-05-10 01:15:42.231105000 +0900 21 | +++ config/config.guess 2017-10-13 02:18:07.961484771 +0900 22 | @@ -835,6 +835,13 @@ 23 | i*86:Minix:*:*) 24 | echo ${UNAME_MACHINE}-pc-minix 25 | exit ;; 26 | + aarch64:Linux:*:*) 27 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 28 | + exit ;; 29 | + aarch64_be:Linux:*:*) 30 | + UNAME_MACHINE=aarch64_be 31 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 32 | + exit ;; 33 | arm*:Linux:*:*) 34 | eval $set_cc_for_build 35 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 36 | -------------------------------------------------------------------------------- /packages/libxklavier/libxklavier-5.4.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/libxklavier/libxklavier-5.4.tar.bz2 -------------------------------------------------------------------------------- /packages/libxml-parser-perl/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := libxml-parser-perl 4 | HOST_DEPENDENCIES := expat 5 | SOURCE := $(SOURCES_DIR)/XML-Parser-2.44.tar.gz 6 | SOURCE_URL := http://cpan.metacpan.org/authors/id/T/TO/TODDR/XML-Parser-2.44.tar.gz 7 | MD5 := af4813fe3952362451201ced6fbce379 8 | 9 | toolchain: 10 | @$(STEP) "XML Parser 2.44" 11 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 12 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 14 | @( cd $(BUILD_DIR)/XML-Parser-2.44 && \ 15 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 16 | PKG_CONFIG_SYSROOT_DIR="/" \ 17 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 18 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 19 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 20 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 21 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 23 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 24 | `which perl` Makefile.PL \ 25 | PREFIX=$(TOOLS_DIR) \ 26 | EXPATLIBPATH=$(TOOLS_DIR)/lib \ 27 | EXPATINCPATH=$(TOOLS_DIR)/include \ 28 | INSTALLDIRS=site \ 29 | INSTALLSITELIB=$(TOOLS_DIR)/lib/perl \ 30 | INSTALLSITEARCH=$(TOOLS_DIR)/lib/perl ) 31 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/XML-Parser-2.44 32 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/XML-Parser-2.44 install 33 | @rm -rf $(BUILD_DIR)/XML-Parser-2.44 34 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 35 | -------------------------------------------------------------------------------- /packages/linux-pam/other: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/other 2 | 3 | auth required pam_warn.so 4 | auth required pam_deny.so 5 | account required pam_warn.so 6 | account required pam_deny.so 7 | password required pam_warn.so 8 | password required pam_deny.so 9 | session required pam_warn.so 10 | session required pam_deny.so 11 | 12 | # End /etc/pam.d/other 13 | -------------------------------------------------------------------------------- /packages/linux-pam/system-account: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/system-account 2 | 3 | account required pam_unix.so 4 | 5 | # End /etc/pam.d/system-account 6 | -------------------------------------------------------------------------------- /packages/linux-pam/system-auth: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/system-auth 2 | 3 | auth required pam_unix.so 4 | 5 | # End /etc/pam.d/system-auth 6 | -------------------------------------------------------------------------------- /packages/linux-pam/system-password: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/system-password 2 | 3 | # use sha512 hash for encryption, use shadow, and try to use any previously 4 | # defined authentication token (chosen password) set by any prior module 5 | password required pam_unix.so sha512 shadow try_first_pass 6 | 7 | # End /etc/pam.d/system-password 8 | -------------------------------------------------------------------------------- /packages/linux-pam/system-session: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/system-session 2 | 3 | session required pam_unix.so 4 | 5 | # End /etc/pam.d/system-session 6 | 7 | # Begin Systemd addition 8 | 9 | session required pam_loginuid.so 10 | session optional pam_systemd.so 11 | 12 | # End Systemd addition 13 | -------------------------------------------------------------------------------- /packages/linux-pam/systemd-user: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/systemd-user 2 | 3 | account required pam_access.so 4 | account include system-account 5 | 6 | session required pam_env.so 7 | session required pam_limits.so 8 | session include system-session 9 | 10 | auth required pam_deny.so 11 | password required pam_deny.so 12 | 13 | # End /etc/pam.d/systemd-user 14 | -------------------------------------------------------------------------------- /packages/lsb_release/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := lsb-release 4 | SOURCE := $(SOURCES_DIR)/lsb-release-1.4.tar.gz 5 | SOURCE_URL := https://downloads.sourceforge.net/lsb/lsb-release-1.4.tar.gz 6 | MD5 := 30537ef5a01e0ca94b7b8eb6a36bb1e4 7 | 8 | system: 9 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 10 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 11 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 12 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 13 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 14 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 15 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 16 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 17 | @$(STEP) "lsb-release 1.4" 18 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 19 | @$(call system_dependencies, $(TARGET_DEPENDENCIES)) 20 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 21 | @sed -i "s|n/a|unavailable|" $(BUILD_DIR)/lsb-release-1.4/lsb_release 22 | @install -v -m 755 $(BUILD_DIR)/lsb-release-1.4/lsb_release $(ROOTFS_DIR)/usr/bin/lsb_release 23 | @cp -v $(PACKAGES_DIR)/lsb_release/lsb-release $(ROOTFS_DIR)/etc/lsb-release 24 | @rm -rf $(BUILD_DIR)/lsb-release-1.4 25 | @echo $(NAME) >> $(SYSTEM_DEPENDENCIES) 26 | -------------------------------------------------------------------------------- /packages/lsb_release/lsb-release: -------------------------------------------------------------------------------- 1 | 1.0 2 | DISTRIB_ID="CLFS-ARM" 3 | DISTRIB_RELEASE="1.0" 4 | DISTRIB_CODENAME="Absinthe" 5 | DISTRIB_DESCRIPTION="Cross Linux From Scratch (CLFS) on the ARM architecture" 6 | -------------------------------------------------------------------------------- /packages/lxdm/lxdm: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/lxdm 2 | 3 | auth requisite pam_nologin.so 4 | auth required pam_env.so 5 | auth include system-auth 6 | 7 | account include system-account 8 | 9 | password include system-password 10 | 11 | session required pam_limits.so 12 | session include system-session 13 | 14 | # End /etc/pam.d/lxdm 15 | -------------------------------------------------------------------------------- /packages/make/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/make-4.2.1.tar.bz2 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/make/make-4.2.1.tar.bz2 5 | MD5 := 15b012617e7c44c0ed482721629577ac 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "make 4.2.1" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/make-4.2.1 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr ) 25 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/make-4.2.1 26 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/make-4.2.1 27 | @rm -rf $(BUILD_DIR)/make-4.2.1 28 | -------------------------------------------------------------------------------- /packages/makedevs/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := makedevs 4 | SOURCE := $(PACKAGES_DIR)/makedevs/makedevs.c 5 | 6 | toolchain: 7 | @$(STEP) "makedevs" 8 | @gcc -O2 -I$(TOOLS_DIR)/include $(SOURCE) -o $(TOOLS_DIR)/bin/makedevs -L$(TOOLS_DIR)/lib -L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib 9 | @chmod 755 $(TOOLS_DIR)/bin/makedevs 10 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 11 | -------------------------------------------------------------------------------- /packages/man-pages/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/man-pages-4.12.tar.xz 4 | SOURCE_URL := https://www.kernel.org/pub/linux/docs/man-pages/man-pages-4.12.tar.xz 5 | MD5 := a87cdf43ddc1844e7edc8950a28a51f0 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "man-pages 4.12" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(SYSROOT_DIR) install -C $(BUILD_DIR)/man-pages-4.12 20 | @$(call dependency_libs_patch) 21 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/man-pages-4.12 22 | @rm -rf $(BUILD_DIR)/man-pages-4.12 23 | -------------------------------------------------------------------------------- /packages/mesa/configure.ac-invert-order-for-wayland-scanner-check.patch: -------------------------------------------------------------------------------- 1 | From 60ee5191a0c074251862a15b12afdc9db0b2df38 Mon Sep 17 00:00:00 2001 2 | From: Gustavo Zacarias 3 | Date: Thu, 17 Nov 2016 15:36:54 -0300 4 | Subject: [PATCH] configure.ac: invert order for wayland-scanner check 5 | 6 | When cross-compiling the .pc file might point to the wrong 7 | wayland-scanner binary (target rather than host) resulting in a 8 | non-executable and wrong scanner. 9 | Try searching the PATH first, and if that fails fall back into 10 | pkg-config. 11 | 12 | [Vincent: tweak patch for 17.1.1 version] 13 | 14 | Signed-off-by: Gustavo Zacarias 15 | Signed-off-by: Vicente Olivert Riera 16 | --- 17 | configure.ac | 8 ++++---- 18 | 1 file changed, 4 insertions(+), 4 deletions(-) 19 | 20 | diff --git a/configure.ac b/configure.ac 21 | index 2c7e636..0198d52 100644 22 | --- a/configure.ac 23 | +++ b/configure.ac 24 | @@ -2174,11 +2174,11 @@ if test "x$with_platforms" != xauto; then 25 | with_egl_platforms=$with_platforms 26 | fi 27 | 28 | -PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner], 29 | - WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`, 30 | - WAYLAND_SCANNER='') 31 | +AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner]) 32 | if test "x$WAYLAND_SCANNER" = x; then 33 | - AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) 34 | + PKG_CHECK_MODULES([WAYLAND_SCANNER], [wayland-scanner], 35 | + WAYLAND_SCANNER=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner`, 36 | + WAYLAND_SCANNER='') 37 | fi 38 | 39 | # Do per-EGL platform setups and checks 40 | -- 41 | 2.7.3 42 | 43 | -------------------------------------------------------------------------------- /packages/midori/gcr-for-x11-only.patch: -------------------------------------------------------------------------------- 1 | GCR support only works/is useful with X11 support. 2 | 3 | Reported upstream: https://bugs.launchpad.net/midori/+bug/1515985 4 | 5 | Signed-off-by: Gustavo Zacarias 6 | 7 | diff -Nura midori-0.5.11.orig/CMakeLists.txt midori-0.5.11/CMakeLists.txt 8 | --- midori-0.5.11.orig/CMakeLists.txt 2015-11-12 13:41:02.045898814 -0300 9 | +++ midori-0.5.11/CMakeLists.txt 2015-11-12 14:00:09.765545018 -0300 10 | @@ -175,18 +175,14 @@ 11 | set(PKGS ${PKGS} zeitgeist-2.0) 12 | endif() 13 | 14 | -if (WIN32) 15 | - add_definitions("-DGCR_VERSION=\"No\"") 16 | -else () 17 | - if (USE_GTK3) 18 | - pkg_check_modules(GCR REQUIRED gcr-3>=2.32) 19 | - else () 20 | - pkg_check_modules(GCR REQUIRED gcr-base-3>=2.32) 21 | - endif () 22 | +if (USE_GTK3 AND X11) 23 | + pkg_check_modules(GCR REQUIRED gcr-3>=2.32) 24 | add_definitions("-DGCR_VERSION=\"${GCR_VERSION}\"") 25 | add_definitions("-DHAVE_GCR") 26 | set(OPTS_INCLUDE_DIRS ${OPTS_INCLUDE_DIRS} ${GCR_INCLUDE_DIRS}) 27 | set(OPTS_LIBRARIES ${OPTS_LIBRARIES} ${GCR_LIBRARIES}) 28 | +else () 29 | + add_definitions("-DGCR_VERSION=\"No\"") 30 | endif () 31 | 32 | if (HALF_BRO_INCOM_WEBKIT2) 33 | -------------------------------------------------------------------------------- /packages/mkpasswd/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := mkpasswd 4 | SOURCE := $(PACKAGES_DIR)/mkpasswd 5 | 6 | toolchain: 7 | @$(STEP) "mkpasswd 5.0.26" 8 | @gcc -O2 -I$(TOOLS_DIR)/include -L$(TOOLS_DIR)/lib -L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib $(SOURCE)/mkpasswd.c $(SOURCE)/utils.c -o $(TOOLS_DIR)/bin/mkpasswd -lcrypt 9 | @chmod 755 $(TOOLS_DIR)/bin/mkpasswd 10 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 11 | -------------------------------------------------------------------------------- /packages/mkpasswd/utils.h: -------------------------------------------------------------------------------- 1 | #ifndef WHOIS_UTILS_H 2 | #define WHOIS_UTILS_H 3 | 4 | /* Convenience macros */ 5 | #define streq(a, b) (strcmp(a, b) == 0) 6 | #define strcaseeq(a, b) (strcasecmp(a, b) == 0) 7 | #define strneq(a, b, n) (strncmp(a, b, n) == 0) 8 | #define strncaseeq(a, b, n) (strncasecmp(a, b, n) == 0) 9 | 10 | #define NOFAIL(ptr) do_nofail((ptr), __FILE__, __LINE__) 11 | 12 | /* Portability macros */ 13 | #ifdef __GNUC__ 14 | # define NORETURN __attribute__((noreturn)) 15 | #else 16 | # define NORETURN 17 | #endif 18 | 19 | #ifndef AI_IDN 20 | # define AI_IDN 0 21 | #endif 22 | 23 | #ifndef AI_ADDRCONFIG 24 | # define AI_ADDRCONFIG 0 25 | #endif 26 | 27 | #ifdef HAVE_GETOPT_LONG 28 | # define GETOPT_LONGISH(c, v, o, l, i) getopt_long(c, v, o, l, i) 29 | #else 30 | # define GETOPT_LONGISH(c, v, o, l, i) getopt(c, v, o) 31 | #endif 32 | 33 | #ifdef ENABLE_NLS 34 | # include 35 | # include 36 | # define _(a) (gettext(a)) 37 | # ifdef gettext_noop 38 | # define N_(a) gettext_noop(a) 39 | # else 40 | # define N_(a) (a) 41 | # endif 42 | #else 43 | # define _(a) (a) 44 | # define N_(a) (a) 45 | # define ngettext(a, b, c) ((c==1) ? (a) : (b)) 46 | #endif 47 | 48 | 49 | /* Prototypes */ 50 | void *do_nofail(void *ptr, const char *file, const int line); 51 | char **merge_args(char *args, char *argv[], int *argc); 52 | 53 | void err_quit(const char *fmt, ...) NORETURN; 54 | void err_sys(const char *fmt, ...) NORETURN; 55 | 56 | #endif 57 | -------------------------------------------------------------------------------- /packages/mongodb/mongos.conf: -------------------------------------------------------------------------------- 1 | port = 27017 2 | fork = true 3 | httpinterface = true 4 | rest = true 5 | journal = false 6 | storageEngine=mmapv1 7 | dbpath = /usr/local/mongodb/db 8 | logpath = /usr/local/mongodb/mongodb.log 9 | -------------------------------------------------------------------------------- /packages/mpc/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := mpc 4 | SOURCE := $(SOURCES_DIR)/mpc-1.0.3.tar.gz 5 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/mpc/mpc-1.0.3.tar.gz 6 | MD5 := d6a1d5f8ddea3abd2cc3e98f58352d26 7 | 8 | toolchain: 9 | @$(STEP) "mpc 1.0.3" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @( cd $(BUILD_DIR)/mpc-1.0.3 && \ 14 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 15 | PKG_CONFIG_SYSROOT_DIR="/" \ 16 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 17 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 18 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 19 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 20 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 23 | CONFIG_SITE=/dev/null \ 24 | ./configure \ 25 | --prefix=$(TOOLS_DIR) \ 26 | --sysconfdir=$(TOOLS_DIR)/etc \ 27 | --localstatedir=$(TOOLS_DIR)/var \ 28 | --enable-shared \ 29 | --disable-static ) 30 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/mpc-1.0.3 31 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/mpc-1.0.3 32 | @rm -rf $(BUILD_DIR)/mpc-1.0.3 33 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 34 | -------------------------------------------------------------------------------- /packages/mpfr/Fix-obsolete-ARC-asm-constraints.patch: -------------------------------------------------------------------------------- 1 | mpfr-longlong.h: Fix obsolete ARC asm constraints 2 | 3 | This patch replaces obsolete ARC "J" asm constraint with 4 | up-to-date "Cal" constraint. 5 | The patch should be applied to upstream "mpfr" library and 6 | after that it should be removed from buildroot as soon as 7 | mpfr version with current fix will come up. 8 | 9 | Signed-off-by: Vlad Zakharov 10 | Signed-off-by: Claudiu Zissulescu 11 | --- 12 | Index: /src/mpfr-longlong.h 13 | =================================================================== 14 | --- /src/mpfr-longlong.h (revision 10963) 15 | +++ /src/mpfr-longlong.h (working copy) 16 | @@ -416,17 +416,17 @@ 17 | : "=r" (sh), \ 18 | "=&r" (sl) \ 19 | : "r" ((USItype) (ah)), \ 20 | - "rIJ" ((USItype) (bh)), \ 21 | + "rICal" ((USItype) (bh)), \ 22 | "%r" ((USItype) (al)), \ 23 | - "rIJ" ((USItype) (bl))) 24 | + "rICal" ((USItype) (bl))) 25 | #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ 26 | __asm__ ("sub.f\t%1, %4, %5\n\tsbc\t%0, %2, %3" \ 27 | : "=r" (sh), \ 28 | "=&r" (sl) \ 29 | : "r" ((USItype) (ah)), \ 30 | - "rIJ" ((USItype) (bh)), \ 31 | + "rICal" ((USItype) (bh)), \ 32 | "r" ((USItype) (al)), \ 33 | - "rIJ" ((USItype) (bl))) 34 | + "rICal" ((USItype) (bl))) 35 | #endif 36 | 37 | #if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \ 38 | -------------------------------------------------------------------------------- /packages/mpfr/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := mpfr 4 | SOURCE := $(SOURCES_DIR)/mpfr-3.1.5.tar.xz 5 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/mpfr/mpfr-3.1.5.tar.xz 6 | MD5 := c4ac246cf9795a4491e7766002cd528f 7 | 8 | toolchain: 9 | @$(STEP) "mpfr 3.1.5" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @patch -Np1 -i $(PACKAGES_DIR)/mpfr/Fix-obsolete-ARC-asm-constraints.patch -d $(BUILD_DIR)/mpfr-3.1.5 14 | @( cd $(BUILD_DIR)/mpfr-3.1.5 && \ 15 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 16 | PKG_CONFIG_SYSROOT_DIR="/" \ 17 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 18 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 19 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 20 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 21 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 23 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 24 | CONFIG_SITE=/dev/null \ 25 | ./configure \ 26 | --prefix=$(TOOLS_DIR) \ 27 | --sysconfdir=$(TOOLS_DIR)/etc \ 28 | --localstatedir=$(TOOLS_DIR)/var \ 29 | --enable-shared \ 30 | --disable-static ) 31 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/mpfr-3.1.5 32 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/mpfr-3.1.5 33 | @rm -rf $(BUILD_DIR)/mpfr-3.1.5 34 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 35 | -------------------------------------------------------------------------------- /packages/mtdev/mtdev-1.1.5.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/mtdev/mtdev-1.1.5.tar.bz2 -------------------------------------------------------------------------------- /packages/mtdev/mtdev-aarch64-system-support.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- config-aux/config.sub.orig 2012-02-21 00:04:39.000000000 +0900 4 | +++ config-aux/config.sub 2017-10-06 21:38:53.840895386 +0900 5 | @@ -247,6 +247,7 @@ 6 | # Some are omitted here because they have special meanings below. 7 | 1750a | 580 \ 8 | | a29k \ 9 | + | aarch64 | aarch64_be \ 10 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 11 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 12 | | am33_2.0 \ 13 | @@ -355,6 +356,7 @@ 14 | # Recognize the basic CPU types with company name. 15 | 580-* \ 16 | | a29k-* \ 17 | + | aarch64-* | aarch64_be-* \ 18 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 19 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 20 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 21 | 22 | --- config-aux/config.guess.orig 2012-02-21 00:04:39.000000000 +0900 23 | +++ config-aux/config.guess 2017-10-06 21:38:24.583133581 +0900 24 | @@ -863,6 +863,13 @@ 25 | i*86:Minix:*:*) 26 | echo ${UNAME_MACHINE}-pc-minix 27 | exit ;; 28 | + aarch64:Linux:*:*) 29 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 30 | + exit ;; 31 | + aarch64_be:Linux:*:*) 32 | + UNAME_MACHINE=aarch64_be 33 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 34 | + exit ;; 35 | alpha:Linux:*:*) 36 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 37 | EV5) UNAME_MACHINE=alphaev5 ;; 38 | -------------------------------------------------------------------------------- /packages/mtools/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := mtools 4 | SOURCE := $(SOURCES_DIR)/mtools-4.0.18.tar.bz2 5 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/mtools/mtools-4.0.18.tar.bz2 6 | MD5 := a23646617546bf6ad56f061d8b283c85 7 | 8 | toolchain: 9 | @$(STEP) "mtools 4.0.18" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @( cd $(BUILD_DIR)/mtools-4.0.18 && \ 14 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 15 | PKG_CONFIG_SYSROOT_DIR="/" \ 16 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 17 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 18 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 19 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 20 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 23 | CONFIG_SITE=/dev/null \ 24 | ./configure \ 25 | --prefix=$(TOOLS_DIR) \ 26 | --sysconfdir=$(TOOLS_DIR)/etc \ 27 | --localstatedir=$(TOOLS_DIR)/var \ 28 | --enable-shared \ 29 | --disable-static ) 30 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/mtools-4.0.18 31 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/mtools-4.0.18 32 | @rm -rf $(BUILD_DIR)/mtools-4.0.18 33 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 34 | -------------------------------------------------------------------------------- /packages/nanumfont/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := nanumfont 4 | 5 | system: 6 | @$(STEP) "Install NanumGothic" 7 | @$(call system_dependencies, $(TARGET_DEPENDENCIES)) 8 | @mkdir -pv $(ROOTFS_DIR)/usr/share/fonts/ 9 | @cp -v $(PACKAGES_DIR)/nanumfont/*.ttf $(ROOTFS_DIR)/usr/share/fonts/ 10 | @echo $(NAME) >> $(SYSTEM_DEPENDENCIES) 11 | -------------------------------------------------------------------------------- /packages/nanumfont/NanumGothic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/nanumfont/NanumGothic.ttf -------------------------------------------------------------------------------- /packages/nanumfont/NanumGothicBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/nanumfont/NanumGothicBold.ttf -------------------------------------------------------------------------------- /packages/nanumfont/NanumGothicExtraBold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/nanumfont/NanumGothicExtraBold.ttf -------------------------------------------------------------------------------- /packages/nss/nss.pc.in: -------------------------------------------------------------------------------- 1 | prefix=/usr 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include/nss 5 | 6 | Name: NSS 7 | Description: Mozilla Network Security Services 8 | Version: @VERSION@ 9 | Requires: nspr 10 | Libs: -L${libdir} -lnss3 -lnssutil3 -lsmime3 -lssl3 11 | Cflags: -I${includedir} 12 | -------------------------------------------------------------------------------- /packages/ntp/ntp.conf: -------------------------------------------------------------------------------- 1 | # Europe 2 | server 0.europe.pool.ntp.org 3 | 4 | # North America 5 | server 0.north-america.pool.ntp.org 6 | 7 | # Australia 8 | server 0.oceania.pool.ntp.org 9 | 10 | # Asia 11 | server 0.asia.pool.ntp.org 12 | 13 | # South America 14 | server 2.south-america.pool.ntp.org 15 | 16 | driftfile /var/lib/ntp/ntp.drift 17 | pidfile /var/run/ntpd.pid 18 | leapfile /etc/ntp.leapseconds 19 | 20 | # Security session 21 | restrict default limited kod nomodify notrap nopeer noquery 22 | restrict -6 default limited kod nomodify notrap nopeer noquery 23 | 24 | restrict 127.0.0.1 25 | restrict ::1 26 | -------------------------------------------------------------------------------- /packages/ntp/ntpd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Network Time Service 3 | After=network.target 4 | 5 | [Service] 6 | Type=forking 7 | PIDFile=/run/ntpd.pid 8 | ExecStart=/usr/sbin/ntpd -g -p /run/ntpd.pid 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /packages/openbox/openbox-aarch64-system-support.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- config.sub.orig 2008-01-30 22:54:05.000000000 +0900 4 | +++ config.sub 2017-10-06 22:02:40.262551994 +0900 5 | @@ -238,6 +238,7 @@ 6 | # Some are omitted here because they have special meanings below. 7 | 1750a | 580 \ 8 | | a29k \ 9 | + | aarch64 | aarch64_be \ 10 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 11 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 12 | | am33_2.0 \ 13 | @@ -314,6 +315,7 @@ 14 | # Recognize the basic CPU types with company name. 15 | 580-* \ 16 | | a29k-* \ 17 | + | aarch64-* | aarch64_be-* \ 18 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 19 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 20 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 21 | 22 | --- config.guess.orig 2008-01-30 22:54:05.000000000 +0900 23 | +++ config.guess 2017-10-06 22:03:24.751204070 +0900 24 | @@ -852,6 +852,13 @@ 25 | i*86:Minix:*:*) 26 | echo ${UNAME_MACHINE}-pc-minix 27 | exit ;; 28 | + aarch64:Linux:*:*) 29 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 30 | + exit ;; 31 | + aarch64_be:Linux:*:*) 32 | + UNAME_MACHINE=aarch64_be 33 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 34 | + exit ;; 35 | arm*:Linux:*:*) 36 | eval $set_cc_for_build 37 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ 38 | -------------------------------------------------------------------------------- /packages/openbox/openbox.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Openbox launcher 3 | RequiresMountsFor=/run 4 | After=getty@tty1.service 5 | 6 | [Service] 7 | Restart=always 8 | RestartSec=10 9 | PermissionsStartOnly=true 10 | EnvironmentFile=-/etc/profile 11 | ExecStartPre=/bin/chmod 666 /dev/fb0 12 | ExecStartPre=/usr/bin/gdk-pixbuf-query-loaders --update-cache 13 | ExecStartPre=/usr/bin/gtk-query-immodules-2.0 --update-cache 14 | ExecStartPre=/usr/bin/gtk-query-immodules-3.0 --update-cache 15 | ExecStart=/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 16 | 17 | [Install] 18 | WantedBy=multi-user.target 19 | -------------------------------------------------------------------------------- /packages/openssh/sshd.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=OpenSSH server daemon 3 | After=syslog.target network.target auditd.service 4 | 5 | [Service] 6 | ExecStartPre=/usr/bin/ssh-keygen -A 7 | ExecStart=/usr/sbin/sshd -D -e 8 | ExecReload=/bin/kill -HUP $MAINPID 9 | 10 | [Install] 11 | WantedBy=multi-user.target 12 | -------------------------------------------------------------------------------- /packages/patch/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/patch-2.7.5.tar.xz 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/patch/patch-2.7.5.tar.xz 5 | MD5 := e3da7940431633fb65a01b91d3b7a27a 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "patch 2.7.5" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/patch-2.7.5 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr ) 25 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/patch-2.7.5 26 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/patch-2.7.5 27 | @rm -rf $(BUILD_DIR)/patch-2.7.5 28 | -------------------------------------------------------------------------------- /packages/pkgconf/pkg-config: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-@PKG_CONFIG_LIBDIR@} PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-@STAGING_DIR@} $(dirname $0)/pkgconf @STATIC@ $@ 3 | -------------------------------------------------------------------------------- /packages/python2/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := python2 4 | HOST_DEPENDENCIES := libffi 5 | SOURCE := $(SOURCES_DIR)/Python-2.7.13.tar.xz 6 | SOURCE_URL := https://www.python.org/ftp/python/2.7.13/Python-2.7.13.tar.xz 7 | MD5 := 53b43534153bb2a0363f08bae8b9d990 8 | 9 | toolchain: 10 | @$(STEP) "Python 2.7.13" 11 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 12 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 14 | @( cd $(BUILD_DIR)/Python-2.7.13 && \ 15 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 16 | PKG_CONFIG_SYSROOT_DIR="/" \ 17 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 18 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 19 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 20 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 21 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 23 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 24 | CONFIG_SITE=/dev/null \ 25 | ac_cv_prog_HAS_HG=/bin/false \ 26 | ac_cv_prog_SVNVERSION=/bin/false \ 27 | ./configure \ 28 | --prefix=$(TOOLS_DIR) \ 29 | --sysconfdir=$(TOOLS_DIR)/etc \ 30 | --localstatedir=$(TOOLS_DIR)/var \ 31 | --enable-shared \ 32 | --enable-static \ 33 | --with-system-expat \ 34 | --with-system-ffi \ 35 | --with-ensurepip=yes \ 36 | --enable-unicode=ucs4 ) 37 | @make -j1 -C $(BUILD_DIR)/Python-2.7.13 38 | @make -j1 install -C $(BUILD_DIR)/Python-2.7.13 39 | @ln -svf python2 $(TOOLS_DIR)/bin/python 40 | @ln -svf python2-config $(TOOLS_DIR)/bin/python-config 41 | @chmod -v 755 $(TOOLS_DIR)/lib/libpython2.7.so.1.0 42 | @rm -rf $(BUILD_DIR)/Python-2.7.13 43 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 44 | -------------------------------------------------------------------------------- /packages/qemu/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := qemu 4 | HOST_DEPENDENCIES := vde2 sdl2 5 | SOURCE := $(SOURCES_DIR)/qemu-2.10.0.tar.xz 6 | SOURCE_URL := https://download.qemu.org/qemu-2.10.0.tar.xz 7 | MD5 := a89e3293cf69c32cf4be4188dfa25544 8 | 9 | toolchain: 10 | @$(STEP) "qemu 2.10.0" 11 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 12 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 14 | @( cd $(BUILD_DIR)/qemu-2.10.0 && \ 15 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 16 | PKG_CONFIG_SYSROOT_DIR="/" \ 17 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 18 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 19 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 20 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 21 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 23 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 24 | CONFIG_SITE=/dev/null \ 25 | ./configure \ 26 | --prefix=$(TOOLS_DIR) \ 27 | --interp-prefix=$(SYSROOT_DIR) \ 28 | --target-list="aarch64-softmmu,arm-softmmu,aarch64-linux-user,arm-linux-user,armeb-linux-user" \ 29 | --cc="gcc" \ 30 | --host-cc="gcc" \ 31 | --python=$(TOOLS_DIR)/bin/python2 \ 32 | --extra-cflags="-O2 -I$(TOOLS_DIR)/include" \ 33 | --extra-ldflags="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 34 | --enable-system \ 35 | --enable-fdt \ 36 | --enable-linux-user \ 37 | --enable-vde \ 38 | --enable-sdl ) 39 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/qemu-2.10.0 40 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/qemu-2.10.0 41 | @rm -rf $(BUILD_DIR)/qemu-2.10.0 42 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 43 | -------------------------------------------------------------------------------- /packages/qt5base/Fix-error-attribute-target-crc-is-unknown.patch: -------------------------------------------------------------------------------- 1 | From f0c02fb22bc277e2015a18e562b551ec7b3eed9e Mon Sep 17 00:00:00 2001 2 | From: Peter Seiderer 3 | Date: Sun, 16 Jul 2017 00:05:44 +0200 4 | Subject: [PATCH] Fix error attribute(target("+crc")) is unknown 5 | 6 | Task-number: QTBUG-61975 7 | Change-Id: I0b1b55c0737dad485b5ace8e6eb7cb842589453d 8 | 9 | Upstream: https://codereview.qt-project.org/200171 10 | Signed-off-by: Peter Seiderer 11 | --- 12 | src/corelib/tools/qhash.cpp | 2 ++ 13 | src/corelib/tools/qsimd_p.h | 3 +++ 14 | 2 files changed, 5 insertions(+) 15 | 16 | diff --git a/src/corelib/tools/qhash.cpp b/src/corelib/tools/qhash.cpp 17 | index 1f9c05c..bbf6efb 100644 18 | --- a/src/corelib/tools/qhash.cpp 19 | +++ b/src/corelib/tools/qhash.cpp 20 | @@ -144,7 +144,9 @@ static inline bool hasFastCrc32() 21 | } 22 | 23 | template 24 | +#if defined(__aarch64__) 25 | QT_FUNCTION_TARGET(CRC32) 26 | +#endif 27 | static uint crc32(const Char *ptr, size_t len, uint h) 28 | { 29 | // The crc32[whbd] instructions on Aarch64/Aarch32 calculate a 32-bit CRC32 checksum 30 | diff --git a/src/corelib/tools/qsimd_p.h b/src/corelib/tools/qsimd_p.h 31 | index 023a4b0..a85d572 100644 32 | --- a/src/corelib/tools/qsimd_p.h 33 | +++ b/src/corelib/tools/qsimd_p.h 34 | @@ -326,7 +326,10 @@ 35 | #endif 36 | // AArch64/ARM64 37 | #if defined(Q_PROCESSOR_ARM_V8) && defined(__ARM_FEATURE_CRC32) 38 | +#if defined(__aarch64__) 39 | +// only available on aarch64 40 | #define QT_FUNCTION_TARGET_STRING_CRC32 "+crc" 41 | +#endif 42 | # include 43 | #endif 44 | 45 | -- 46 | 2.7.4 47 | 48 | -------------------------------------------------------------------------------- /packages/qt5base/qmake.conf: -------------------------------------------------------------------------------- 1 | # Qt5 has a mechanism to support "device" profiles, so that people can 2 | # specify the compiler, compiler flags and so on for a specific device. 3 | 4 | # We leverage this mechanism in the Buildroot packaging of qt5 to 5 | # simplify cross-compilation: we have our own "device" definition, which 6 | # allows us to easily pass the cross-compiler paths and flags from our 7 | # qt5.mk. 8 | 9 | include(../common/linux_device_pre.conf) 10 | 11 | # modifications to g++-unix.conf 12 | QMAKE_CC = $${CROSS_COMPILE}gcc 13 | QMAKE_CXX = $${CROSS_COMPILE}g++ 14 | 15 | # modifications to gcc-base.conf 16 | QMAKE_CFLAGS += $${BR_COMPILER_CFLAGS} 17 | QMAKE_CXXFLAGS += $${BR_COMPILER_CXXFLAGS} 18 | QMAKE_CXXFLAGS_RELEASE += -O3 19 | CONFIG += nostrip 20 | 21 | QMAKE_LIBS += -lrt -lpthread -ldl 22 | QMAKE_CFLAGS_ISYSTEM = 23 | 24 | # Architecturespecific configuration 25 | include(arch.conf) 26 | 27 | include(../common/linux_device_post.conf) 28 | load(qt_config) 29 | -------------------------------------------------------------------------------- /packages/qt5base/qplatformdefs.h: -------------------------------------------------------------------------------- 1 | #include "../../linux-g++/qplatformdefs.h" 2 | -------------------------------------------------------------------------------- /packages/qupzilla/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/QupZilla-2.1.2.tar.xz 4 | SOURCE_URL := https://github.com/QupZilla/qupzilla/releases/download/v2.1.2/QupZilla-2.1.2.tar.xz 5 | MD5 := 84e4b9dda1e0bb5ad96f3b87f9fc1328 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/usr/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "QupZilla 2.1.2" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @patch -Np1 -i $(PACKAGES_DIR)/qupzilla/qupzilla-2.1.2-openssl1.1-1.patch -d $(BUILD_DIR)/QupZilla-2.1.2 20 | @( cd $(BUILD_DIR)/QupZilla-2.1.2 && qmake ) 21 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/QupZilla-2.1.2 22 | @make -j$(CONFIG_PARALLEL_JOBS) INSTALL_ROOT=$(ROOTFS_DIR) install -C $(BUILD_DIR)/QupZilla-2.1.2 23 | @rm -rf $(BUILD_DIR)/QupZilla-2.1.2 24 | -------------------------------------------------------------------------------- /packages/readline/curses-link.patch: -------------------------------------------------------------------------------- 1 | link readline directly to ncurses since it needs symbols from it 2 | 3 | upstream readline does this on purpose (no direct linking), but 4 | it doesn't make much sense in a Linux world 5 | 6 | --- a/support/shobj-conf 7 | +++ b/support/shobj-conf 8 | @@ -42,7 +42,7 @@ 9 | SHOBJ_LIBS= 10 | 11 | SHLIB_XLDFLAGS= 12 | -SHLIB_LIBS= 13 | +SHLIB_LIBS=-lncurses 14 | 15 | SHLIB_DOT='.' 16 | SHLIB_LIBPREF='lib' 17 | -------------------------------------------------------------------------------- /packages/scons/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := scons 4 | HOST_DEPENDENCIES := python2 5 | SOURCE := $(SOURCES_DIR)/scons-2.5.1.tar.gz 6 | SOURCE_URL := https://downloads.sourceforge.net/project/scons/scons/2.5.1/scons-2.5.1.tar.gz 7 | MD5 := aaaf09e1351a598f98d17b0cf1103e7a 8 | 9 | toolchain: 10 | @$(STEP) "scons 2.5.1" 11 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 12 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 14 | @( cd $(BUILD_DIR)/scons-2.5.1 && $(TOOLS_DIR)/bin/python2 setup.py build ) 15 | @( cd $(BUILD_DIR)/scons-2.5.1 && $(TOOLS_DIR)/bin/python2 setup.py install --prefix=$(TOOLS_DIR) --install-lib=$(TOOLS_DIR)/lib/scons-2.5.1 ) 16 | @rm -rf $(BUILD_DIR)/scons-2.5.1 17 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 18 | -------------------------------------------------------------------------------- /packages/sdl2/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := sdl2 4 | SOURCE := $(SOURCES_DIR)/SDL2-2.0.5.tar.gz 5 | SOURCE_URL := http://www.libsdl.org/release/SDL2-2.0.5.tar.gz 6 | MD5 := d4055424d556b4a908aa76fad63abd3c 7 | 8 | toolchain: 9 | @$(STEP) "SDL2 2.0.5" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @( cd $(BUILD_DIR)/SDL2-2.0.5 && \ 14 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 15 | PKG_CONFIG_SYSROOT_DIR="/" \ 16 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 17 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 18 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 19 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 20 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 23 | CONFIG_SITE=/dev/null \ 24 | ./configure \ 25 | --prefix=$(TOOLS_DIR) \ 26 | --sysconfdir=$(TOOLS_DIR)/etc \ 27 | --localstatedir=$(TOOLS_DIR)/var ) 28 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/SDL2-2.0.5 29 | @make -j$(CONFIG_PARALLEL_JOBS) install -C $(BUILD_DIR)/SDL2-2.0.5 30 | @rm -rf $(BUILD_DIR)/SDL2-2.0.5 31 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 32 | -------------------------------------------------------------------------------- /packages/sed/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/sed-4.4.tar.xz 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/sed/sed-4.4.tar.xz 5 | MD5 := e0c583d4c380059abd818cd540fe6938 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "sed 4.4" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @sed -i 's/usr/tools/' $(BUILD_DIR)/sed-4.4/build-aux/help2man 20 | @sed -i 's/panic-tests.sh//' $(BUILD_DIR)/sed-4.4/Makefile.in 21 | @( cd $(BUILD_DIR)/sed-4.4 && \ 22 | ./configure \ 23 | --target=$(CONFIG_TARGET) \ 24 | --host=$(CONFIG_TARGET) \ 25 | --build=$(CONFIG_HOST) \ 26 | --prefix=/usr \ 27 | --bindir=/bin ) 28 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/sed-4.4 29 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/sed-4.4 30 | @rm -rf $(BUILD_DIR)/sed-4.4 31 | -------------------------------------------------------------------------------- /packages/shadow/chage: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/chage 2 | 3 | # always allow root 4 | auth sufficient pam_rootok.so 5 | 6 | # include system defaults for auth account and session 7 | auth include system-auth 8 | account include system-account 9 | session include system-session 10 | 11 | # Always permit for authentication updates 12 | password required pam_permit.so 13 | 14 | # End /etc/pam.d/chage 15 | -------------------------------------------------------------------------------- /packages/shadow/login: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/login 2 | 3 | # Set failure delay before next prompt to 3 seconds 4 | auth optional pam_faildelay.so delay=3000000 5 | 6 | # Check to make sure that the user is allowed to login 7 | auth requisite pam_nologin.so 8 | 9 | # Check to make sure that root is allowed to login 10 | # Disabled by default. You will need to create /etc/securetty 11 | # file for this module to function. See man 5 securetty. 12 | #auth required pam_securetty.so 13 | 14 | # Additional group memberships - disabled by default 15 | #auth optional pam_group.so 16 | 17 | # include the default auth settings 18 | auth include system-auth 19 | 20 | # check access for the user 21 | account required pam_access.so 22 | 23 | # include the default account settings 24 | account include system-account 25 | 26 | # Set default environment variables for the user 27 | session required pam_env.so 28 | 29 | # Set resource limits for the user 30 | session required pam_limits.so 31 | 32 | # Display date of last login - Disabled by default 33 | #session optional pam_lastlog.so 34 | 35 | # Display the message of the day - Disabled by default 36 | #session optional pam_motd.so 37 | 38 | # Check user's mail - Disabled by default 39 | #session optional pam_mail.so standard quiet 40 | 41 | # include the default session and password settings 42 | session include system-session 43 | password include system-password 44 | 45 | # End /etc/pam.d/login 46 | -------------------------------------------------------------------------------- /packages/shadow/passwd: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/passwd 2 | 3 | password include system-password 4 | 5 | # End /etc/pam.d/passwd 6 | -------------------------------------------------------------------------------- /packages/shadow/shadow-4.5.tar.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/shadow/shadow-4.5.tar.xz -------------------------------------------------------------------------------- /packages/shadow/su: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/su 2 | 3 | # always allow root 4 | auth sufficient pam_rootok.so 5 | auth include system-auth 6 | 7 | # include the default account settings 8 | account include system-account 9 | 10 | # Set default environment variables for the service user 11 | session required pam_env.so 12 | 13 | # include system session defaults 14 | session include system-session 15 | 16 | # End /etc/pam.d/su 17 | -------------------------------------------------------------------------------- /packages/skeleton/Makefile: -------------------------------------------------------------------------------- 1 | NAME := skeleton 2 | 3 | staging: 4 | @$(STEP) "Create the sysroot directory" 5 | @mkdir -pv $(SYSROOT_DIR)/dev 6 | @mkdir -pv $(SYSROOT_DIR)/etc/profile.d 7 | @ln -snvf ../proc/self/mounts $(SYSROOT_DIR)/etc/mtab 8 | @ln -snvf ../tmp/resolv.conf $(SYSROOT_DIR)/etc/resolv.conf 9 | @mkdir -pv $(SYSROOT_DIR)/media 10 | @mkdir -pv $(SYSROOT_DIR)/mnt 11 | @mkdir -pv $(SYSROOT_DIR)/opt 12 | @mkdir -pv $(SYSROOT_DIR)/proc 13 | @mkdir -pv $(SYSROOT_DIR)/root 14 | @mkdir -pv $(SYSROOT_DIR)/run 15 | @mkdir -pv $(SYSROOT_DIR)/sys 16 | @mkdir -pv $(SYSROOT_DIR)/tmp 17 | @mkdir -pv $(SYSROOT_DIR)/usr/bin 18 | @mkdir -pv $(SYSROOT_DIR)/usr/bin 19 | @mkdir -pv $(SYSROOT_DIR)/usr/sbin 20 | @mkdir -p $(SYSROOT_DIR)/usr/share/aclocal 21 | @install -dv -m 0755 $(SYSROOT_DIR)/bin 22 | @install -dv -m 0755 $(SYSROOT_DIR)/sbin 23 | @install -dv -m 0755 $(SYSROOT_DIR)/lib 24 | @if [[ "$(CONFIG_LINUX_ARCH)" = "arm" ]] ; then \ 25 | ln -snvf lib $(SYSROOT_DIR)/lib32 ; \ 26 | ln -snvf lib $(SYSROOT_DIR)/usr/lib32 ; \ 27 | fi; 28 | @if [[ "$(CONFIG_LINUX_ARCH)" = "arm64" ]] ; then \ 29 | ln -snvf lib $(SYSROOT_DIR)/lib64 ; \ 30 | ln -snvf lib $(SYSROOT_DIR)/usr/lib64 ; \ 31 | fi; 32 | @install -dv -m 0755 $(SYSROOT_DIR)/usr/include 33 | 34 | system: 35 | @$(PACKAGES_DIR)/skeleton/create_rootfs.sh 36 | -------------------------------------------------------------------------------- /packages/sudo/sudo: -------------------------------------------------------------------------------- 1 | # Begin /etc/pam.d/sudo 2 | 3 | # include the default auth settings 4 | auth include system-auth 5 | 6 | # include the default account settings 7 | account include system-account 8 | 9 | # Set default environment variables for the service user 10 | session required pam_env.so 11 | 12 | # include system session defaults 13 | session include system-session 14 | 15 | # End /etc/pam.d/sudo 16 | -------------------------------------------------------------------------------- /packages/systemd/83-duplicate_devs.rules: -------------------------------------------------------------------------------- 1 | 2 | # Persistent symlinks for webcam and tuner 3 | KERNEL=="video*", ATTRS{idProduct}=="1910", ATTRS{idVendor}=="0d81", \ 4 | SYMLINK+="webcam" 5 | KERNEL=="video*", ATTRS{device}=="0x036f", ATTRS{vendor}=="0x109e", \ 6 | SYMLINK+="tvtuner" 7 | 8 | -------------------------------------------------------------------------------- /packages/systemd/adjtime: -------------------------------------------------------------------------------- 1 | 0.0 0 0.0 2 | 0 3 | LOCAL 4 | -------------------------------------------------------------------------------- /packages/systemd/dhcp.network: -------------------------------------------------------------------------------- 1 | [Match] 2 | Name=SYSTEMD_NETWORKD_DHCP_IFACE 3 | [Network] 4 | DHCP=ipv4 5 | -------------------------------------------------------------------------------- /packages/systemd/network.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Network Connectivity 3 | Wants=network.target 4 | Before=network.target 5 | 6 | [Service] 7 | Type=oneshot 8 | RemainAfterExit=yes 9 | 10 | # lo is brought up earlier, which will cause the upcoming "ifup -a" to fail 11 | # with exit code 1, due to an "ip: RTNETLINK answers: File exists" error during 12 | # its "ip addr add ..." command, subsequently causing this unit to fail even 13 | # though it is a benign error. Flushing the lo address with the command below 14 | # before ifup prevents this failure. 15 | ExecStart=/sbin/ip addr flush dev lo 16 | 17 | ExecStart=/sbin/ifup -a 18 | ExecStop=/sbin/ifdown -a 19 | 20 | [Install] 21 | WantedBy=multi-user.target 22 | -------------------------------------------------------------------------------- /packages/systemd/systemd-234.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/systemd/systemd-234.tar.gz -------------------------------------------------------------------------------- /packages/tar/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | SOURCE := $(SOURCES_DIR)/tar-1.29.tar.xz 4 | SOURCE_URL := http://ftpmirror.gnu.org/gnu/tar/tar-1.29.tar.xz 5 | MD5 := a1802fec550baaeecff6c381629653ef 6 | 7 | system: 8 | @export CC=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc 9 | @export CXX=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-g++ 10 | @export AR=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ar 11 | @export AS=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-as 12 | @export LD=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ld 13 | @export RANLIB=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-ranlib 14 | @export READELF=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-readelf 15 | @export STRIP=$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-strip 16 | @$(STEP) "tar 1.29" 17 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 18 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 19 | @( cd $(BUILD_DIR)/tar-1.29 && \ 20 | ./configure \ 21 | --target=$(CONFIG_TARGET) \ 22 | --host=$(CONFIG_TARGET) \ 23 | --build=$(CONFIG_HOST) \ 24 | --prefix=/usr \ 25 | --bindir=/bin ) 26 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/tar-1.29 27 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(SYSROOT_DIR) install -C $(BUILD_DIR)/tar-1.29 28 | @$(call dependency_libs_patch) 29 | @make -j$(CONFIG_PARALLEL_JOBS) DESTDIR=$(ROOTFS_DIR) install -C $(BUILD_DIR)/tar-1.29 30 | @rm -rf $(BUILD_DIR)/tar-1.29 31 | -------------------------------------------------------------------------------- /packages/tint2/tint2-15.1-63c3690fa8efb1cd2dd23969f219f9b7a37a65b6.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/tint2/tint2-15.1-63c3690fa8efb1cd2dd23969f219f9b7a37a65b6.tar.bz2 -------------------------------------------------------------------------------- /packages/vala/dont-add-dirty-to-valac-version.patch: -------------------------------------------------------------------------------- 1 | valac: don't append -dirty to version 2 | 3 | Don't append -dirty to the valac version number if the Buildroot Git 4 | tree has uncommited changes. 5 | 6 | The patched script is meant for the valac developers, but it also 7 | activates if you build valac in a subdirectory of a Git tree (e.g. 8 | as is commonly done in Buildroot). 9 | 10 | The effect is that valac gets built as being version x.y.z-dirty, which 11 | breaks programs (such as Midori) that explicitly check for valac-x.y.z. 12 | 13 | Signed-off-by: Simon Dawson 14 | diff -Nur a/build-aux/git-version-gen b/build-aux/git-version-gen 15 | --- a/build-aux/git-version-gen 2010-08-15 12:49:03.000000000 +0100 16 | +++ b/build-aux/git-version-gen 2012-05-14 10:17:19.977204570 +0100 17 | @@ -135,7 +135,7 @@ 18 | *) # Append the suffix only if there isn't one already. 19 | case $v in 20 | *-dirty) ;; 21 | - *) v="$v-dirty" ;; 22 | + #*) v="$v-dirty" ;; 23 | esac ;; 24 | esac 25 | 26 | -------------------------------------------------------------------------------- /packages/vala/vala-wrapper: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | $0-@VALA_VERSION@ --vapidir=${SYSROOT_DIR}/usr/share/vala/vapi --girdir=${SYSROOT_DIR}/usr/share/gir-1.0 $@ 3 | -------------------------------------------------------------------------------- /packages/vde2/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := vde2 4 | SOURCE := $(SOURCES_DIR)/vde2-2.3.2.tar.bz2 5 | SOURCE_URL := https://downloads.sourceforge.net/project/vde/vde2/2.3.2/vde2-2.3.2.tar.bz2 6 | MD5 := 46fbc5f97f03dc517aa3b2c9d9ea6628 7 | 8 | toolchain: 9 | @$(STEP) "vde2 2.3.2" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR) 13 | @( cd $(BUILD_DIR)/vde2-2.3.2 && \ 14 | PKG_CONFIG="$(TOOLS_DIR)/bin/pkg-config" \ 15 | PKG_CONFIG_SYSROOT_DIR="/" \ 16 | PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 \ 17 | PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 \ 18 | PKG_CONFIG_LIBDIR="$(TOOLS_DIR)/lib/pkgconfig:$(TOOLS_DIR)/share/pkgconfig" \ 19 | CPPFLAGS="-I$(TOOLS_DIR)/include" \ 20 | CFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 21 | CXXFLAGS="-O2 -I$(TOOLS_DIR)/include" \ 22 | LDFLAGS="-L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib" \ 23 | CONFIG_SITE=/dev/null \ 24 | ./configure \ 25 | --prefix=$(TOOLS_DIR) \ 26 | --sysconfdir=$(TOOLS_DIR)/etc \ 27 | --localstatedir=$(TOOLS_DIR)/var \ 28 | --enable-shared \ 29 | --disable-static \ 30 | --disable-cryptcab \ 31 | --disable-experimental \ 32 | --disable-kernel-switch \ 33 | --disable-pcap \ 34 | --disable-profile \ 35 | --disable-python \ 36 | --enable-tuntap ) 37 | @make -j1 -C $(BUILD_DIR)/vde2-2.3.2 38 | @make -j1 install -C $(BUILD_DIR)/vde2-2.3.2 39 | @rm -rf $(BUILD_DIR)/vde2-2.3.2 40 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 41 | -------------------------------------------------------------------------------- /packages/vim/vimrc: -------------------------------------------------------------------------------- 1 | " Begin /etc/vimrc 2 | set nocompatible 3 | set backspace=2 4 | set mouse=r 5 | syntax on 6 | if (&term == "iterm") || (&term == "putty") 7 | set background=dark 8 | endif 9 | " End /etc/vimrc 10 | -------------------------------------------------------------------------------- /packages/weston/weston.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=Weston launcher 3 | RequiresMountsFor=/run 4 | After=getty@tty1.service 5 | 6 | [Service] 7 | Restart=always 8 | RestartSec=10 9 | PermissionsStartOnly=true 10 | EnvironmentFile=-/etc/default/weston 11 | ExecStartPre=/bin/mkdir -p /run/shm/wayland 12 | ExecStartPre=/bin/chmod 0700 /run/shm/wayland 13 | ExecStartPre=/usr/bin/gdk-pixbuf-query-loaders --update-cache 14 | ExecStartPre=/usr/bin/gtk-query-immodules-2.0 --update-cache 15 | ExecStartPre=/usr/bin/gtk-query-immodules-3.0 --update-cache 16 | ExecStart=/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas 17 | 18 | [Install] 19 | WantedBy=multi-user.target 20 | -------------------------------------------------------------------------------- /packages/xorg/driver/xf86-input-keyboard/xf86-input-keyboard-1.9.0.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/xorg/driver/xf86-input-keyboard/xf86-input-keyboard-1.9.0.tar.bz2 -------------------------------------------------------------------------------- /packages/xorg/driver/xf86-input-libinput/xf86-input-libinput-0.25.1.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/xorg/driver/xf86-input-libinput/xf86-input-libinput-0.25.1.tar.bz2 -------------------------------------------------------------------------------- /packages/xorg/driver/xf86-input-mouse/xf86-input-mouse-1.9.2.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/xorg/driver/xf86-input-mouse/xf86-input-mouse-1.9.2.tar.bz2 -------------------------------------------------------------------------------- /packages/xorg/driver/xf86-video-fbdev/xf86-video-fbdev-0.4.4.tar.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/xorg/driver/xf86-video-fbdev/xf86-video-fbdev-0.4.4.tar.bz2 -------------------------------------------------------------------------------- /packages/xorg/mcookie/.mcookie.c.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/xorg/mcookie/.mcookie.c.swp -------------------------------------------------------------------------------- /packages/xorg/mcookie/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := mcookie 4 | SOURCE := $(PACKAGES_DIR)/xorg/mcookie/mcookie.c 5 | 6 | system: 7 | @$(STEP) "mcookie" 8 | @$(call system_dependencies, $(TARGET_DEPENDENCIES)) 9 | @gcc -O2 -I$(TOOLS_DIR)/include $(SOURCE) -o $(TOOLS_DIR)/bin/makedevs -L$(TOOLS_DIR)/lib -L$(TOOLS_DIR)/lib -Wl,-rpath,$(TOOLS_DIR)/lib 10 | @$(TOOLS_DIR)/bin/$(CONFIG_TARGET)-gcc -Wall -Os -s $(SOURCE) -o $(ROOTFS_DIR)/usr/bin/mcookie 11 | @chmod -v 0755 $(ROOTFS_DIR)/usr/bin/mcookie 12 | @echo $(NAME) >> $(SYSTEM_DEPENDENCIES) 13 | -------------------------------------------------------------------------------- /packages/xorg/mcookie/mcookie.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/packages/xorg/mcookie/mcookie.c -------------------------------------------------------------------------------- /packages/xorg/xorg-proto-lib-aarch64-system-support.patch: -------------------------------------------------------------------------------- 1 | Signed-off-by: KyuHyuk Lee 2 | 3 | --- config.sub.orig 2017-10-06 18:43:42.762217161 +0900 4 | +++ config.sub 2017-10-06 18:44:09.423002440 +0900 5 | @@ -247,6 +247,7 @@ 6 | # Some are omitted here because they have special meanings below. 7 | 1750a | 580 \ 8 | | a29k \ 9 | + | aarch64 | aarch64_be \ 10 | | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ 11 | | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ 12 | | am33_2.0 \ 13 | @@ -339,6 +340,7 @@ 14 | # Recognize the basic CPU types with company name. 15 | 580-* \ 16 | | a29k-* \ 17 | + | aarch64-* | aarch64_be-* \ 18 | | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ 19 | | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ 20 | | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ 21 | 22 | --- config.guess.orig 2017-10-06 18:45:36.494301185 +0900 23 | +++ config.guess 2017-10-06 18:45:38.472285255 +0900 24 | @@ -858,6 +858,13 @@ 25 | i*86:Minix:*:*) 26 | echo ${UNAME_MACHINE}-pc-minix 27 | exit ;; 28 | + aarch64:Linux:*:*) 29 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 30 | + exit ;; 31 | + aarch64_be:Linux:*:*) 32 | + UNAME_MACHINE=aarch64_be 33 | + echo ${UNAME_MACHINE}-unknown-linux-${LIBC} 34 | + exit ;; 35 | alpha:Linux:*:*) 36 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in 37 | EV5) UNAME_MACHINE=alphaev5 ;; 38 | -------------------------------------------------------------------------------- /packages/zic/Makefile: -------------------------------------------------------------------------------- 1 | include $(SUPPORT_DIR)/functions.mk 2 | 3 | NAME := zic 4 | SOURCE := $(SOURCES_DIR)/tzcode2017b.tar.gz 5 | SOURCE_URL := https://www.iana.org/time-zones/repository/releases/tzcode2017b.tar.gz 6 | MD5 := afaf15deb13759e8b543d86350385b16 7 | 8 | toolchain: 9 | @$(STEP) "zic 2017b" 10 | @$(call check_source, $(SOURCE), $(MD5), $(SOURCE_URL)) 11 | @$(call toolchain_dependencies, $(HOST_DEPENDENCIES)) 12 | @mkdir -p $(BUILD_DIR)/tzcode2017b 13 | @$(EXTRACT) $(SOURCE) $(BUILD_DIR)/tzcode2017b 14 | @make -j$(CONFIG_PARALLEL_JOBS) -C $(BUILD_DIR)/tzcode2017b zic 15 | @install -Dv -m 755 $(BUILD_DIR)/tzcode2017b/zic $(TOOLS_DIR)/sbin/zic 16 | @install -Dv -m 644 $(BUILD_DIR)/tzcode2017b/tzfile.h $(TOOLS_DIR)/include/tzfile.h 17 | @rm -rf $(BUILD_DIR)/tzcode2017b 18 | @echo $(NAME) >> $(TOOLCHAIN_DEPENDENCIES) 19 | -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeeKyuHyuk/clfs-arm/4c53a241efa469901824ffe2532a14d69daa3403/screenshot.png -------------------------------------------------------------------------------- /scripts/error.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo -e "\e[1m\e[31m$1\e[0m" 3 | -------------------------------------------------------------------------------- /scripts/extract.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | case $1 in 3 | *.tgz) tar -zxf $1 -C $2 ;; 4 | *.tar.gz) tar -zxf $1 -C $2 ;; 5 | *.tar.bz2) tar -jxf $1 -C $2 ;; 6 | *.tar.xz) tar -Jxf $1 -C $2 ;; 7 | esac 8 | -------------------------------------------------------------------------------- /scripts/help.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo 3 | echo -e ' \e[7mBuild\e[0m' 4 | echo -e ' \e[1mall\e[0m - Build CLFS-ARM with toolchain' 5 | echo -e ' \e[1mtoolchain\e[0m - Build toolchain' 6 | echo -e ' \e[1msystem\e[0m - Build CLFS-ARM root file system' 7 | echo -e ' \e[1mkernel\e[0m - Build kernel' 8 | echo -e ' \e[1mimage\e[0m - Generate root file system image' 9 | echo 10 | echo -e ' \e[7mCleaning\e[0m' 11 | echo -e ' \e[1mclean\e[0m - Delete all files created by build' 12 | echo 13 | echo -e ' \e[7mMiscellaneous\e[0m' 14 | echo -e ' \e[1m_defconfig\e[0m - Load configuration file' 15 | echo -e ' \e[1mlist-defconfigs\e[0m - Show configuration file list' 16 | echo -e ' \e[1mdownload\e[0m - Download essential source' 17 | echo -e ' \e[1mrun\e[0m - Emulate CLFS-ARM using QEMU' 18 | echo -e ' \e[1mflash\e[0m - Flash an SD Card' 19 | echo -e ' \e[1msetting\e[0m - Show build settings' 20 | echo 21 | -------------------------------------------------------------------------------- /scripts/step.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo -e "\e[7m\e[1m>>> $1\e[0m" 3 | -------------------------------------------------------------------------------- /scripts/success.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo -e "\e[1m\e[32m$1\e[0m" 3 | -------------------------------------------------------------------------------- /settings.mk: -------------------------------------------------------------------------------- 1 | export SHELL = bash 2 | export CONFIG_HOSTNAME := clfs-arm 3 | export CONFIG_ROOT_PASSWD := clfs 4 | export CONFIG_LOCAL_TIMEZONE := Asia/Seoul 5 | export CONFIG_PKG_VERSION := CLFS ARM 2017.10 6 | export CONFIG_BUG_URL := https://github.com/LeeKyuHyuk/clfs-arm/issues 7 | export CONFIG_PARALLEL_JOBS := $(shell echo `cat /proc/cpuinfo | grep cores | wc -l `) 8 | export WORKSPACE_DIR := $(shell pwd) 9 | export CONFIG_DIR := $(WORKSPACE_DIR)/config 10 | export DEVICE_DIR := $(WORKSPACE_DIR)/device 11 | export PACKAGES_DIR := $(WORKSPACE_DIR)/packages 12 | export SOURCES_DIR := $(WORKSPACE_DIR)/sources 13 | export SCRIPTS_DIR := $(WORKSPACE_DIR)/scripts 14 | export SUPPORT_DIR := $(WORKSPACE_DIR)/support 15 | export OUTPUT_DIR := $(WORKSPACE_DIR)/out 16 | export TOOLCHAIN_DEPENDENCIES := $(WORKSPACE_DIR)/.toolchain.packages 17 | export SYSTEM_DEPENDENCIES := $(WORKSPACE_DIR)/.system.packages 18 | export BUILD_DIR := $(OUTPUT_DIR)/build 19 | export TOOLS_DIR := $(OUTPUT_DIR)/tools 20 | export ROOTFS_DIR := $(OUTPUT_DIR)/rootfs 21 | export IMAGES_DIR := $(OUTPUT_DIR)/images 22 | export KERNEL_DIR := $(OUTPUT_DIR)/kernel 23 | export PATH := "$(TOOLS_DIR)/bin:$(TOOLS_DIR)/sbin:$(TOOLS_DIR)/usr/bin:$(TOOLS_DIR)/usr/sbin:/sbin:/usr/sbin:$(PATH)" 24 | export EXTRACT := $(SCRIPTS_DIR)/extract.sh 25 | export STEP := $(SCRIPTS_DIR)/step.sh 26 | export SUCCESS := $(SCRIPTS_DIR)/success.sh 27 | export ERROR := $(SCRIPTS_DIR)/error.sh 28 | export PERL5LIB=$(TOOLS_DIR)/lib/perl 29 | unexport PERL_MM_OPT 30 | -------------------------------------------------------------------------------- /support/cmake/Platform/CLFS-ARM.cmake: -------------------------------------------------------------------------------- 1 | set(CMAKE_SYSTEM_NAME Linux) 2 | include(Platform/Linux) 3 | 4 | set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS FALSE) 5 | set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE) 6 | -------------------------------------------------------------------------------- /support/device_table.txt: -------------------------------------------------------------------------------- 1 | # See packages/makedevs/README for details 2 | # 3 | # This device table is used to assign proper ownership and permissions 4 | # on various files. It doesn't create any device file, as it is used 5 | # in both static device configurations (where /dev/ is static) and in 6 | # dynamic configurations (where devtmpfs, mdev or udev are used). 7 | # 8 | # 9 | /dev d 755 0 0 - - - - - 10 | /dev/null c 666 0 0 1 3 0 0 - 11 | /dev/console c 666 0 0 5 1 - - - 12 | /tmp d 1777 0 0 - - - - - 13 | /etc d 755 0 0 - - - - - 14 | /root d 700 0 0 - - - - - 15 | /etc/shadow f 600 0 0 - - - - - 16 | /etc/passwd f 644 0 0 - - - - - 17 | /var/log/lastlog f 664 13 13 - - - - - 18 | /var/log/btmp f 600 0 0 - - - - - 19 | -------------------------------------------------------------------------------- /support/functions.mk: -------------------------------------------------------------------------------- 1 | define check_source 2 | @if ! [ -f $(1) ] ; then \ 3 | wget $(3) -c -P $(SOURCES_DIR) 2>&1 >/dev/null; true ; \ 4 | else \ 5 | if ! [ `md5sum $(1) | cut -d ' ' -f 1` = $(2) ] ; then \ 6 | wget $(3) -c -P $(SOURCES_DIR) 2>&1 >/dev/null; true ; \ 7 | fi; \ 8 | fi; 9 | endef 10 | 11 | define dependency_libs_patch 12 | @for lib in $(SYSROOT_DIR)/usr/lib/*.la ; do \ 13 | while ! [ `grep " /usr/lib/\(.*\).la" $${lib}` -n ] ; do \ 14 | sed -i "s@ /usr/lib/\(.*\).la@ $(SYSROOT_DIR)/usr/lib/\1.la@g" $${lib} ; \ 15 | done ; \ 16 | while ! [ `grep " /lib/\(.*\).la" $${lib}` -n ] ; do \ 17 | sed -i "s@ /lib/\(.*\).la@ $(SYSROOT_DIR)/lib/\1.la@g" $${lib} ; \ 18 | done ; \ 19 | done; 2>&1 >/dev/null 20 | endef 21 | 22 | define toolchain_dependencies 23 | @for dependencie in $(1) ; do \ 24 | if ! grep -q $${dependencie} $(TOOLCHAIN_DEPENDENCIES) ; then \ 25 | $(ERROR) "[!! ERROR !!] Dependency package '$${dependencie}' is not in step 'toolchain'." ; \ 26 | exit 1 ; \ 27 | fi ; \ 28 | done 29 | endef 30 | 31 | define system_dependencies 32 | @for dependencie in $(1) ; do \ 33 | if ! grep -q $${dependencie} $(SYSTEM_DEPENDENCIES) ; then \ 34 | $(ERROR) "[!! ERROR !!] Dependency package '$${dependencie}' is not in step 'system'." ; \ 35 | exit 1 ; \ 36 | fi ; \ 37 | done 38 | endef 39 | --------------------------------------------------------------------------------