aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/wireless.mk
Commit message (Expand)AuthorAgeFilesLines
* kernel: move kmod-owl-loader to the right .mk fileFelix Fietkau2016-10-041-0/+21
* firmware: extract prism54-firmware into own packageHauke Mehrtens2016-06-301-16/+1
* rtl8192su-firmware: move firmware to own packageHauke Mehrtens2016-06-251-17/+1
* wireless: remove rtl8188eu (staging)John Crispin2016-03-201-18/+0
* wireless: add vendor dirsJohn Crispin2016-03-201-1/+3
* wireless: remove cisco airoJohn Crispin2016-03-201-16/+0
* Revert "kernel: add rtl8723au driver (staging)"Felix Fietkau2015-06-151-21/+0
* kernel: drop obsolete linux 3.10 related dependencies/checksFelix Fietkau2015-04-101-2/+2
* modules: remove zd1201 packageJohn Crispin2015-04-091-54/+0
* kernel: add rtl8723au driver (staging)John Crispin2015-04-091-1/+21
* kernel: remove obsolete kernel version dependenciesFelix Fietkau2015-03-191-1/+1
* kernel: add missing symbol to realtek wifiJohn Crispin2015-02-091-0/+1
* modules: Add support for Realtek r8712 and RTL8192SU.John Crispin2015-01-281-0/+32
* build: drop obsolete kernel version dependenciesFelix Fietkau2015-01-241-1/+1
* packages: kernel: negate kernel version checksHauke Mehrtens2014-10-311-1/+1
* packages: enable AP mode on r8188euZoltan Herpai2014-09-211-1/+1
* modules: allow building rtl8188eu on 3.14Zoltan Herpai2014-09-171-1/+1
* kernel: net-rtl8188eu depends on kmod-usbcoreHauke Mehrtens2014-05-021-1/+1
* kernel: add staging r8188eu module (3.13)Zoltan Herpai2014-04-301-0/+20
* zd1201: fix url to zd1201 firmwareHauke Mehrtens2013-10-121-1/+1
* kernel: make most modules use AutoProbeJohn Crispin2013-09-171-3/+3
* kernel: be consistent with formatting styleLuka Perkov2013-07-261-1/+0
* kernel: net-zd1201 depends on usb-coreFelix Fietkau2013-07-181-1/+1
* packages: clean up the package folderJohn Crispin2013-06-211-0/+109
so.* ld-linux.so.* ld-*.so ld-musl-*.so.*, \ $(STAGING_DIR_ROOT)/lib/$(name) \ )))) \ --target $(REAL_GNU_TARGET_NAME) \ `cat $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-libs` 2>&1 $(RSTRIP) $(TMP_DIR)/mklibs-out for lib in `ls $(TMP_DIR)/mklibs-out/*.so.* 2>/dev/null`; do \ LIB="$${lib##*/}"; \ DEST="`ls "$(1)/lib/$$LIB" "$(1)/usr/lib/$$LIB" 2>/dev/null`"; \ [ -n "$$DEST" ] || continue; \ echo "Copying stripped library $$lib to $$DEST"; \ cp "$$lib" "$$DEST" || exit 1; \ done endef endif # where to build (and put) .ipk packages opkg = \ IPKG_NO_SCRIPT=1 \ IPKG_INSTROOT=$(1) \ TMPDIR=$(1)/tmp \ $(STAGING_DIR_HOST)/bin/opkg \ --offline-root $(1) \ --force-postinstall \ --add-dest root:/ \ --add-arch all:100 \ --add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200 TARGET_DIR_ORIG := $(TARGET_ROOTFS_DIR)/root.orig-$(BOARD) ifdef CONFIG_CLEAN_IPKG define clean_ipkg -find $(1)/usr/lib/opkg/info -type f -and -not -name '*.control' | $(XARGS) rm -rf -sed -i -ne '/^Require-User: /p' $(1)/usr/lib/opkg/info/*.control awk ' \ BEGIN { conffiles = 0; print "Conffiles:" } \ /^Conffiles:/ { conffiles = 1; next } \ !/^ / { conffiles = 0; next } \ conffiles == 1 { print } \ ' $(1)/usr/lib/opkg/status >$(1)/usr/lib/opkg/status.new mv $(1)/usr/lib/opkg/status.new $(1)/usr/lib/opkg/status -find $(1)/usr/lib/opkg -empty | $(XARGS) rm -rf endef endif define prepare_rootfs $(if $(2),@if [ -d '$(2)' ]; then \ $(call file_copy,$(2)/.,$(1)); \ fi) @mkdir -p $(1)/etc/rc.d @mkdir -p $(1)/var/lock @( \ cd $(1); \ for script in ./usr/lib/opkg/info/*.postinst; do \ IPKG_INSTROOT=$(1) $$(which bash) $$script; \ ret=$$?; \ if [ $$ret -ne 0 ]; then \ echo "postinst script $$script has failed with exit code $$ret" >&2; \ exit 1; \ fi; \ done; \ for script in ./etc/init.d/*; do \ grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \ IPKG_INSTROOT=$(1) $$(which bash) ./etc/rc.common $$script enable; \ done || true \ ) $(if $(SOURCE_DATE_EPOCH),sed -i "s/Installed-Time: .*/Installed-Time: $(SOURCE_DATE_EPOCH)/" $(1)/usr/lib/opkg/status) @-find $(1) -name CVS | $(XARGS) rm -rf @-find $(1) -name .svn | $(XARGS) rm -rf @-find $(1) -name .git | $(XARGS) rm -rf @-find $(1) -name '.#*' | $(XARGS) rm -f rm -rf $(1)/tmp/* rm -f $(1)/usr/lib/opkg/lists/* rm -f $(1)/usr/lib/opkg/info/*.postinst* rm -f $(1)/var/lock/*.lock rm -rf $(1)/boot $(call clean_ipkg,$(1)) $(call mklibs,$(1)) endef