ea45d2d4ed
We used to put a "compiler-gcc6.h" file inside every vendor kernel's
aport. This is redundant and only works with GCC6. With this patch,
a common "compiler-gcc.h" file will be used, that works independently
of the GCC version.
The file is from Decatf's android_kernel_samsung_p4 repository, where
it was taken from upstream Linux, but adjusted to work with older
vendor kernels (different #ifndef check at the top etc).
bd0772df21/include/linux/compiler-gcc.h
28 lines
1.2 KiB
Text
28 lines
1.2 KiB
Text
pkgname="devicepkg-dev"
|
|
pkgver=0.4
|
|
pkgrel=0
|
|
pkgdesc="Provides default device package functions"
|
|
url="https://postmarketos.org"
|
|
arch="all"
|
|
license="MIT"
|
|
source="
|
|
compiler-gcc.h
|
|
devicepkg_build.sh
|
|
devicepkg_package.sh
|
|
downstreamkernel_prepare.sh
|
|
"
|
|
|
|
package() {
|
|
install -Dm755 "$srcdir/devicepkg_build.sh" \
|
|
"$pkgdir/usr/bin/devicepkg_build"
|
|
install -Dm755 "$srcdir/devicepkg_package.sh" \
|
|
"$pkgdir/usr/bin/devicepkg_package"
|
|
install -Dm755 "$srcdir/downstreamkernel_prepare.sh" \
|
|
"$pkgdir/usr/bin/downstreamkernel_prepare"
|
|
install -Dm644 "$srcdir/compiler-gcc.h" \
|
|
"$pkgdir/usr/share/devicepkg-dev/compiler-gcc.h"
|
|
}
|
|
sha512sums="d69930dd790b00fb39760a37d95a10899f0d167e10e2804feb05d9ce04f94185dc32d36edc90214aba2ea2aa09bf18f7dab93f1d2eff23f67beb2cc83be30e7c compiler-gcc.h
|
|
638d50e6388eabf0da6bf0cff2fe9719ad8a808946f0077228db57fa13a26d9eeb39c1f2689c9a6f93ff9b3bcfdcfb7c358b180bba90e5bba8b9a9e78d25ed18 devicepkg_build.sh
|
|
c732792596f56860f6ab9ddd53b9a7a80224400dd20097b20cebe17a6e7330e9178783f09db16132a28a555f83e29ef3643bfe069638b62998912a9a7ffefdc0 devicepkg_package.sh
|
|
18de8ed6aa8aefea7c40b817023c276c3e63024086cde243c4c4fbe36e42fe51440c21dcded6b4f342054f59046c198d9c9775059b32f8a7cf822793d855ef4d downstreamkernel_prepare.sh"
|