source: debwrt/trunk/openwrt/patches/001_disable_all_openwrt_packages @ 220

Last change on this file since 220 was 220, checked in by stappers, 8 years ago

Wishfull update of openwrt/patches/debwrt_disables_packages.sed

File size: 1.2 KB
Line 
1--- include/toplevel.mk.org     2010-01-02 00:28:44.000000000 +0100
2+++ include/toplevel.mk 2010-01-02 00:14:07.000000000 +0100
3@@ -49,6 +49,12 @@
4                f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \
5                [ "$$t" -nt "$$f" ] || ./scripts/metadata.pl $${type}_config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \
6        done
7+       # DebWrt: we don't need to build any packages by default, so we disable them
8+       #         all. This allows us to have fine control over which packages we
9+       #         want to build.
10+       sed --file=./scripts/debwrt_disables_packages.sed \
11+               tmp/.config-package.in > tmp/.config-package.in.new
12+       mv tmp/.config-package.in.new tmp/.config-package.in
13        ./scripts/metadata.pl package_mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; }
14        touch $(TOPDIR)/tmp/.build
15 
16--- /dev/null
17+++ ./scripts/debwrt_disables_packages.sed     generated
18@@ -0,0 +1,10 @@
19+#
20+s/default [ynm]/default n/g ;
21+#
22+## deleting lines with 'select PACKAGE_foo' didn't yet prevent building of foo
23+## /select PACKAGE_iw/d ;
24+## /select PACKAGE_crda/d ;
25+## /select PACKAGE_iptables/d ;
26+## /select PACKAGE_libnl/d ;
27+## /select PACKAGE_libnl-tiny/d ;
28+#
Note: See TracBrowser for help on using the repository browser.